S-Jinn

Serial Communications Jinni

Features
Commands
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 a Unique Pause Time
Programmable Wait Time

SourceForge Logo

Sjinn Sample Usage


Specifying Wait Time



$ rs232 -d /dev/ttyS1 -s"\h52 30 31 OD\h\p\h52 30 31 OD" -r8 --wait .65 --verbose

/dev/ttyS1 9600 8n1 +dtr -rts -cts -dsr
send [hex](52)(30)(31)(d)[ascii][pause]
wait 0.650000 seconds
[hex](52)(30)(31)(d)
wait 0.650000 seconds
read 8 characters
0.2910
$


Notes

Note: pause characters are set to wait value unless specified