« Back to Product

Documentation

SPRT_SetRTS

Require: IP-Symcon >= 2.6

 boolean SPRT_SetRTS (int $InstanceID, boolean $OnOff) 

Parameters

InstanceID

ID of the serial port to be updated

OnOff

Switches the RTS On True or Off False

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Switches the RTS to OnOff (True = On; False = Off) on the serial port with the ID InstanceID.

Example

// switches the RTS of the serial port instance with the ID 12345 to "On"
SPRT_SetRTS(12345, true);
Any questions?