Omega Engineering OMB-NETSCAN 1500 User Manual page 228

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

Advertisement

Registers, Data Formats, & Queries
Example 3:
Example shows how to read only the Last readings.
PRINT#1,"F0,0 Q1,1,0,0, 0X"
PRINT#1,"C1-4,1X"
.
.
.
PRINT#1,"U13X"
INPUT #1, A$
PRINT A$
+0950.30
INPUT #1, A$
PRINT A$
+0250.60
INPUT #1, A$
PRINT A$
-0050.80
INPUT #1, A$
PRINT A$
+0010.90
Notice that since a HLL response terminator was specified that each channel's Last reading had to be ENTERed
separately.
Example 4:
This example is the same as the previous, except no HLL response terminators are specified and the format has
been changed to °F.
PRINT#1,"F1,0 Q1,0,0,0, 0X"
PRINT#1,"C1-4,1X"
.
.
.
PRINT#1,"U13X"
LINE INPUT#1, A$
PRINT A$
+1743.08+0483.08- 0059.44+0051.62
Notice that there are no HLL channel terminators and that the readings are now in °F.
Example 5:
Example 5 shows how changing the channel type can effect the output of HLL queries.
PRINT#1,"F0,0 Q1,0,0,0, 0X"
PRINT#1,"C1-4,11X"
.
.
.
PRINT#1,"U13X"
LINE INPUT#1, A$
PRINT A$
+000.0045603+000.0000895- 000.00800870+000.0090865
Notice that even though the format was degrees C since the channels have been configured to be VOLTS
channels, the response is in VOLTS.
D-4
' Set format to ASCII degrees C with
' HLL terminator of CR LF/ EOI
' Configure four channel (no setpoints)
' Configure and start the acquisition
' Just get the Last channel readings
' Get Last reading for channel 1
' Screen shows....
' Get Last reading for channel 2
' Screen shows....
' Get Last reading for channel 3
' Screen shows....
' Get Last reading for channel 4
' Screen shows....
' Set format to ASCII degrees F with
' HLL terminator of None
' Configure four channel (no setpoints)
' Configure and start the acquisition
' Just get the Last channel readings
' Get Last readings for channels 1-4
' Screen shows....
' Set format to ASCII degrees C with HLL terminator of None.
' Configure four channel
(no setpoints) to VOLTS
' Configure and start the acquisition
' Just get the Last channel readings
' Get Last reading for channels 1-4
' Screen shows....
Appendix D
NetScan User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents