Appendix C
Registers, Data Formats, & Queries
ChartScan User’s Manual
C-3
You can use the Query Terminator (
Q
) command to specify a response terminator between each channel of the
HLL response. Use the Format (
F
) command to specify the output format of the HLL Registers.
The following examples show how to use these commands to configure and query the HLL Registers.
Example 1:
Example 1 shows how to configure and query all the HLL registers and how the HLL terminator can be used to
control the flow of the HLL response output.
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-2,1C10,1C15,1X"
‘ Configure four channels (1,2,10 and 15) ‘ After an
indiscriminate amount of time....
...
‘ Configure and start the acquisition
.
.
.
PRINT#1,"OUTPUT07 U4X"
‘ Query the current HLL settings
PRINT#1,"ENTER07"
‘ Get HLL for channel 1
INPUT A$
‘ Screen shows....
PRINT A$
+1450.20S12:23:21.700,03/24/97+0850.20S12:35:09.300,03/24/97, +0950.30
PRINT#1,"ENTER07"
‘ Get HLL for channel 2
INPUT A$
‘ Screen shows....
PRINT A$
+0450.20S02:00:29.500,03/24/97+0057.60S10:35:00.400,03/24/97, +0250.60
PRINT#1,"ENTER07"
‘ Get HLL for channel 10
INPUT A$
‘ Screen shows....
-0045.50S11:03:51.7,03/24/97- 0110.10S12:55:09.1,03/24/97, -0050.80
PRINT#1,"ENTER07"
‘ Get HLL for channel 15
INPUT A$
‘ Screen shows....
PRINT A$
+0150.70S03:39:01.200,03/24/97- 0085.20S05:25:17.300,03/24/97, +0010.90
In example 1, notice that only those channels configured (1,2,10 and 15) where returned in the response.
Example 2:
This example shows how to reset the High and Low values along with their associated Time/Date Stamps. It
also shows the effect of specifying no HLL response terminator.
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,1X"
‘ After an indiscriminate amount of time....
.
.
.
‘ Configure and start the acquisition
PRINT#1,"OUTPUT07 U5X"
‘ Query and reset the current HLL settings
PRINT#1,"ENTER07"
‘ Get the response
INPUT A$
‘ Screen shows....
PRINT A$
+1450.20S12:23:21.700,03/24/97+0850.20S12:35:09.300,03/24/97, +0950.30
+0450.20S02:00:29.500,03/24/97+0057.60S10:35:00.400,03/24/97, +0250.60
+0045.50S11:03:51.700,03/24/97-0110.10S12:55:09.100,03/24/97, -0050.80
+0150.70S03:39:01.200,03/24/97-0085.20S05:25:17.300,03/24/97, +0010.90
‘ Notice that only one ENTER returned the ALL HLL data
PRINT#1,"OUTPUT07 S?X"
‘ Now Get the current time
PRINT#1,"ENTER07"
INPUT A$
‘ Screen shows S13:20:00.1,03/24/97
A$
PRINT#1,"OUTPUT07 U4X"
‘ Now, again query the HLL settings
PRINT#1,"ENTER07"
‘ Get the response
INPUT
A$
‘ Screen shows....
A$
+0980.20S13:20:01.700,03/24/97+0959.20S13:20:09.300,03/24/97, +0975.80
+0260.70S13:20:29.500,03/24/97+0245.60S13:20:00.400,03/24/97, +0257.60
-0047.50S13:20:51.700,03/24/97- 0051.10S13:20:09.100,03/24/97,-0049.80
-0047.50S13:20:51.700,03/24/97- 0051.10S13:20:09.100,03/24/97, - 0049.80
+0015.70S13:20:01.200,03/24/97+0008.20S13:20:17.300,03/24/97, +0010.40
In example 2, notice that issuing the
U5
command caused the High and Low values and their associated
Time/Date Stamps to be reset.
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...