Program trigger times – Measurement Computing TempScan/1100 User Manual
Page 243

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-47
P
- Program Trigger Times
TYPE
Channel
EXECUTION
Deferred
SYNTAX
Pstart,
stop
Set the Trigger and/or Stop times for an acquisition configured for start and/or
stop on absolute time, where
start
and
stop
are in the standard
Time/Date input format:
hh:mm:ss:t,MM/DD/YY
where
hh
is in hours,
mm
is in minutes,
ss
is in seconds,
t
is in tenths of a second,
MM
is the
month,
DD
is the day, and
YY
is the year.
P?
Query current start and stop times in the form:
Pstart,stop
DESCRIPTION
The Program Trigger Times (
P
) command is used to specify the Trigger (trigger start event) and/or Stop (trigger
stop event) times for an acquisition that is configured for a start and/or stop on absolute time, as set via the Set
Trigger Configuration (
T
) command. If only the start time is needed, the
stop
argument should be set to
00:00:00.0,00/00/00
. Likewise, if only the stop time is needed, the
start
argument should be set to
00:00:00.0,00/00/00
.
In addition to the ability to start/stop on a particular Time/Date, the unit has the ability to start/stop at a particular
Time, independent of the Date. If the Date for the start/stop Time is of no concern, then the Date portion of the
Time/Date field should be set to
00/00/00
. In this way, the unit can start or stop an acquisition at a particular
Time regardless of the Date. This feature is particularly useful when using the Auto Re-arm feature of the unit
where, for example, data can be collected at a particular time each day for a number of days without user
intervention.
EXAMPLE
PRINT#1,“OUTPUT07;S12:54:00.0,01/01/98X”
‘ Set the internal real-time clock of the unit
PRINT#1,“OUTPUT07;P01:00:00.0,01/01/98,
02:00:00.0,01/01/98X”
‘ Set start (1:00 am) and stop (2:00 am)
acquisition times
PRINT#1,“OUTPUT07;T11,11,0,0X”
‘ Configure for start/stop on absolute time