NI-HSDIO LabVIEW VIs

niHSDIO Configure Initial State VI

  • Updated2023-02-21
  • 6 minute(s) read
Installed With: NI-HSDIO

Sets the Initial state for a dynamic generation operation.

The Initial state of each channel is driven after the operation is initiated using the niHSDIO Initiate. Channels remain unchanged until the operation is initiated. The Initial state is active after the session is initiated and until the start trigger generates the first waveform sample. You can specify initial state in either a binary format or a string.

Related Topics

Initial State (String)

This instance of niHSDIO Configure Initial State uses a string format to represent the initial state of a dynamic generation session.

niHSDIO Configure Initial State (String)

civrn.gif

instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI.

cstr.gif

channel list specifies the channels being configured.

cstr.gif

initial state specifies the initial state of a dynamic generation operation.

This expression is composed of characters:

  • X or x—Retains 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.

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 the VI returns an error. For example if you are trying to make three channels tristate then the idle state control needs to be "ZZZ" without any commas or spaces.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

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.

ci32.gif

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.

cstr.gif

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.

iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

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.

istr.gif

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 String instance of the niHSDIO Configure Initial State VI.

niHSDIO Configure Initial State (U32)

civrn.gif

instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI.

cu32.gif

initial state specifies 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.

cerrcodeclst.gif

error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.

cbool.gif

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.

ci32.gif

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.

cstr.gif

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.

iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

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.

istr.gif

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.

Log in to get a better experience