LPL Reference
The Reference
24-26 Using the LI-6400
24
baud dataBits stopBits parity [handShake]
When hardware handshaking, the LPL device will not transmit unless it sees DSR and
CTS high. When xon/xoff handshaking, the receipt of an xoff character (0x13) will
halt data transmission, and the receipt of an xon (0x11) character will resume it.
Related Keywords:
COMMSTATUS
COMMLC Comm port modem line control
Initial: Num command (bit: 1 = RTS; 2 = DTR)
Final: -
COMMLS Comm port modem line status
Initial: -
Final: Long
statusByte (bit:0:CTS, 1:RTS, 2:DTR, 4:DSR)
COMMSTATUS Returns the Comm status configuration string
Initial: [Text dest (default is LCD)]
Final: -
Related Keywords:COMMCONFIG
COMMUART Returns the UART status for the Comm port
Initial: -
Final: Long
statusByte (bit: 0=break received, 1=framing error, 2=parity error)
Example: 6 means framing error and parity error.
COMPARE
Compare two arrays
Initial: Array arr1, Array arr2
Final: LONG result (1=same, 0=different)
Arrays are the same if 1) they are the same type, 2) they have the same ready value, 3)
their contents (elements 1ÉREADY) are the same.
Table 24-14. Comm port configuration parameters
baud
Generally 115200, 57600, 38400, 28800, 19200,
9600, 4800, 3600, 2400, 1200, 300, but may be
platform specific.
dataBits
7 or 8
stopBits
1 or 2
parity
n (none), e (even), o (odd), 1 (1Õs) or 0 (0Õs).
handShake
(Optional) H (hardware handshake), X (xon/xoff),
HX or XH (both).