Configuration Aspects for Programmers Appendix C
C-16 NetScan User’s Manual
With Alarm Stamping:
PRINT#1, “A#1X” ‘ Enable 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 005 128 032 066
Digital Input Stamping (
I#
)
Digital Input Stamping (
I#
) allows you to see whether a digital input was “active” or “inactive” at the time of
the scan. This is accomplished by a digital input “ON” (1) or “OFF” (0) code appended to the scan in real time.
Digital Input Stamping can be enabled with the
I#1
command and disabled with the
I#0
command. Note that
there are 8 digital inputs.
Note: Digital Input Stamping is not valid in high-speed, single channel mode (burst mode).
Examples of
I#
command follow.
Without Digital Input Stamping (default):
PRINT#1, “I#0X” ‘ Disable digital input 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
Comments to this Manuals