SERIALIO - Primitive to send/receive commands to serial port device

<A:PORTNAME> - serial device name (eg "/dev/ttyS0") <A:STR_TX> - string to send (usually requires quotes "") <R:RES_RX> - name of result to hold received string from serial device

SWITCHES: /DEBUG - debug info level /CRLF - CR/LF mode (1=CR_Only,2=LF_Only,3=CR/LF,4=LF/CR) /IODELAY= - specify delay (uSec) between successive read/writes to port

WIDGETS: NONE

EXAMPLES: serialio/crlf=3 "/dev/ttyS0" "FRQ?" a:mystatus

NOTES: make certain the device read/write permissions allow user I/O:

i.e. --- "chmod ogu+rw /dev/ttyS0"

before using this primitive

REVISION PROGRAMMER DESCRIPTION -------- ---------- ------------------------------------- 20071101 rdh baseline

Go to Top