Appendix C
Configuration Aspects for Programmers
NetScan User’s Manual
C-15
Time Stamping (
*T
)
As mentioned in the previous sections, the contents of each scan contains one reading for each defined channel.
Optionally, time stamping of each scan can be enabled with the
*T
command.
*T1
enables absolute time
stamping,
*T2
enables relative time stamping, while
*T0
disables time stamping. Refer to the
*T
command
description for further details. An example of the
*T
command is as follows:
Without time stamping (default):
PRINT #1, “R3X”
‘Request all scan data in buffer
LINE INPUT #1, A$
‘Retrieve it
PRINT A$
+0234.20-0019.40+0001.40+0023.60....
With absolute time stamping:
PRINT#1, “*T1X”
‘Enable time stamping
PRINT#1, “R3X”
‘Request all scan data in buffer
LINE INPUT#1, A$
‘Retrieve it
PRINT A$
07:35:22.400,08/29/94R+0234.20-0019.40+0001.40+0023.60....
Note: The R (following the date 08/29/94 in the above code) is a reading separator which has been
assigned with Query Terminator
Q
.
With relative time stamping:
PRINT#1, “*T2X”
‘Enable time stamping
PRINT#1, “R3X”
‘Request all scan data in buffer
LINE INPUT#1, A$
‘Retrieve it
PRINT A$
+00:01:05.5,00234.20-0019.40+0001.40+0023.60....
Note: The
R
in the above code is a reading separator which has been assigned with
Query Terminator
Q
.
Note:
Time stamping is not valid in burst mode or when the output format is binary. Additionally,
relative time stamping is invalid when attempting to use it in conjunction with continuous,
gap-free acquisitions with two time bases.
Alarm Stamping (
A#
)
For further monitoring and analysis of alarm conditions, the states of the 32 alarm outputs can be stamped to
scan in real time. Alarm stamping can be enabled with the
A#1
command and disabled with the A#0 command.
Refer to the
A#
command description for further details. An example of the
A#
command follows.
Note:
Alarm stamping is not valid in high-speed, single channel mode (burst mode).
Note:
If Digital Input Stamping (
I#
) is also enabled, it will be appended after the Alarm Stamp (
A#
).
Without Alarm Stamping (default):
PRINT#1, “A#0X”
‘ Disable alarm stamping
‘ Configure and start an acquisition
PRINT#1, “R1X”
‘ Request the next scan in the buffer
LINE INPUT#1, A$
‘ Retrieve it
PRINT A$
‘
....+0234.20-0019.40+0001.40+0023.60
Содержание OMB-NETSCAN
Страница 6: ...iv NetScan User s Manual...
Страница 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Страница 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Страница 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Страница 111: ...NetScan User s Manual Calibration 6 13 1 Connect an applicable calibration harness to each card Refer to figure below...
Страница 118: ...6 20 Calibration NetScan User s Manual...
Страница 140: ...A ii NetScan User s Manual...
Страница 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Страница 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Страница 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Страница 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Страница 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Страница 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Страница 254: ...NetScan User s Manual...