niHSDIO Convert Binary To WDT 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

Converts unsigned binary data into the digital waveform data type (WDT). Use this VI to easily create extended state (0, 1, H, L, X, Z) digital waveforms from binary data.

Related Topics

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

Stimulus Data

Converts binary data to drive low (0) or drive high (1) digital waveform data types. You can specify a bitmask to create tristate (Z) data.

niHSDIO Convert Binary To WDT Stimulus Data (U32)

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

data specifies the high and low values for the digital waveform.

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

dt specifies the time between values in digital waveform.

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

signal list specifies which bits from data to include in the digital waveform.

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

drive enable specifies the bitmask that selects between tristating and driving the value selected in the data. Bits set to 0 translate to Z (tristate), and bits set to 1 translate to the value of the corresponding bit in data. If drive enable is empty, all the values in the array translate to 0 and 1.

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

compress data specifies whether the digital waveform data is compressed.

/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/idigwfm.gif

digital waveform returns the converted data for the waveform.

/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.

Response Data

Converts binary data to expect low (L) or expect high (H) digital waveform data types. A bitmask may be specified to create don't care (X) data.

niHSDIO Convert Binary To WDT Response Data (U32)

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

data specifies the high and low values for the digital waveform.

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

dt specifies the time between values in digital waveform.

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

signal list specifies which bits from data to include in the digital waveform.

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

compare enable specifies the bitmask that selects between X (ignore) and a compare value determined by the data array. Bits set to 0 translate to X, and bits set to 1 translate to L (compare low) or H (compare high) depending on the value of the corresponding bit in the data array. If this array is empty, all the values in the data array translate to L and H.

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

compress data specifies whether the digital waveform data is compressed.

/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/idigwfm.gif

digital waveform returns the converted data for the waveform.

/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.

Stimulus and Response Data

Compiles binary data to bidirectional drive (0, 1, Z) and compare (H, L, X) data.

Note  A bit cannot be set to 1 in both the drive enable and compare enable arrays. Comparing values (H, L, and X) always causes the channel to be set to tristate.

niHSDIO Convert Binary To WDT Stimulus And Response Data (U32)

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

data specifies the high and low values for driving or comparing data in the digital waveform.

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

dt specifies the time between values in digital waveform.

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

signal list specifies which bits from data to include in the digital waveform.

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

drive enable specifies the bitmask that selects between tristating and driving the value selected in the data. Bits set to 0 translate to Z (tristate), and bits set to 1 translate to the value of the corresponding bit in data.

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

compare enable specifies the bitmask that selects between X (ignore) and a compare value determined by the data array. Bits set to 0 translate to X, and bits set to 1 translate to L (compare low) or H (compare high) depending on the value of the corresponding bit in the data array. If this array is empty, all the values in the data array translate to L and H.

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

compress data specifies whether the digital waveform data is compressed.

/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/idigwfm.gif

digital waveform returns the converted data for the waveform.

/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