Read
- Updated2025-11-11
- 1 minute(s) read
The Read VIs and functions are easy ways 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 and 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_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 VI or
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 automatically.