Omega Vehicle Security OMB-NETSCAN 1500 User Manual Page 169

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 168
Appendix A
API Command Reference
NetScan Users Manual A-29
I#
- Digital Input Stamping
TYPE
System
EXECUTION
Deferred
SYNTAX
I#state
Specify whether or not digital input stamping will be enabled.
state
may
have either of the following values: The default of
0
, which disables digital
input stamping, or
1
to enable digital stamping.
DESCRIPTION
The Digital Input Stamping (
I#
) command, when enabled, will append the digital input state to the end of each
scan as it occurs in real time.
The digital input state consists of 8 bits (
I8
through
I1
). Each bit has an assigned binary value of “1” or 0,
where “1” indicates digital input on and “0” indicates digital input off.
In binary mode, 2 bytes will be appended as follows: Byte 2: 00h,
I8
-
I1
In ASCII mode, 8 bytes will be appended as follows:
DXXXD000
Where
D
= User Terminator, and
XXX
= the decimal equivalent of
I8
-
I1
.
Note: If Alarm Stamping (
A#
) is also enabled, the Digital Input Stamp (
I#
) will be appended
after
the
Alarm Stamp.
EXAMPLES
Without Digital Input Stamping (default):
PRINT#1, I#0X
Disable digital input stamp
Configure and start an acquisition
PRINT#1, R1X
Request the next scan in the buffer
LINE INPUT#1, A$
....+0234.20-0019.40+0001.40+0023.60
With Digital Input Stamping:
PRINT#1, I#1X
Enable digital input stamping
Configure and start an acquisition
PRINT#1, R1X
Request the next scan in the buffer
LINE INPUT #1, A$
....+0234.20-0019.40+0001.40+0023.60 036 000
Page view 168
1 2 ... 164 165 166 167 168 169 170 171 172 173 174 ... 255 256

Comments to this Manuals

No comments