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 />

PORTGETCTS(PORT)<br />

PORTGETCTS(PORT)<br />

ARGUMENT TYPE DESCRIPTION<br />

port int The raw port to get the CTS state from<br />

DESCRIPTION<br />

Returns the CTS.state of the port indicated by port. The port must be configured to use a raw<br />

driver and be one of the serial ports.<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 />

int<br />

EXAMPLE<br />

CtsState = PortgetCTS(2)<br />

In this example, the function returns the CTS state of the RS232 communication port in the<br />

variable CtsState.<br />

REVISION 6 PAGE 385

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

Saved successfully!

Ooh no, something went wrong!