Accessing The Fifo; Example Program - HP E1313A Manual

High speed a/d module
Table of Contents

Advertisement

Accessing the FIFO

Note

Example Program

Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The command we will use here to access the contents of the FIFO buffer is
[SENSe:]DATA:FIFO:PART? <
number of readings specified by
The command completes only after n_readings have been transferred. This
is not the only FIFO data retrieval command. There are four other
commands and they are covered in " Advanced FIFO Data Retrieval"
beginning on page 101.
Channel readings which are a positive overvoltage return
negative overvoltage return
To transfer readings from the instrument, simply set
number of readings to be made during all scans. The following is a guide:
n_readings = (number of channels in Scan List) × (number of scans)
The number of channels is determined by the
command. The instrument executes one scan per trigger. The
TRIGger:SOURce
,
TRIGger:COUNt
determine how many times the list of channels will be scanned. When
INITiate:CONTinuous
is
ON
TRIGger:SOURce
and the specified
scans.
To transfer 1,024 readings from the instrument:
SENS:DATA:FIFO:PART? 1024
Execute program input statement here.
An example C-SCPI program (using.cs) is located on the C-SCPI driver
tape, and example C and Visual BASIC program (using.xx) is on the
driver/example program disk. These programs put together all of the steps
discussed so far in this chapter.
n_readings
>
. This command returns the
n_readings
(2,147,483,647 maximum).
<
>
IEEE -INF
.
<
n_readings
ROUTe:SEQuence:DEFine
, and the
INITiate:CONTinuous
, the number of triggers generated by
TRIGger:COUNt
control the number of
Completes after 1,024 readings
are accepted by an input statement.
Must take all readings specified
above.
Using the HP E1313/E1413
IEEE +INF
and
>
to the exact
mode
91

Advertisement

Table of Contents
loading

This manual is also suitable for:

E1413c

Table of Contents