Omega Engineering OMB-NETSCAN 1500 User Manual page 164

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

API Command Reference
Data Output Formats
Data Type
Temperature
Volts
Time/Date
Timebase
Legend
Note 1: mil is milliseconds for ASCII, but microseconds for binary (2-hexidecimal) output format.
Data output formats differ slightly from data input formats in that binary formats may be used for Channel Data.
Channel Data is the only output data which may use the binary format (if it is specified). Channel Data is defined
as data originating from the High/Low/Last (HLL) Registers or the Acquisition Buffer. The commands that initiate
Channel Data output are the
as Engineering Units and Counts.
Data output formats for command queries will follow the same rules as data input formatting. As in the case of
data input formats, all readings output will be in Engineering Units unless Counts is specified. However, there
are only 3 command queries which need to follow the
U8
command queries.
Note: It also should be noted that readings are only converted to the specified engineering units if the associated
Note: When Binary formats are specified, the HLL, Scan and Block terminator do not apply.
The following table shows the effect of the Set Data Format (
the commands and queries over which it has control. Refer to the Data Format section of Appendix D for more
examples.
Command
A-24
Engineering Units
xxxx.xx
°C
xxxx.xx
°F
°R
xxxx.xx
xxxx.xx
°K
+xx.xxxxxxxxx
hh:mm:ss.mil,
MM/DD/YY
Absolute
Relative
hh:mm:ss.mil,
DDDDDDDD
hh:mm:ss.t
x
= ASCII digit
h
= hours
= minutes
m
s
= seconds
mil
(see Note 1)
= months
MM
DD
= days
YY
= years
DDDDDDDD
R
,
R#
,
channel type is a channel that supports those engineering units. For example if the specified channel is a
volts channel and the engineering units is
temperature in °C.
Engineering Units
C
Engr. Units
C?
Engr. Units
L
Engr. Units
L?
Engr. Units
U8
Engr. Units
U4
Engr. Units
U5
Engr. Units
U13
Engr. Units
R
Engr. Units
R#
Engr. Units
Binary
High Byte /
Low Byte
H/L
H/L
hmstMDY
hmstMDY
Interpreted as engineering units
H
= high order byte
L
= low order byte
= hours
h
m
= minutes
s
= seconds
= tenths
t
M
= months
D
= days
= Days
Y
= years
U4
,
U5
and
U13
commands. However, Channel Data may also be output
F
command format in this fashion. They are
0
(°C), the reading will be interpreted as volts, not a
F
) command on readings input/output formats for
Reading Formats
Binary
High Byte /
Low Byte
Engr. Units
Engr. Units
Engr. Units
Engr. Units
Engr. Units
Binary (H/L)
Binary (H/L)
Binary (H/L)
Binary (H/L)
Binary (H/L)
Counts
Low Byte /
High Byte
L/H
±xxxxx
L/H
±xxxxx
hh:mm:ss.mil,
MM/DD/YY
hh:mm:ss.mil,
DDDDDDDD
Interpreted as
engineering units
x
= ASCII digit
h
= hours
= minutes
m
s
= seconds
mil
(see Note 1)
= months
MM
DD
= days
YY
= years
DDDDDDDD
Counts
Low Byte /
High Byte
Engr. Units
Counts
Engr. Units
Counts
Engr. Units
Counts
Engr. Units
Counts
Engr. Units
Counts
Binary (L/H)
Counts
Binary (L/H)
Counts
Binary (L/H)
Counts
Binary (L/H)
Counts
Binary (L/H)
Counts
NetScan User's Manual
Appendix A
=
Days
C?
,
L?
and

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents