niHSDIO Configure Idle State

NI Digital Waveform Generator/Analyzer

niHSDIO Configure Idle State

Sets the Idle state of the channels for a dynamic generation operation.

The operation may be idle when the generation operation completes normally, when the generation operation pauses from an active Pause trigger, or when the generation operation terminates because of an underflow error.

Use the pull-down menu to select an instance of this VI.

Idle state (String)

You can specify idle state in either a binary or a string format. This instance of niHSDIO Configure Idle State uses a string format to represent the Initial state of a dynamic pattern generation session.

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
channel list specifies the channels being sampled.
idle state describes the Idle state of a dynamic generation operation.

This expression is composed of characters:

  • X or x: Keeps the previous value
  • 1: Sets the channel to logic high
  • 0: Sets the channel to logic low
  • Z or z: Disables the channel (sets it to a high-impedance state).
Note  NI 656x devices do not support the high-impedance (Z) Idle state.

The first character in idle state corresponds to the first channel in channel list. The number of characters in the pattern must equal the number of channels specified in channel list or an error is returned.

error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Idle state (U32)

This instance of niHSDIO Configure Idle State uses a binary format to only represent logic high and logic low. If you require more choices for your Idle state, use the niHSDIO Configure Idle State (String) VI.

instrument handle identifies your instrument session. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
idle state describes the Idle state across all channels configured for dynamic generation.

idle state defines the bit mask representing the Idle state. High is specified with a 1, and low is specified with a 0. If you need to specify values other than high or low, use the niHSDIO Configure Idle State (String) instance of this VI.

The first character in idle state corresponds to the first channel in channel list. The number of characters in the pattern must equal the number of channels specified in channel list or an error is returned.

Each binary digit of this value is applied to the corresponding channel if it is configured for dynamic generation.

error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
instrument handle out passes a reference to your instrument session to the next VI. instrument handle was obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.