API Command Reference Appendix A
A-6 NetScan Users Manual
Command Summary
Command
Syntax
Description
@
Trigger On Command
@
Trigger on receipt of an @.
*B
Flush Acquisition
Buffer
*B
Flush any data currently in the acquisition buffer.
*C
Clear Channel
Configuration
*C
Clear out the channel configuration so that no channels are
configured.
*F
Restore Factory
Settings
*F
Restore unit to factory configuration.
*K
Change Calibration
Keyword
*Kkey
Change the calibration keyword, where key is the keyword in the
form of a 5-digit number nnnnn. Therefore the password can
be no longer than 5 characters.
*P
Adjust Calibration Card
Pots
*Pchan
Select voltage level to be enabled for adjustment. Valid options
for chan are: 01 - Enable -4.4 Volt Source on calibration card,
02 - Enable +4.4. Volt Source on calibration card, and 03 -
Select 0 Volts GND.
*R
Power-On Reset
*R
Power-on reset. Equivalent to hardware reset.
*S
Power-Up Settings
*Smode
Specify power-up configuration mode. Valid options for mode are:
0 - Power-up under last known configuration (default), and 1 -
Power-up under factory default configuration.
*T
Time Stamping
*Tstate
Specify whether or not time stamping will be enabled. Valid
options for state are: 0 - Disable time stamping (default), 1 -
Enable absolute time stamping, and 2 - Enable relative time
stamping
A
Assign Alarm Output
Achans,
output
Set alarm condition where chans is the channel(s) to assign to
the digital output.
chans may be in two forms: chan (for a single channel where 1
< chan < max) or first-last (for a range of channels
where 1< first < last < max),
where max = 128 for NetScan.
output is the digital output number to associate the channel(s)
with, where 0 < output < 32.
A?
Query channels assigned to digital output.
A#
Alarm Stamping
A#state
Specify whether or not alarm stamping will be enabled. Valid
options for state are: 0 - Disable alarm stamping (default),
and 1 - Enable alarm stamping.
C
Configure Channels
Cchans,
type [,
[lowsp],
[highsp],
[hyst] ]
Configure the channels for the master unit and its slave units.
chans and type are required arguments, while lowsp,
highsp and hyst are optional.
chans may be in two forms: chan (for a single channel where 1
< chan < max) or first-last (for a range of channels
where 1 < first < last < max),
where max = 128 for NetScan.
The chassis is chan = 0.
type is the type to assign to those channels.
C?
Query current channel configuration.
C#
Select Card
C#card
Select the card from which subsequent QC? and U12
interrogation will retrieve information.
Without optional Relay Card
Valid options for card are: 0 - Selects the chassis; 1, 2, 3, or 4 -
Selects the card in corresponding slot of the main unit (with 1
being the bottom slot); and 5, 6, 7, or 8 - Selects the
corresponding slot on the expansion chassis (with slot 5 being
the bottom slot of the expansion chassis.
With optional Relay Card (installs in slot 1)
Valid options for card are: 0 - Selects the chassis; 1 selects
card in slot 2, 2 selects card in slot 3; and so on, with 7
selecting the card in slot 8; and no card 8 available.