LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart -> color box?

Hello,

i'm displaying my 8 input measures  (10bits) on 8 waveform charts.
I would like to display those values aswell in 8 "dynamic colorboxes" changing color accrodingly to the input (from 0 to 1023)

I undertand that you can somehow write into the last 3 bytes of the color 32 color bytes, but I dont get how to do it.
Ideally it would put my full data byte into the blue color byte for example, and the 2 MSB's into the green one?

Not sure i got this right, i hope someone understood what i meant to ask 🙂

Thank you a lot

0 Kudos
Message 1 of 4
(2,094 Views)

If I were you I would check out the Color Ramp indicator on the Classic Palette.

0 Kudos
Message 2 of 4
(2,082 Views)

Why do you want to edit the colour bytes? can you not chose a different colour, represented in a certain bit pattern for different colours?

 

Is this what you are looking for? http://labviewwiki.org/Color

0 Kudos
Message 3 of 4
(2,079 Views)

Since blue (the lowest byte) is only 8 bit moving from 0 to 1023 will cycle through black to blue multiple times.

You can experiment with the RGB VIs (search for RGB) but I personally would recommend scaling -- see below.

 

RGB.png

0 Kudos
Message 4 of 4
(2,077 Views)