Invert Digital VI

Owning Palette: Digital Waveform VIs and Functions

Requires: Base Development System

Inverts the digital data in the digital input so that a 0 becomes a 1 and vice versa or an H becomes an L and vice versa. Wire data to the digital waveform input to determine the polymorphic instance to use or manually select the instance.

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

 Add to the block diagram  Find on the palette

DWDT Invert Digital

digital waveform is the input digital waveform.
response to invert error specifies what to do if any value in the digital input is not a 0, 1, H, or L.

0Warn but Convert (default)—Any values that are not 0, 1, H, or L are left unchanged and a warning is returned in error out.
1Fail—The VI returns an empty inverted digital output and returns an error in error out.
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
signal index specifies the signal at which to begin inverting data. The default is 0, which inverts all signals.
number of signals specifies the number of signals to invert, beginning with the signal at signal index.
inverted waveform contains the inverted waveform.
error out contains error information. This output provides standard error out functionality.

DTbl Invert Digital

digital data is the set of input digital data.
response to invert error specifies what to do if any value in the digital input is not a 0, 1, H, or L.

0Warn but Convert (default)—Any values that are not 0, 1, H, or L are left unchanged and a warning is returned in error out.
1Fail—The VI returns an empty inverted digital output and returns an error in error out.
error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

This node runs normally even if an error occurred before this node runs.
signal index specifies the signal at which to begin inverting data. The default is 0, which inverts all signals.
number of signals specifies the number of signals to invert, beginning with the signal at signal index.
inverted digital data contains the inverted digital data.
error out contains error information. This output provides standard error out functionality.