Omega Engineering OMB-NETSCAN 1500 User Manual page 181

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

Advertisement

Appendix A
TYPE
EXECUTION
SYNTAX
DESCRIPTION
The Read Buffered Data (
been collected as a result of an acquisition that has been previously configured. For more information regarding
the configuration of acquisitions, refer to the Set Trigger Configuration (
Since the unit's buffer is organized as a FIFO (first in, first out), the Read Buffer Data command will always read
the oldest data available in the buffer first. As the controller requests buffer scan data, the unit supplies the
oldest available scan. After the scan is supplied, that scan is no longer available. As scan data is read from the
acquisition buffer, the data is removed from the buffer and, thereafter, may not be referenced or read.
This command operates as follows: When a Read Buffer Data (
data, if it exists, is moved, one scan at a time, from the Acquisition Buffer to the output queue where it will wait in
state until you remove it. Once the data is removed from the output queue, the next Read Buffered Data
command may be issued.
Note: If the appropriate amount of scan data is not in the acquisition buffer at the time these commands are
The Scan Available bit in the Status Byte (STB) register may be queried or Serial Polled to determine if there is
any buffer scan data available. For a more complete description of how much data is available in the acquisition
buffer at any particular time, the Buffer Status String (
The Set Query Terminators (
For more information regarding the acquisition buffer terminators, refer to the Set Query Terminators (
command.
Note: In High-speed, single-channel (burst mode), "scan" means one block of 256 samples.
EXAMPLE
S% = 0
While (S% and 8) = 0
PRINT#1 "U1X"
INPUT#1, A$
S%=VAL(A$)
WEND
PRINT#1,"R1X"
LINE INPUT#1, A$
NetScan User's Manual
R
Buffer
Immediate
Rtype
Read scan data from the acquisition buffer where
R?
Query the contents of the data buffer.
) command may only be used to extract data from the acquisition buffer which has
R
issued, a conflict error will result.
Q
) command determines the format for the terminators for acquisition buffer data.
- Read Buffered Data
request being made. Valid options for
currently residing in the acquisition buffer,
trigger block currently residing in the acquisition buffer, and
scan data that currently resides in the acquisition buffer.
R
) command is interpreted, the requested scan
U6
) command may be issued.
' Wait for a scan
' Get the scan
API Command Reference
type
is the type of data
type
are:
1
- Read the oldest scan
2
- Read the oldest complete
- Read all the
3
T
) command.
)
Q
A-41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents