Solution
Source waveform data is always defined using 0’s and 1’s. Starting with
NI-Digital 18.0, it’s possible to replace the 0 and/or 1 in your source waveform with a different value.
As stated in the Help:
"This opcode enables you to use more pin states with source memory by replacing pin states 0 and 1 with pin states 0, 1, H, L, or X. You can add
source_d_replace to any vector to change the interpretation of the source pin states from that vector forward."
To replace values in the source waveform, use the
source_d_replace opcode and provide which pin state you want 0 to map to and which pin state you want 1 to map to.
Valid pin states include
X,
L,
H,
0, and
1.
This opcode can be combined with the source opcode to immediately begin sourcing with replacements. Use the opcode again to remap source pin states.