LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

More than 8 channels on digital waveform graph?

I wire an array of unsigned 16-bit integers to the digital waveform graph, and it still only graphs the least significant 8 bits of each number. Is that the limitation of the graph, or is there a property value that I don't see which changes the maximum number of plots on the graph?
0 Kudos
Message 1 of 6
(3,318 Views)
The digital graph defaults to 8 plots because there is only room to show 8. You simply need to grow the graph and it will show all of the plots that it has room for, up to your 16. You may want a smaller graph, but there is a lot to show so it kind of makes sense.
Message 2 of 6
(3,318 Views)
Expanding the chart just leaves the current waveform lines where they are and gives me lot of empty white space. Others in the past have suggested that I wire a U16 or U32 to the chart, but the chart still only recognizes the number as if it's in U8. Autoscale failed to work as well. I attached a very simple file with exactly what I'm doing (LabVIEW 7express). Any help is appreciated.
0 Kudos
Message 3 of 6
(3,318 Views)
You're right. I usually convert things to a digital waveform first. I thought this is what you were doing as well. I am not sure how to make the graph show more plot traces without converting it to a digital waveform so I modified your VI to do this and am attaching it.
0 Kudos
Message 4 of 6
(3,318 Views)
Unfortunately I don't have LabVIEW 7.1 so I can't view your example. Also I don't understand how to convert the data to digital waveform without just clustering it and wiring the cluster to a digital waveform indicator. Could you possibly explain what/where the digital waveform conversion icon is or even attach a PrintScrn of the block diagram?
Thanks.
0 Kudos
Message 5 of 6
(3,318 Views)
Sorry about that. Here it is in LabVIEW 7.0 and an image if your LabVIEW is older than that.

Basically, this VI converts the array of numbers into a 2d array of Booleans and runs them into a Boolean Array to Digital VI. There are other ways to do it as well, but I haven't really used the Digital Waveform Data Type much.
Download All
0 Kudos
Message 6 of 6
(3,318 Views)