Appendix A
API Command Reference
NetScan User’s Manual
A-7
Command
Syntax
Description
D#
Set Relay Make Time
D#make
Specify how long to wait after closing a channel relay before
reading valid data, where
make
is the number of 520.833
microsecond intervals.
E
End Calibration Mode
E
Terminate Calibration Mode
E?
Error Status Query
E?
Returns present error condition of the unit with one of the following
error codes:
E000
- No error has occurred.
E001
- Invalid device dependent command (IDDC).
E002
- Invalid device dependent command option (IDDCO).
E004
- Channel configuration error.
E008
- Calibration error.
E016
- Trigger overrun.
E032
- Open TC or Range Error.
E128
- Command conflict error.
F
Set Data Format
Fengr,
format
Configure the input and output formats.
engr
converts the raw data to the engineering units that you
prefer to work with. Valid options are:
0
- degrees Celsius
(default),
1
- degrees Fahrenheit,
2
- degrees Rankine,
3
-
degrees Kelvin, and
4
- Volts.
format
places the readings in a format that you prefer to work
with. Valid options are:
0
- Engineering Units (default),
1
-
Binary (Low Byte/High Byte),
2
- Binary (High Byte/Low Byte),
and
3
- Counts (ASCII).
F?
Query the data format.
F#
Set Burst Mode
Frequency
F#freq
Select burst mode sampling frequency where
freq
is a real
number and where
38.5
<
freq
<
20000.0
Hertz (default).
G
Calibrate Channel Gain
Gchan,
type
Calibrate the correction gain constants for given option card where
chan
is the channel number such that
1
<
chan
<
max
,
where max = 128 for NetScan.
The chassis is
chan = 0
.
type
is the channel type.
H
Calibrate Channel
Offset
Hchan
Calibrate the correction offset constants for given option card
where
chan
is the channel number such that
1
<
chan
<
max
, where max = 128 for NetScan.
The chassis is
chan = 0
.
I
Set Scan Interval
Inorm, acq
Set the two configurable scan intervals of the unit where
norm
and
acq
are the normal and acquisition scan intervals which
have the form:
hh:mm:ss.t
where
hh
is hours,
mm
is
minutes,
ss
is seconds, and t is tenths of a second.
I?
Query scan interval selection.
I#
Digital Input Stamping
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.
J
Calibrate Cold Junction
Offset
Jchan,
type,
temp
Calibrate the cold-junction offsets for cold-junction compensation
of the thermocouple signals where
chan
is the channel number
such that
1
<
chan
<
max
,
where max = 128 for NetScan.
type
is the thermocouple channel type.
temp
is the reference temperature currently being applied to the
selected channel, with the form
nnn.n
in degrees
º
C.
K
Enter Calibration Mode
Kkey
Enter Calibration Mode if the keyword (or password) is correct,
where
key
is the keyword in the form of a 5-digit number
nnnnn
. Therefore the password can be no longer than 5
characters.
K?
Query
Kkey
as defined above.
Summary of Contents for OMB-NETSCAN 1500
Page 6: ...iv NetScan User s Manual...
Page 18: ...1 12 Configuring and Starting NetScan NetScan User s Manual Notes...
Page 38: ...3 8 General Information and Specifications NetScan User s Manual Notes...
Page 82: ...4 44 ChartView Software Reference NetScan User s Manual Notes...
Page 118: ...6 20 Calibration NetScan User s Manual...
Page 140: ...A ii NetScan User s Manual...
Page 192: ...API Command Reference Appendix A A 52 NetScan User s Manual Notes...
Page 237: ...Appendix D Registers Data Formats Queries NetScan User s Manual D 13...
Page 244: ...NetScan Program Examples Appendix E E 2 NetScan User s Manual...
Page 248: ...ASCII Code Summary Appendix F F 4 NetScan User s Manual Notes...
Page 250: ...NetScan Error Messages Appendix G G 2 NetScan User s Manual Notes...
Page 252: ...Abbreviations Appendix H H 2 NetScan User s Manual Notes...
Page 254: ...NetScan User s Manual...