05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FUNCTION REFERENCE<br />

PORTSETRTS(PORT, STATE)<br />

PORTSETRTS(PORT, STATE)<br />

ARGUMENT TYPE DESCRIPTION<br />

port int The raw port to control<br />

state int The state of the RTS, true (1) or false (0)<br />

DESCRIPTION<br />

Sets the RTS.of the port indicated by port with the setting in state. The port must be<br />

configured to use a raw driver and be on of the serial ports. The state argument can take<br />

values 0 or 1 only.<br />

Note: The communication port number can be identified in Crimson’s status bar when the<br />

port is selected.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

This function does not return a value.<br />

EXAMPLE<br />

PortSetRTS(2, 1)<br />

In this example, the function sets the RTS of the RS232 communication port to true.<br />

REVISION 6 PAGE 389

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!