Registers, Data Formats, & Queries
Appendix C
C-4
ChartScan User’s Manual
Example 3:
Example shows how to read
only
the
Last readings
.
PRINT#1,"OUTPUT07 F0,0 Q1,1,0,0, 0X"
‘ Set format to ASCII degrees C with
‘ HLL terminator of CR LF/ EOI
PRINT#1,"OUTPUT07 C1-4,1X"
‘ Configure four channel (no setpoints)
.
.
.
‘ Configure and start the acquisition
PRINT#1,"OUTPUT07; U13X"
‘ Just get the Last channel readings
PRINT#1,"ENTER07"
‘ Get Last reading for channel 1
INPUT
A$
‘ Screen shows....
A$
+0950.30
PRINT#1,"ENTER07"
‘ Get Last reading for channel 2
INPUT A$
‘ Screen shows....
PRINT A$
+0250.60
PRINT#1,"ENTER07"
‘ Get Last reading for channel 3
INPUT A$
‘ Screen shows....
PRINT A$
-0050.80
PRINT#1,"ENTER07"
‘ Get Last reading for channel 4
INPUT A$
‘ Screen shows....
PRINT A$
+0010.90
Notice that since a HLL response terminator was specified that each channel’s Last reading had to be ENTERed
separately.
Example 4:
This example is the same as the previous, except no HLL response terminators are specified and the format has
been changed to °F.
PRINT#1,"OUTPUT07 F1,0 Q1,0,0,0, 0X" ‘ Set format to ASCII degrees F with
‘ HLL terminator of None
PRINT#1,"OUTPUT07 C1-4,1X"
‘ Configure four channel (no setpoints)
.
.
.
‘ Configure and start the acquisition
PRINT#1,"OUTPUT07; U13X"
‘ Just get the Last channel readings
PRINT#1,"ENTER07"
‘ Get Last readings for channels 1-4 INPUT A$
‘ Screen shows....
PRINT A$
+1743.08+0483.08- 0059.44+0051.62
Notice that there are no HLL channel terminators and that the readings are now in °F.
Example 5:
Example 5 shows how changing the channel type can effect the output of HLL queries.
PRINT#1,"OUTPUT07 F0,0 Q1,0,0,0, 0X"
‘ Set format to ASCII degrees C with HLL terminator of None.
PRINT#1,"OUTPUT07 C1-4,11X"
‘ Configure four channel
(no setpoints) to VOLTS
.
.
.
‘ Configure and start the acquisition
PRINT#1,"OUTPUT07; U13X"
‘ Just get the Last channel readings
PRINT#1,"ENTER07"
‘ Get Last reading for channels 1-4 INPUT A$
‘ Screen shows....
PRINT A$
+000.000.0000895- 000.0000.0090865
Notice that even though the format was degrees C since the channels have been configured to be VOLTS
channels, the response is in VOLTS.
Summary of Contents for OMB-CHARTSCAN 1400
Page 1: ...August 2002 OMB CHARTSCAN 1400 Portable Data Recorder p n OMB 483 0901 Rev 3 1...
Page 6: ...iv ChartScan User s Manual...
Page 24: ...ChartScan User s Manual...
Page 32: ...2 8 General Information ChartScan User s Manual Notes...
Page 56: ...3 24 ChartScan User s Manual Notes...
Page 124: ...6 20 Calibration ChartScan User s Manual...
Page 126: ...A ii ChartScan User s Manual...
Page 136: ...API Commands Appendix A A 10 ChartScan User s Manual Notes...
Page 176: ...API Commands Appendix A A 50 ChartScan User s Manual...
Page 230: ...Appendix C Registers Data Formats Queries ChartScan User s Manual C 13...
Page 237: ...Registers Data Formats Queries Appendix C C 20 ChartScan User s Manual Notes...
Page 257: ...E 2 ChartScan User s Manual Notes...
Page 265: ...ASCII Code Summary Appendix F F 8 ChartScan User s Manual Notes...
Page 269: ...Abbreviations Appendix H H 2 ChartScan User s Manual Notes...
Page 271: ...ChartScan User s Manual...