[SENSe:]DATA:FIFO:HALF?
[SENSe:]DATA:FIFO:HALF?
returns 32,768 readings if the FIFO buffer is at least
half-full. This command provides a fast means of acquiring blocks of readings from
the buffer.
Comments
•
For acquiring data from continuous scans, your application needs to execute a
SENSe:DATA:FIFO:HALF?
command and a read statement often enough to keep
up with the scan reading rate.
•
Use the
SENSe:DATA:FIFO:ALL?
command to acquire the readings remaining in
the FIFO buffer after the last scan has completed.
•
The format of readings returned is set using the
FORMat:DATA
command.
•
Returned Value: ASCII readings are returned in the form
±
1.234567E
±
123
.
For example 13.325 volts would be
+1.3001
. Each reading is
followed by a comma (,). A line feed (LF) and End-Or-Identify (EOI) follow the
last reading. The C-SCPI data type returned is a string array.
REAL,32, REAL,64, and PACK,64, readings are returned in the
IEEE-488.2-1987 Definite Length Arbitrary Block Data format. This data return
format is explained in the “ Arbitrary Block Program and Response Data” section
on page 156 of this chapter. For REAL,32, each reading is 4 bytes in length (the
C-SCPI data type returned is a float32 array). For REAL,64 and PACK,64, each
reading is 8 bytes in length (the C-SCPI data type returned is a float64 array).
Note
Channel readings which are a positive overvoltage return
IEEE
+INF
and a
negative overvoltage return
IEEE
-INF
(see the table on page 200 for actual
values for each data format).
•
Related Commands:
[SENSe:]DATA:FIFO:COUNt:HALF?
•
*RST Condition: FIFO buffer is empty.
Command
Sequence
SENSe:DATA:FIFO:COUNt:HALF?
Poll FIFO for half-full status.
SENSe:DATA:FIFO:HALF?
Returns 32768 readings.
[SENSe:]
232 HP E1313/E1413 Command Reference
Chapter 5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com