setup options | type | mini sample | |
Comport | num | c=4 | HicEst allows serial ports 0..65535 (default 1). Not all systems allow this range. |
Bauds | num | b=9600 | baudrate, default is 9600
possible baudrates: 110, 300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 |
Parity | txt | p="odd" | "None", "Odd", "Even", "Mark", "Space", default is 'E' |
DataBits | num | db=8 | 5-8, default is 8 |
StopBits | num | sb=1.5 | 1, 1.5 or 2. Default is 2
|
output options | |||
Send | txt | s=text | send up to LEN(text) bytes |
CheckSum | --- | cs | send current 1 byte checksum |
ExitOnInput | TXT | eoi=intrpt | stop sending if any byte is received
|
input options | |||
Receive | TXT | r=text | receive up to LEN(text) bytes |
IgnoreInput | TXT | ii=last | empty input buffer except last byte |
Timeout | num | t=100 | maximum time in msec to wait for next input byte |
Waitbyte | txt | w="x" | ignore all input up to "x", an error is generated on Timeout |
WaitBIts | num | wbi=128 | ignore input until the specific bit pattern is found, an error is generated on Timeout |
CheckSum | --- | cs | compare current checksum (excluding the last byte) with the last byte
|
control options | |||
ChecksumBits | num | cb=7 | |
ChecksumVal | NUM | cv=sum | set argument to current checksum |
DouBLe | txt | dbl=DLE | doubles DLE for next send or receive |
Echo | num | e=hdle | for debugging echo all COM port traffic to
|
Lastchar | txt | l="x" | send/receive up to and including the occurence of first "x" |
LastcharX | txt | lx=$CR | send/receive up to but excluding the first $CR character |
OnErroritem | num | oei=3 | on error continue with item 3. If this item does not exist return with returncode = itemnr (useful to debug) |
ERror | LBL | er=99 | on error jump to error label 99 |