niHSDIO Convert Binary To WDT VI
- Updated2023-02-21
- 8 minute(s) read
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
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.

![]() |
data specifies the high and low values for the digital waveform. |
||||||
![]() |
dt specifies the time between values in digital waveform. |
||||||
![]() |
signal list specifies which bits from data to include in the digital waveform. |
||||||
![]() |
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. |
||||||
![]() |
compress data specifies whether the digital waveform data is compressed. |
||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.
|
||||||
![]() |
digital waveform returns the converted data for the waveform. |
||||||
![]() |
error out contains error information. This output provides standard error out functionality.
|
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.

![]() |
data specifies the high and low values for the digital waveform. |
||||||
![]() |
dt specifies the time between values in digital waveform. |
||||||
![]() |
signal list specifies which bits from data to include in the digital waveform. |
||||||
![]() |
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. |
||||||
![]() |
compress data specifies whether the digital waveform data is compressed. |
||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.
|
||||||
![]() |
digital waveform returns the converted data for the waveform. |
||||||
![]() |
error out contains error information. This output provides standard error out functionality.
|
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. |

![]() |
data specifies the high and low values for driving or comparing data in the digital waveform. |
||||||
![]() |
dt specifies the time between values in digital waveform. |
||||||
![]() |
signal list specifies which bits from data to include in the digital waveform. |
||||||
![]() |
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. |
||||||
![]() |
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. |
||||||
![]() |
compress data specifies whether the digital waveform data is compressed. |
||||||
![]() |
error in (no error) describes error conditions that occur before this node runs. This input provides standard error in functionality.
|
||||||
![]() |
digital waveform returns the converted data for the waveform. |
||||||
![]() |
error out contains error information. This output provides standard error out functionality.
|











