Omega Vehicle Security 1400 CD Player User Manual


 
API Commands Appendix A
A-48 ChartScan User’s Manual
The following table summarizes terminator usage with all possible commands in ASCII mode (no terminators are
used in binary mode), where X indicates that the terminator is asserted at the end of the response, O indicates
that the terminator is asserted within the response to separate channel and scan readings, and a blank cell
indicates that the terminator does not affect the command:
Command Argument
resp hll scan block sep
R1X
XO
R2X
OXO
R3X
OXO
R#chanX
X
R#first-lastX
OX
U4X
OX
U5X
OX
U13X
OX
All others X
EXAMPLE
PRINT#1,"OUTPUT07;C1-4,1X"
‘ Configure four channels for T/C Type J
PRINT#1,"OUTPUT07;F0,0X"
‘ Configure engineering units, degrees C
PRINT#1,"OUTPUT07;Q7,7,0,0,0X"
‘ Set the
resp
and
hll
terminators to
LF/EOI
, and
the
scan
and
block
terminators to None
PRINT#1,"OUTPUT07;Q?X"
‘ Get the current query terminators
PRINT#1,"ENTER07"
‘ Screen shows
Q07,07,00,00,00
PRINT#1,"OUTPUT07;U13X"
‘ Request the last readings
PRINT#1,"ENTER07"
‘ Get reading for channel 1
INPUT#1 A$
‘ Screen shows
+0104.20
PRINT#1,"ENTER07"
‘ Get reading for channel 2
INPUT#1 A$
‘ Screen shows
+0010.40
PRINT#1,"ENTER07"
‘ Get reading for channel 3
INPUT#1 A$
‘ Screen shows
-0064.10
PRINT#1,"ENTER07"
‘ Get reading for channel 4
INPUT#1 A$
‘ Screen shows
+0006.30
PRINT#1,"OUTPUT07;Q7,0,0,0,0X"
‘ Set the
resp
terminator to
LF/EOI
and the
hll
,
scan
and
block
terminators to None
PRINT#1,"OUTPUT07;U13X"
‘ Request the last readings
PRINT#1,"ENTER07"
‘ Get readings for channels 1 - 4. Screen shows...
+0104.20
+0010.40
-0064.10
+0006.30