Read

NI Digital Waveform Generator/Analyzer

Read

The Read functions are an easy way to acquire data from the device. These functions initiate an acquisition, fetch the acquired data, and return control to your program after all the requested data has been acquired. If you have not configured a Start trigger, the device immediately begins acquiring the data.

The Read VIs/functions are shown in the following table.

LabVIEW VIs C Functions
Use one of the following instances of the niHSDIO Read Waveform polymorphic VI:
  • niHSDIO Read Waveform (U32)
  • niHSDIO Read Waveform (U16)
  • niHSDIO Read Waveform (U8)
  • niHSDIO Read Waveform (WDT)
  • niHSDIO Read Multi Record (2D U32)
  • niHSDIO Read Multi Record (2D U16)
  • niHSDIO Read Multi Record (2D U8)
  • niHSDIO Read Multi Record (1D WDT)
niHSDIO_ReadWaveformU32
niHSDIO_ReadWaveformU16
niHSDIO_ReadWaveformU8
niHSDIO_ReadMultiRecordU32
niHSDIO_ReadMultiRecordU16
niHSDIO_ReadMultiRecordU8

You can configure the maximum length of time to allow the measurement operation to complete. If the measurement operation does not complete within this time interval, the function returns a timeout error.

Note  If you are programming in C, you must declare an array in your program. This array allocates space for the data that is acquired with the read function. LabVIEW users do not need to declare an array because the niHSDIO Read Waveform VI handles the array.