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)

Sample Commands

Verbose
Display Readings in Hex
Display Readings in ASCII over Hex
Specifying a Serial Device
Sending Hex Values
Specifying Wait Time
Specifying a Unique Pause Time
Programmable Wait Time

SourceForge Logo

Sjinn Sample Usage


Liebert Environmental Communications Adapter (ECA2)



$ rs232 -s"STA\r" -r200 -w3.7
COOLING GLYCOOL OFF

HUM/DEHUM OFF

TEMP READING 72 F

HUM READING 59

% HEAT/COOL 000

STAGES HEAT/COOL 0

DEGREES(F/C) F

UNIT IS ON

$


Explanation

Sends "STA" followed by a carriage return, waits 3.7mSec and reads 200 bytes.

The command returns the ASCII results to STDOUT. In this case the results along with the results of RTD's & humidity sensors were piped into awk for parsing and piped through gnuplot to automatically generate and update HTML graphs which were viewable from the Intranet. This was done to help determine the effects of adjustments on the Liebert unit along with the effects of repositioning the humidity & temperature sensors in the metrology & and meterial testing labs and making modifications to the HVAC system to get proper airflow to try to keep temp. & humidity uniform throughout the labs.