Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

digital display

hello,
 
I am writing four bits to a port is there any way I can display does bits in graph.
 
Thanks
0 Kudos
Message 1 of 2
(2,966 Views)

aztlan,

I'm assuming 2 things: you are using LabVIEW 7.1, and your data is an array of some unsigned integer type.

Displaying binary data formats in the LabVIEW digital graph is a commonly asked question. In LV 7.1, the digital waveform graph only supports the Digital Waveform Datatype. Therefore you must convert your array of unsigned integers into a Digital Waveform Datatype.  The easiest method (not the fastest though) is to convert your integer array into a 2d array of booleans, then use a LabVIEW VI called DWDT Boolean Array to Digital.vi.  I've included a VI that demonstrates how to do this.

Another thing to know is that in LabVIEW 8.0, a new VI was added that specifially converts arrays of unsingned integer types directly to DWDT.

-Jared

0 Kudos
Message 2 of 2
(2,949 Views)