Omega Engineering OMB-CHARTSCAN 1400 User Manual page 220

Portable data recorder
Table of Contents

Advertisement

Appendix C
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"
PRINT#1,"OUTPUT07 C1-2,1C10,1C15,1X"
.
.
.
PRINT#1,"OUTPUT07 U4X"
PRINT#1,"ENTER07"
INPUT A$
PRINT A$
+1450.20S12:23:21.700,03/24/97+0850.20S12:35:09.300,03/24/97, +0950.30
PRINT#1,"ENTER07"
INPUT A$
PRINT A$
+0450.20S02:00:29.500,03/24/97+0057.60S10:35:00.400,03/24/97, +0250.60
PRINT#1,"ENTER07"
INPUT A$
-0045.50S11:03:51.7,03/24/97- 0110.10S12:55:09.1,03/24/97, -0050.80
PRINT#1,"ENTER07"
INPUT A$
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"
PRINT#1,"OUTPUT07 C1-4,1X"
.
.
.
PRINT#1,"OUTPUT07 U5X"
PRINT#1,"ENTER07"
INPUT A$
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
PRINT#1,"OUTPUT07 S?X"
PRINT#1,"ENTER07"
INPUT A$
PRINT
A$
PRINT#1,"OUTPUT07 U4X"
PRINT#1,"ENTER07"
INPUT
A$
PRINT
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.
ChartScan User's Manual
' Set format to ASCII degrees C with
' HLL terminator of CR LF/ EOI
' Configure four channels (1,2,10 and 15) ' After an
indiscriminate amount of time....
' Configure and start the acquisition
' Query the current HLL settings
' Get HLL for channel 1
' Screen shows....
' Get HLL for channel 2
' Screen shows....
' Get HLL for channel 10
' Screen shows....
' Get HLL for channel 15
' Screen shows....
' Set format to ASCII degrees C with HLL
' terminator of None
' After an indiscriminate amount of time....
' Configure and start the acquisition
' Query and reset the current HLL settings
' Get the response
' Screen shows....
' Notice that only one ENTER returned the ALL HLL data
' Now Get the current time
' Screen shows S13:20:00.1,03/24/97
' Now, again query the HLL settings
' Get the response
' Screen shows....
Registers, Data Formats, & Queries
...
C-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-chartscan-1400

Table of Contents