niHSDIO_ConfigureIdleStateU32

NI Digital Waveform Generator/Analyzer

niHSDIO_ConfigureIdleStateU32

Specific Function

C Function Prototype

ViStatus niHSDIO_ConfigureIdleStateU32 (ViSession vi, ViUInt32 idleState);

Purpose

Sets the Idle state for a dynamic generation operation. The Idle state may be active in a variety of conditions:

  • The generation operation completes normally.
  • The generation operation pauses from an active Pause trigger.
  • The generation operation terminates due to an underflow error.

Unlike niHSDIO_ConfigureIdleState which uses a string, this function uses a binary format to only represent high and low. If you require more choices for your Idle state, use the niHSDIO_ConfigureIdleState function.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from niHSDIO_InitGenerationSession.
idleState ViInt32 Specifies the bit mask representing the Idle state. High is specified with a 1, and low is specified with a 0.

The first character in idleState corresponds to the first channel in channelList. The number of characters in the pattern must equal the number of channels specified in channelList, or NI-HSDIO returns an error.

Return Value