Set scan time stamping – Measurement Computing TempScan/1100 User Manual
Page 217

TempScan / MultiScan User’s Manual
889897
API
Command Reference A-21
*T
- Set Scan Time Stamping
TYPE
System
EXECUTION
Immediate
SYNTAX
*Tstate
Specify whether or not scan time stamping will be enabled. Valid options for
state
are:
0
- Disable scan time stamping (default),
1
- Enable absolute
time stamping, and
2
- Enable relative time stamping.
DESCRIPTION
The Set Scan Time Stamping (
*T
) command, when enabled, will append a Time/Date stamping to each scan
being output by the unit to the controller. This Time/Date output data can be in absolute or relative formats.
When Engineering Units format is selected via the Set Data Format (
F
) command:
•
Absolute time stamping is in the format:
hh:mm:ss.mil,MM/DD/YY
.
•
Relative time stamping is in the format:
±±±±hh:mm:ss.mil,DDDDDDD
. (Negative values indicate Pre-
Trigger scans, whereas positive values indicate Post-Trigger scans.)
When Binary format is selected via the Set Data Format (
F
) command, the Time/Date stamping is returned as ten
8-bit bytes in 2h (two-digit hexadecimal) format, as follows:
•
Absolute time stamping is in the format:
hmstuvwMDY
.
•
Relative time stamping is in the format:
hmstuvwDEF
.
When ASCII Counts format is selected via the Set Data Format (
F
) command, the output data is interpreted as
Engineering Units.
For more information on data formats, see section Data Format Configuration in the chapter System
Configuration. For more information on time stamping, see section Stamping Configuration in the chapter System
Configuration.
Note: Relative time stamping is not valid when you attempt to use it in conjunction with continuous, gap-free
acquisitions with two timebases.
Note: With MultiScan/1200 only, time stamping is not valid in single-channel high-speed burst mode.
EXAMPLE
PRINT#1,"OUTPUT07;*T1X"
‘ Enable absolute time stamping
PRINT#1,"OUTPUT07;*T2X"
‘ Enable relative time stamping
PRINT#1,"OUTPUT07;*T0X"
‘ Disable scan time stamping