Comparing buffered data to hll data – Measurement Computing TempScan/1100 User Manual
Page 107

TempScan / MultiScan User's Manual
889897
System Operation 5-17
Example 13e. Query Last Scan Reading (U13) with Volts & No HLL Terminator
(1)
PRINT#1, “OUTPUT07;F0,0X Q1,0,0,0,0X”
(2)
PRINT#1, “OUTPUT07;C1-4,11X”
(3)
(Command lines to configure and start an acquisition.)
(4)
PRINT#1, “OUTPUT07;U13X”
(5)
PRINT#1, “ENTER07”
(6)
INPUT A$
+00.0045603 +00.0000895 -00.0080087 +00.0090865
The next example demonstrates how changing the channel type can effect the output of HLL queries. It
also shows the effect of specifying no HLL terminator; only one
ENTER
command returns all of the HLL
data. Notice that even though the data format was in Degrees Celsius (
°C) , the response is in Volts since
the channels were configured as such.
• Line 1: Set the data format to Degrees Celsius (
°C) with HLL terminator of
None
.
• Line 2: Configure four channels – 1, 2, 3, and 4 – to Volts (despite the Degrees Celsius) in the ±100
mV DC range.
• 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.
Example 13f. Read Last Readings (R#) with 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;R#2-3X”
(5)
PRINT#1, “ENTER07”
(6)
INPUT A$
+0250.60
(7)
PRINT#1, “ENTER07”
(8)
INPUT A$
-0049.50
The next example demonstrates how to retrieve Last readings for a subset of the configured channels.
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 readings for Channels 2 and 3.
• Line 5: Get the response.
• Line 6: The screen will show the Last reading for Channel 2.
• Line 7: Get the next response.
• Line 8: The screen will show the Last reading for Channel 3.
Comparing Buffered Data to HLL Data
With the TempScan/1100 unit, unless scans are being collected at the maximum possible frequency, the
HLL Registers may detect alarm states that will not appear in the collected data. Since the HLL Registers
are being updated at the maximum possible frequency, which may be considerably faster than the scan
frequency as set by the programmed scan interval, an alarm state may be detected even though no such
value can be found in the buffered scan data. If such a situation is not preferred, decreasing the
programmed scan interval (thus increasing the scan frequency) will decrease the possibility of such an
event. At the maximum possible scan frequency, this situation is guaranteed not to occur.
With the MultiScan/1200 unit, the HLL Registers are being updated at the same frequency as set by the
programmed scan interval. Hence, all detected alarm states will appear in the collected data.