![IOtech MultiScan 1200 User Manual Download Page 254](http://html1.mh-extra.com/html/iotech/multiscan-1200/multiscan-1200_user-manual_2088024254.webp)
244 Chapter 15: Program Examples
TempScan / MultiScan User's Manual
•
Lines 17-29:
Until another key is pressed to exit the loop, the
U4
command is issued and the HLL
data is collected. The IEEE 488 controller command
OUTPUT
sends
U4
to the MultiScan/1200, the
command
ENTER
requests the data, then the command
LINE INPUT
gets the data from the
IEEE 488 driver and places it in the variable
U$
. The
FOR
loop extracts the data for the individual
channels from the string
U$
and places them on the screen. Since the format of the volts data is
subtly different than that of the thermocouple data, two different
FOR
loops must be used to extract
the channel data. Time and date information is also available in the HLL data.
Acquiring Pre- & Post-Trigger Data at Different Rates
TempScan/1100
Example 15e. SLOW_ACQ.BAS Program
(1)
CLS : PRINT “The TempScan/1100 is resetting...”
PRINT #1, “OUTPUT 07;*RX”
(3)
SLEEP 4
(4)
WHILE (S% AND 4) = 0
PRINT #1, “SPOLL 07"
INPUT #2, S%
(7)
WEND
(8)
PRINT #1, “OUTPUT 07;C1-32,1X”
(9)
PRINT #1, “OUTPUT 07;C33-64,2X”
(10)
PRINT #1, “OUTPUT 07;Y30,1,200X”
(11)
PRINT #1, “OUTPUT 07;I00:00:01.0,00:00:00.3X”
(12)
PRINT #1, “OUTPUT 07;T1,1,0,0X"
(13)
PRINT “The TempScan/1100 is collecting Pre-Trigger data and is ready
for a Trigger...”
PRINT “Hit a key to trigger the start of acquisition...”
WHILE INKEY$ = “”: WEND
(16)
PRINT #1,“OUTPUT 07;@X”
(17)
PRINT “The TempScan/1100 is collecting and uploading Post-Trigger data
as it becomes available...”
PRINT “Hit a key to trigger the stop of acquisition...”
i = 0
(20)
WHILE INKEY$ = “”
i = i + 1
S% = 0
(23)
WHILE ((S% AND 8) <> 8)
PRINT #1, “SPOLL 07"
INPUT #2, S%
(26)
WEND
PRINT #1 “OUTPUT 07; R1X”
PRINT #1 “ENTER 07”
INPUT #2, READINGS$
LOCATE 7, 1: PRINT “The scan”; i; “was:”; READINGS$
(31)
WEND
(32)
PRINT #1, “OUTPUT 07;@X”
(33)
i = 0
U% = 0
WHILE INKEY$ = “”
i = i + 1
S% = 0
(38)
WHILE ((S% AND 8) <> 8)
PRINT #1, “SPOLL 07"
INPUT #2, S%
(41)
WEND
Summary of Contents for MultiScan 1200
Page 2: ...TempScan MultiScan User s Manual...
Page 4: ...TempScan MultiScan User s Manual...
Page 10: ...vi TempScan MultiScan User s Manual Notes...
Page 20: ...10 Chapter 1 System Overview TempScan MultiScan User s Manual Notes...
Page 106: ...96 Chapter 8 ChartView ChartView Plus TempScan MultiScan User s Manual Notes...
Page 130: ...120 Chapter 9 TempView TempScan MultiScan User s Manual...
Page 150: ...140 Chapter 9 TempView TempScan MultiScan User s Manual Notes...
Page 166: ...156 Chapter 10 PostView TempScan MultiScan User s Manual Notes...
Page 234: ...224 Chapter 13 System Operation TempScan MultiScan User s Manual Notes...
Page 248: ...238 Chapter 14 System Calibration TempScan MultiScan User s Manual Notes...
Page 284: ...274 Chapter 15 Program Examples TempScan MultiScan User s Manual Notes...
Page 330: ...320 Chapter 16 API Command Reference TempScan MultiScan User s Manual...
Page 342: ...332 Chapter 16 API Command Reference TempScan MultiScan User s Manual...
Page 358: ...348 Appendix TempScan MultiScan User s Manual Notes...
Page 364: ...354 Index TempScan MultiScan User s Manual Notes...