« Back to Product

Documentation

SPRT_SetDTR

Require: IP-Symcon >= 2.6

 boolean SPRT_SetDTR (int $InstanceID, boolean $OnOff) 

Parameters

InstanceID

ID of the serial port to be updated

OnOff

Switches the DTR On True or Off False

Returns

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

Description

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

Example

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