Omega Vehicle Security OMB-CHARTSCAN 1400 Manual De Usuario

Descargar
Página de 273
API Commands
Appendix A
A-8
ChartScan User’s Manual
 
Command
 
Syntax
 
Description
 
L
 
Set Trigger Level
 
Lchan,
level,
hyst
 
Sets the level against which the testing of channel readings should
be performed where 
chan
 is the channel number such that 
1
 <
chan
 < 
max
,
 
where max = 128 for ChartScan/1400.
 
level
 is the level against which the readings are tested to
determine if the level has been exceeded.
 
hyst
 is the hysteresis level.
 
 
 
L?
 
Query the the current level settings
 
 
 
 
 
M
 
Set SRQ Mask
 
Mmask
 
Use the IEEE 488 Service Request (SRQ) mechanism to inform
the IEEE 488 bus controller of certain conditions, where 
mask
is in the form of the number 
nnn
 such that 
000
 < 
nnn
 < 
255
 is
summed from the following conditions:
 
000
 - Power-on default mask value.
 
001
 - SRQ On Alarm.
 
002
 - SRQ On Trigger Event.
 
004
 - SRQ On Ready.
 
008
 - SRQ On Scan Available.
 
016
 - SRQ On Message Available (MAV).
 
032
 - SRQ On Event Detected.
 
128
 - SRQ On Buffer Overrun.
 
 
 
M?
 
Query the SRQ mask.
 
 
 
 
 
M#
 
Set Measuring Mode
 
M#mode
 
Specify measuring mode.  Valid options for 
mode
 are: 
0
 - Line
cycle integration / high-speed multi-channel mode, and 
1
 -
Single channel high-speed burst mode.
 
 
 
 
 
N
 
Set Event Mask
 
Nmask
 
Directly sets the Event Status Enable Register (ESE) where 
mask
is in the form of the number 
nnn
 such that 
000
 < 
nnn
 < 
255
 is
summed from the following conditions:
 
000
 - Clear event mask
 
001
 - Acquisition complete
 
002
 - Stop Event
 
004
 - Query Error
 
008
 - Device Dependent Error
 
016
 - Execution Error
 
032
 - Command Error
 
064
 - Buffer 75% Full
 
128
 - Power On
 
 
 
N?
 
Query the Event mask.
 
 
 
 
 
O
 
Set Digital Outputs
 
Obank1,
bank2,
bank3,
bank4
 
Set any of the 32 digital outputs (separated into four 8-bit banks)
to a specified setting, where 
bankn
 (
n
 = 
1
2
3
4
) is an
argument in the form of the number 
nnn
 such that 
000
 < 
nnn
255
 when converted to binary format represents the desired
settings for the 8-bit bank.
 
 
 
O?
 
Query current state of digital output.
 
 
 
 
 
P
 
Program Trigger Times
 
Pstart,
stop
 
Set the trigger start and/or stop times for an acquisition configured
for start and/or stop on absolute time, where 
start
 and 
stop
are in the standard time/date stamp format: 
HH:MM:SS:T,
mm/dd/yy
 
where 
H
 is hours, 
MM
 is minutes, 
SS
 is seconds,
T
 is tenths of a second, 
mm
 is month, 
dd
 is day, and 
yy
 is year.
 
 
 
P?
 
Query current start and stop times.
 
 
 
 
 
?
 
Query
 
?
 
Query present configuration or mode of command preceding the 
?
 
 
 
 
 
Q
 
Set Query Terminator
 
Qresp,
hll,
scan,
block,
sep
 
Set the query terminators with the following parameters: 
resp
 is
the response terminator, 
hll
 is the channel terminator, 
scan
is the terminator which follows each scan output, and 
block
 is
the terminator which follows each trigger block output.
 
sep
 determines whether or not a separator character should be
used.  Valid options for 
sep
 are: 
0
 - Place no separators in
returned buffered scan data when it is read, and 
1
 - Place a
separator whose value is determined by the current Set User
Terminator (
V
) command setting into the returned buffer data
when it is read.
 
 
 
Q?
 
Query current terminator settings.
 
 
 
 
 
QC?
 
Query Card Data
 
QC?
 
Read back card ID and calibration information from the card
previously selected by the Select Card (
C#
) command.