niHSDIO Configure Initial State

NI Digital Waveform Generator/Analyzer

niHSDIO Configure Initial State

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

The Initial state of each channel is driven once the operation is initiated using the niHSDIO Initiate VI. Channels remain unchanged until the operation is initiated. The Initial state is active once the session is initiated until the first waveform sample is generated.

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

Initial state (String)

You can specify initial state in either a binary format or a string. This instance of niHSDIO Configure Initial 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.
initial state describes the Initial 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 or sets it to a high-impedance state
Note  NI 656x devices do not support the high-impedance (Z) Initial state.

The first character in initial 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.

Initial state (U32)

This instance of niHSDIO Configure Initial State uses a binary format (1s and 0s) to represent the Initial state of a dynamic generation session. If you require more choices for your Initial state, use the niHSDIO Configure Initial State (String) instance of the niHSDIO Configure Initial State 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.
initial state describes the Initial state of a dynamic generation operation. initial state defines the bit mask representing the Initial state. High is specified with a 1, and low is specified with a 0. If you need to specify values other than high and low, use the niHSDIO Configure Initial State (String) instance of this VI.

The first character in initial state corresponds to the first channel in channelList. The number of characters in the pattern must equal the number of channels specified in channelList 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.