Measurement Computing TempScan/1100 User Manual
Page 106

5-16 System Operation
889897
TempScan / MultiScan User's Manual
Example 13c. Query Last Scan Reading (U13) with Celsius & HLL Terminator
(1)
PRINT#1, “OUTPUT07;F0,0 Q1,1,0,0,0X”
(2)
PRINT#1, “OUTPUT07;C1-4,1X”
(3)
(Command lines to configure and start an acquisition.)
(4)
PRINT#1, “OUTPUT07;U13X”
(5)
PRINT#1, “ENTER07”
(6)
INPUT A$
+0950.30
(7)
PRINT#1, “ENTER07”
(8)
INPUT A$
+0250.60
(9)
PRINT#1, “ENTER07”
(10)
INPUT A$
-0050.80
(11)
PRINT#1, “ENTER07”
(12)
INPUT A$
+0010.90
The next example demonstrates how to read only the Last readings. Notice that since a HLL response
terminator was specified, the Last reading for each channel had to be entered separately.
• Line 1: Set the data format to Degrees Celsius (
°C) with HLL terminator of CR LF / EOI.
• Line 2: Configure four channels – 1, 2, 3, and 4 – with no setpoints.
• Line 3: Provide the appropriate command lines to configure and start an acquisition.
• Line 4: After an indiscriminate amount of time, query the Last channel readings.
• Line 5: Get the response.
• Line 6: The screen will show the Last reading for Channel 1.
• Line 7: Get the next response.
• Line 8: The screen will show the Last reading for Channel 2.
• Line 9: Get the next response.
• Line 10: The screen will show the Last reading for Channel 3.
• Line 11: Get the next response.
• Line 12: The screen will show the Last reading for Channel 4.
Example 13d. Query Last Scan Reading (U13) with Fahrenheit & No HLL Terminator
(1)
PRINT#1, “OUTPUT07;F1,0X Q1,0,0,0,0X”
(2)
PRINT#1, “OUTPUT07;C1-4,1X”
(3)
(Command lines to configure and start an acquisition.)
(4)
PRINT#1, “OUTPUT07;U13X”
(5)
PRINT#1, “ENTER07”
(6)
INPUT A$
+1743.08 +0483.08 -0059.44 +0051.62
The next example also demonstrates how to read only the Last readings. But in this case, no HLL response
terminators are specified and the format has been changed to Degrees Fahrenheit (°F).
• Line 1: Set the data format to Degrees Celsius (
°F) with HLL terminator of
None
.
• Line 2: Configure four channels – 1, 2, 3, and 4 – with no setpoints.
• Line 3: Provide the appropriate command lines to configure and start an acquisition.
• Line 4: After an indiscriminate amount of time, query the Last channel readings.
• Line 5: Get the response.
• Line 6: The screen will show the Last readings for Channels 1 through 4.