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
X
O
R2X
O
X
O
R3X
O
X
O
R#chanX
X
R#first-lastX
O
X
U4X
O
X
U5X
O
X
U13X
O
X
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
Содержание OMB-CHARTSCAN 1400
Страница 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Страница 6: ...iv ChartScan User s Manual...
Страница 24: ...ChartScan User s Manual...
Страница 32: ...2 8 General Information ChartScan User s Manual Notes...
Страница 56: ...3 24 ChartScan User s Manual Notes...
Страница 117: ...ChartScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 124: ...6 20 Calibration ChartScan User s Manual...
Страница 126: ...A ii ChartScan User s Manual...
Страница 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Страница 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Страница 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Страница 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Страница 257: ...E 2 ChartScan User s Manual Notes...
Страница 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Страница 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Страница 271: ...ChartScan User s Manual...