S-Jinn
Serial Communications Jinni
Overview
Command Reference
Sample Scripts
Sjinn Project
Page
Sample Devices
RadioShack CAT.II DVM (CAT. NO.
22-805)
Gage Connections Inc. GageMux
(PartNo: 100-20P)
Liebert Environmental Communications
Adapter (ECA2)
Sample Commands
Verbose
Display Readings in Hex
Display Readings in ASCII over
Hex
Sending Multiple Commands in a
Single String
Specifying a Serial Device
Sending Hex Values
Specifying Wait Time
Programmable Wait Time
|
Sjinn Sample Usage
Setting Pause Times (In-Line Delays)
$ rs232 -d /dev/ttyS1 -s"\h52
30 31 OD\h\p\h52 30 31 OD" -r8\
> --wait .65 --pause .45 --verbose
/dev/ttyS1 9600 8n1 +dtr -rts -cts -dsr
send [hex](52)(30)(31)(d)[ascii][pause]
wait 0.450000 seconds
[hex](52)(30)(31)(d)
wait 0.650000 seconds
read 8 characters
0.2910
$
|
|