Appendix D
Registers, Data Formats, & Queries
NetScan User’s Manual
D-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,"F0,0 Q1,1,0,0, 0X"
‘ Set format to ASCII degrees C with
‘ HLL terminator of CR LF/ EOI
PRINT#1,"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,"U4X"
‘ Query the current HLL settings
LINE INPUT#1,A$
‘ Get HLL for channel 1
PRINT A$
‘ Screen shows....
+1450.20S12:23:21.700,03/24/97+0850.20S12:35:09.300,03/24/97, +0950.30
LINE INPUT#1, A$
‘ Get HLL for channel 2
PRINT A$
‘ Screen shows....
+0450.20S02:00:29.500,03/24/97+0057.60S10:35:00.400,03/24/97, +0250.60
LINE INPUT#1, A$
‘ Get HLL for channel 10
PRINT A$
‘ Screen shows....
-0045.50S11:03:51.7,03/24/97- 0110.10S12:55:09.1,03/24/97, -0050.80
LINE INPUT#1, A$
‘ Get HLL for channel 15
PRINT A$
‘ Screen shows....
+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,"F0,0 Q1,0,0,0, 0X"
‘ Set format to ASCII degrees C with HLL
‘ terminator of None
PRINT#1,"C1-4,1X"
‘ After an indiscriminate amount of time....
.
.
.
‘ Configure and start the acquisition
PRINT#1,"U5X"
‘ Query and reset the current HLL settings
LINE INPUT#1, A$
‘ Get the response
PRINT A$
‘ Screen shows....
+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 INPUT returned the ALL HLL data
PRINT#1,"S?X"
‘ Now Get the current time
LINE INPUT#1, A$
PRINT A$
‘ Screen shows S13:20:00.1,03/24/97
PRINT#1,"U4X"
‘ Now, again query the HLL settings
LINE INPUT#1, A$
‘ Get the response
PRINT A$
‘ Screen shows....
+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.
Содержание OMB-NETSCAN
Страница 6: ...iv NetScan User s Manual...
Страница 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Страница 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Страница 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Страница 111: ...NetScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 118: ...6 20 Calibration NetScan User s Manual...
Страница 140: ...A ii NetScan User s Manual...
Страница 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Страница 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Страница 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Страница 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Страница 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Страница 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Страница 254: ...NetScan User s Manual...