Set scan interval – Measurement Computing TempScan/1100 User Manual
Page 233

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-37
I
- Set Scan Interval
TYPE
Acquisition
EXECUTION
Deferred
SYNTAX
Inorm,
acq
Set the two configurable scan intervals of the unit where
norm
and
acq
are
the normal and acquisition scan intervals which have the form:
hh:mm:ss.t
where
hh
is hours,
mm
is minutes,
ss
is seconds, and
t
is
tenths of a second.
I?
Query scan interval selection.
DESCRIPTION
The Set Scan Interval (
I
) command is used to set the following two types of scan intervals:
•
Normal Scan Interval. The normal scan interval is used when the TempScan/1100 or MultiScan/1200 unit
is acquiring scans before the Trigger (trigger start event) has occurred, or after the Stop (trigger stop event)
has occurred. These two scanning regions are called the Pre-Trigger scan and the Post-Stop scan,
respectively.
•
Acquisition Scan Interval. The acquisition scan interval is used when the TempScan/1100 or
MultiScan/1200 unit is acquiring scans after the Trigger (trigger start event) has occurred, but before the
Stop (trigger stop event) has occurred. This middle scanning region is called the Post-Trigger scan.
The
norm
and
acq
arguments represent the normal and acquisition scan intervals, respectively.
The scan interval can also be set to run at the minimum scan interval, yielding the fastest scan rate that the
current system configuration will allow. This is referred to as fast mode. Either the normal or acquisition scan
interval can be set to fast mode, by specifying the following scan interval –
00:00:00.0
– in the
I
command.
When the
I
command is interrogated by the unit, the unit will determine, by examining its current channel
configuration, if it is capable of running at the desired interval. If the unit determines that it is not capable of
running at the desired interval, it will automatically default to fast mode for the interval(s) in question. It will also
issue a Command Conflict Error to inform you that it is not running at the user-specified interval.
The scan interval can be programmed from a 24-hour period to a 0.1-second period in increments of 0.1 second.
In addition to setting the scan interval to zero, if the scan interval is programmed for a value less than the unit is
capable of running at, the unit will also default to fast mode.
For more information on scan intervals, see section Scan Configuration in the chapter System Configuration.
EXAMPLE
PRINT#1, OUTPUT07;I01:00:00.0,
00:00:00.0X
‘ Set normal scan interval to once every hour and
acquisition scan interval to fast mode
PRINT#1, OUTPUT07;I?X
‘ Query the current scan intervals
PRINT#1, ENTER07
LINE INPUT #2, I$
PRINT I$
I01:00:00.0,00:00:00.0
‘ Screen shows the current scan intervals