« Back to Product

Documentation

SPRT_SetBreak

Require: IP-Symcon >= 2.6

 boolean SPRT_SetBreak (int $InstanceID, boolean $OnOff) 

Parameters

InstanceID

ID of the serial port to be updated

OnOff

Switches the break On True or Off False

Returns

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

Description

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

Example

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