__header__
Description
The serial tools allow AM to interact with serial devices connected to the computer.
Settings
Port
Baudrate
DataSize
Parity
StopBits
DTR/SDSR
Specifies the DTR flow control.
- DTR_CONTROL_ENABLE turns on the DTR line during the connection.
- DTR_CONTROL_HANDSHAKE turns on DTR handshaking.
- DTR_CONTROL_DISABLE turns off the DTR line.
RTS/CTS
Turns the RTS flow control on and off.
- RTS_CONTROL_ENABLE turns on the RTS line during the connection.
- RTS_CONTROL_HANDSHAKE turns on RTS handshaking.
- RTS_CONTROL_DISABLE turns off the RTS line.
- RTS_CONTROL_TOGGLE Specifies that the RTS line is high if bytes are available for transmission.
After all buffered bytes have been sent, the RTS line is low.
XON/XOFF
Specifies if XON/XOFF flow control is used during transmission.
If this member is TRUE, transmission stops when the XoffChar character is received and starts again when the XonChar character is received.
fInX Specifies if XON/XOFF flow control is used during reception.
If this member is TRUE, the XoffChar character is sent when the input buffer comes within XoffLim bytes of being full, and the XonChar character is sent when the input buffer comes within XonLim bytes of being empty.
Monitor
Set up a thread and fire events when there is data on the port
Wait Time Between Characters
after receiving some character the wait time in msec to see if there are any more
character in the buffer. Zero does not wait.
NOTE Internally this time only only applies when reading strings and
not reading BYTES
Internally the max timeout is 1 sec.
State
Reflects whether there is a connection
Initialize/Shutdown
Port Wiring
__footer__