Product specifications

Instrumentation Laboratory Exercise 44
We must wait for the data to be read before we can display it, so we
will have to include a loop which waits for completion of the
digitization. The first Direct I/O box (called INITATE) sets up channel
102, and starts the digitization process. We then need to pole it to see
if it is ready. The second Until Break operates the Direct I/O box
called STATUS? Which asks "Is the wave complete?" ("WAV:COMP?")
and reads the answer as STAT (Status). If the DAQ device has not
finished, it loops on the STATUS? box, when completed it breaks out
to the third Direct I/O box, called DATA, which reads the data into an
array called RAW:
1 "ROUT:VOLT:POL UNIP, (@102)" // Sets the input to
unipolar mode
2 "ROUT:CHAN:RANG 10 (@102)" // Sets the channel to a
10 V maximum input
3 "ROUT:CHAN:STYP NRSE (@102)" // Sets the channel to be
read relative to ground
4 "ROUT:SCAN (@102)" // Tells the DAQ to scan
channel 102 only
5 "ACQ:POIN 1000" // Sets up to read 1000
points
6 "ACQ:SRAT 80000" // Sets up read frequency
of 80 kHz
7 "DIG" // Starts the digitization
process