Fastest Reading
Transfer
This command set is made up of the following commands:
SENSe:DATA:FIFO:COUNt:HALF?
Determine if there are at least
32,768 readings in the FIFO.
SENSe:DATA:FIFO:HALF?
Transfer one half of the FIFO
(32,768 readings).
SENSe:DATA:FIFO:ALL?
Return the remaining readings
from the FIFO after scanning is
complete.
What makes this method fastest is that
[SENSe:]DATA:FIFO:HALF?
and
[SENSe:]DATA:FIFO[:ALL]?
have no parameters for the driver and
instrument to process.
The program flow is almost the same as described in the General Form
section earlier. The difference is in the right side of Figure 4-3 where there
is no decision block to determine the number of remaining readings. Since
[SENSe:]DATA:FIFO[:ALL]?
will complete even if there are no readings in
the FIFO, you do not need to check for them.
Note
The example program fast.cs on your C-SCPI driver tape shows how to
retrieve data using the above commands.
Figure 4-3. Fastest Reading Transfer
106 Understanding the HP E1313/E1413
Chapter 4
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com