niHSDIO Configure Idle State VI

NI Digital Waveform Generator/Analyzer Help

Edition Date: June 2013

Part Number: 370520P-01

»View Product Info
Download Help (Windows Only)
Installed With: NI-HSDIO

Sets the state of the channels when the dynamic generation operation is idle. 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. You can specify idle state in either a binary or a string format.

Related Topics

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

Idle State (String)

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

niHSDIO Configure Idle State (String)

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/cstr.gif

idle state specifies the idle 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 (sets it to a high-impedance state).

The first character in idle state corresponds to the first channel in channel list. The number of characters in 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.

/images/reference/en-XX/help/370520P-01/cstr.gif

channel list specifies the channels being configured.

/images/reference/en-XX/help/370520P-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/ierrcodeclst.gif

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

/images/reference/en-XX/help/370520P-01/ibool.gif

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

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

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

niHSDIO Configure Idle State (U32)

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/cu32.gif

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

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

/images/reference/en-XX/help/370520P-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/ierrcodeclst.gif

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

/images/reference/en-XX/help/370520P-01/ibool.gif

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

/images/reference/en-XX/help/370520P-01/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.

/images/reference/en-XX/help/370520P-01/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.

WAS THIS ARTICLE HELPFUL?

Not Helpful