API Commands
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:
EXAMPLE
PRINT#1,"OUTPUT07;C1-4,1X"
PRINT#1,"OUTPUT07;F0,0X"
PRINT#1,"OUTPUT07;Q7,7,0,0,0X"
PRINT#1,"OUTPUT07;Q?X"
PRINT#1,"ENTER07"
PRINT#1,"OUTPUT07;U13X"
PRINT#1,"ENTER07"
INPUT#1 A$
PRINT#1,"ENTER07"
INPUT#1 A$
PRINT#1,"ENTER07"
INPUT#1 A$
PRINT#1,"ENTER07"
INPUT#1 A$
PRINT#1,"OUTPUT07;Q7,0,0,0,0X"
PRINT#1,"OUTPUT07;U13X"
PRINT#1,"ENTER07"
A-48
Command
resp
R1X
R2X
R3X
R#chanX
R#first-lastX
U4X
U5X
U13X
All others
X
Argument
hll
scan
block
X
O
X
O
X
X
O
X
O
X
O
X
O
X
' Configure four channels for T/C Type J
' Configure engineering units, degrees C
' Set the
and
resp
hll
the
and
scan
block
' Get the current query terminators
' Screen shows
Q07,07,00,00,00
' Request the last readings
' Get reading for channel 1
' Screen shows
+0104.20
' Get reading for channel 2
' Screen shows
+0010.40
' Get reading for channel 3
' Screen shows
-0064.10
' Get reading for channel 4
' Screen shows
+0006.30
' Set the
terminator to
resp
and
terminators to None
scan
block
' Request the last readings
' Get readings for channels 1 - 4. Screen shows...
+0104.20
+0010.40
-0064.10
+0006.30
Appendix A
sep
O
O
O
terminators to
, and
LF/EOI
terminators to None
and the
,
LF/EOI
hll
ChartScan User's Manual
Need help?
Do you have a question about the OMB-CHARTSCAN 1400 and is the answer not in the manual?