LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital waveform graph control - colors and FFFFFFFF

I'm using LabView 6i and I'm displaying several bits on a digital waveform graph control, each bit corresponding to one plot on the graph in a simple logic analyser timing waveform style. I have two questions:

Is it possible to show 0/1s on each plot in place of the current 0/FFFFFFFFs? (Or remove this text altogether?)

Is it possible to show a background color to each plot (like a horizontal bar for each plot) so I can tell at a glance whether a line is high or low? I've tried using a property node to change 'Plot area colors BG' and even 'Plot fill to' with no effect.

Many thanks if you can help. Richard.
0 Kudos
Message 1 of 3
(3,080 Views)
Maybe a picture control will help you to customize the graph as you want.

good luck
0 Kudos
Message 2 of 3
(3,080 Views)
OK - I've solved my FFFFFFFF problem for myself. The problem was caused by my misunderstanding of the definition of the Digital Waveform Control mask. For the record, this is a 2-D array. One dimension refers to the plot number on the Control graph (0 is uppermost plot, 1 is the second down and so on). The second dimension says which bit of that plot is affected. The content of each element is used to select a bit from the source data array. I.e. mask element, E, at (N, M) affects bit M of plot N on the graph. The value of E (0 to 31 for 32-bit data array) selects the bit from the source data array. Expanding upon the LabView examples (as always) helps understanding.

I hope that helps someone!

And I thought it was more clever...

I'm still trying to get colors to work... Ric
hard.
0 Kudos
Message 3 of 3
(3,080 Views)