ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

IntensityChart ColorTable Bug/feature?

I have a problem with the properties ColorTbl and ZScale.MarkerVals[] of a IntensityGraph in LabView7.1.

Description: I have a (main) vi with an intensity graph. This graph shows a picture (let's say: mandelbrot) with a color ramp. Now I want to change the colors. To do that I wrote a (sub)vi to handle palette file loading/saving/editing. This vi can set the colors in the main vi by using reference/property node. Everything works fine if I use only ZScale.MarkerVals[].
Now the problem: I want to rotate the colortable. To do so I get the property ColorTbl, rotate the array and write back to ColorTbl. After the first (!) write to property ColorTbl I cannot set the colors correctly with ZScale.MarkerVals[] anymore. The intensity gr
aph only takes the setpoint values, but not the color values of the MarkerVal-cluster (you see the markers move on the color/z-scale, but the colors don't change). I can reproduce this bug/feature again and again...
Is this a bug or a feature? Is it not allowed to mix old style (ColorTbl) and new style (ZScale.MarkerVals) properties of the IntensityGraph?

TIA
GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 1 of 3
(2,827 Views)
Forgot to attach a picture...

TIA GerdW
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,827 Views)
Hello,

Try to use the property ZScale.Flipped.

Hope this helps!

Regards
Michael Sallaberger
0 Kudos
Message 3 of 3
(2,827 Views)