niHSDIO_ReadStaticU32

NI Digital Waveform Generator/Analyzer

niHSDIO_ReadStaticU32

Specific Function

C Function Prototype

ViStatus niHSDIO_ReadStaticU32 (ViSession vi, ViUInt32* readData);

Purpose

This function immediately reads the digital value on channels configured for static acquisition. Configure a channel for static acquisition using the niHSDIO_AssignStaticChannels function. Channels not configured for static acquisition return a zero.

Values obtained from static read operations are affected by data interpretation.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from niHSDIO_InitAcquisitionSession.
readData ViUInt32 Bit-value of data read from channels configured for static acquisition.

The least significant bit of readData corresponds to the lowest physical channel number (for example, readData of 0x00F0 means channels 4-7 are logic one, while the remaining channels are logic zero or are not configured for static acquisition).

Return Value