Omega Engineering OMB-NETSCAN 1500 User Manual page 221

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

Advertisement

Appendix C
The
command will read the oldest available trigger block in the Acquisition Buffer. For instance, continuing
R2
with the previous example:
PRINT#1,"U6X"
LINE INPUT #1,A$
PRINT A$
0000006,0020215,-00000099,12:51:43.100,03/24/97,00000100,01:53:01.300,03/24/97,00000250,01
The above response indicates that there are 6 trigger blocks currently defined in the Acquisition Buffer and there
are 20215 total scans in the buffer. Furthermore, it shows that the current read pointer is at scan # -99 in the 1st
trigger block and that there are 350 scans in this trigger block. To retrieve that trigger block, perform the
following:
PRINT#1,"R2X"
LINE INPUT#1, A$
PRINT A$
+0234.20-0019.40+0001.40+0023.60....
PRINT#1,"U6X"
LINE INPUT#1, A$
PRINT A$
0000005,0019865,-00000100,02:15:34.100,03/24/97,00000100,04:51:10.300,03/24/97,00000250,01
Notice that there are now only 5 trigger blocks in the buffer and that there are only 19,865 scans in the buffer.
Also note that the current read pointer is at the beginning of what was the next trigger block. That trigger block
is now the current trigger block.
The
command will read all available data within the Acquisition Buffer. For instance, continuing with the
R3
previous example:
PRINT#1,"U6X"
LINE INPUT#1, A$
PRINT A$
0000005,0019865,-00000100,02:15:34.100,03/24/97,00000100,04:51:10.300,03/24/97,00000250,01
The above response indicates that there are 5 trigger blocks currently defined in the Acquisition Buffer and there
are 19,865 total scans in the buffer. It also shows the current read pointer at the -100 scan in the 1st trigger
block and that their are 351 scans in this trigger block (101 + 250); i.e., 101 scans from -100 to 0, plus the 250
scans from 1 to 250. To retrieve all the scan data within the buffer:
PRINT#1,"R3X"
LINE INPUT#1, A$
PRINT A$
+0234.20-0019.40+0001.40+0023.60....
PRINT#1,"U6X"
LINE INPUT#1, A$
PRINT A$
0000000,0000000,-9999999,00:00:00.000,00/00/00,-0999999,00:00:00.000,00/00/00,-0999999,00
Notice that the Buffer Status String is null indicating that the Acquisition Buffer is completely empty.
For more information on using the R command refer to Appendix A.
NetScan User's Manual
' Request the current status of the Acquisition Buffer
' Retrieve it.
' Screen shows...
' Request the oldest trigger block
' Retrieve it.
' Screen shows (4 channels x 350 scans) 1400 readings
' Request the current status of the Acquisition Buffer
' Retrieve it.
' Screen shows...
' Request the current status of the Acquisition Buffer
' Retrieve it.
' Screen shows...
' Request all scan data in the buffer.
' Retrieve it.
' Screen shows (4 channels x 19865 scans) 79460 readings
' Request the current status of the Acquisition Buffer
' Retrieve it.
' Screen shows...
Configuration Aspects for Programmers
C-25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents