Omega Vehicle Security OMB-NETSCAN 1500 User Manual Page 179

  • Download
  • Add to my manuals
  • Print
  • Page
    / 256
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 178
Appendix A
API Command Reference
NetScan Users Manual A-39
The following table summarizes terminator usage with all possible commands in ASCII mode (no terminators are
used in binary mode), where X indicates that the terminator is asserted at the end of the response, O indicates
that the terminator is asserted within the response to separate channel and scan readings, and a blank cell
indicates that the terminator does not affect the command:
Command
Argument
resp
hll
scan
block
sep
R1X
X
O
R2X
O
X
O
R3X
O
X
O
R#chanX
X
R#first-lastX
O
X
U4X
O
X
U5X
O
X
U13X
O
X
All others
X
EXAMPLE
PRINT#1,"C1-4,1X"
Configure four channels for T/C Type J
PRINT#1,"F0,0X"
Configure engineering units, degrees C
PRINT#1,"Q7,7,0,0,0X"
Set the
resp
and
hll
terminators to
LF/EOI
, and
the
scan
and
block
terminators to None
PRINT#1,"Q?X"
Get the current query terminators
LINE INPUT#1,A$
PRINT A$
Screen shows
Q07,07,00,00,00
PRINT#1,"U13X"
Request the last readings
INPUT#1,A$
Get reading for channel 1
PRINT A$
Screen shows
+0104.20
INPUT#1,A$
Get reading for channel 2
PRINT A$
Screen shows
+0010.40
INPUT#1, A$
Get reading for channel 3
PRINT A$
Screen shows
-0064.10
INPUT#1,A$
Get reading for channel 4
PRINT A$
Screen shows
+0006.30
PRINT#1,"Q7,0,0,0,0X"
Set the
resp
terminator to
LF/EOI
and the
hll
,
scan
and
block
terminators to None
PRINT#1,"U13X"
Request the last readings
LINE INPUT#1, A$
Get readings for channels 1 - 4.
PRINT A$
Screen shows...
+0104.20
+0010.40
-0064.10
+0006.30
Page view 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 255 256

Comments to this Manuals

No comments