From 6:00 PM CST Friday, Feb 15th - 2:00 AM CST Sunday, Feb 17th, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Convert Binary To WDT (Convert Binary To WDT Stimulus And Response Data (U32)) (G Dataflow)

Last Modified: August 30, 2018

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

spd-note-note
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.

connector_pane_image
datatype_icon

data

The specified high and low values for driving or comparing data in digital waveform.

datatype_icon

dt

The specified time between values in digital waveform.

datatype_icon

signal list

The specified bits from data that you want to include in the digital waveform.

datatype_icon

drive enable

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.

datatype_icon

compare enable

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.

datatype_icon

compress data

Parameter that specifies whether the digital waveform data is compressed.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

digital waveform

The returned converted data for the waveform.

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics