LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Intensity graph and its "interpolate color" option

Dear Devs,

 

using LV2013.02f, my intensity graph never redraws correctly (it remains black), after I uncheck and check the "interpolate color" option in the right-click menu for the z-axis. Is this reproducible for anybody, please?

 

Note: There are more situations when the intensity graph remains black after changing some options, but I could not reproduce them systematically. Any ideas what to use instead of it to display 2D arrays of values?

 

Cheers,

0 Kudos
Message 1 of 9
(5,236 Views)

Hi ghi,

 

an example would be nice to actually see the whole picture...

 

- Did you enable autoscaling of z axis?

- Which data (values) are you displaying?

 

You could also use a 3D graph to display 2D arrays...

 

Well, ghi decided to open a duplicate thread on the same topic...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 9
(5,233 Views)

Dear GerdW,

 

thank you for the suggestion: I am displaying a 2D array of DBL values. The excerpt from my Vi is attached with saved values. Steps to reproduce:

- run the VI: the graph is filled with color (vertical stripes)

- right-click on the z-axis color bar and deselect "interpolate color"

- run the VI: the graph will turn black

- change the "interpolate color" option

- run the VI: the colors will never come back (except for the remaining black)

 

Cheers,

 

P.S. Posting the message exhibited the following message: "The contents of the attachment doesn't match its file type.". Therefore I wrapped my VI into an 7-Zip archive.

0 Kudos
Message 3 of 9
(5,223 Views)

Hi ghi,

 

the forum has severe Upload-problems...

 

Can't open LV2013 VIs right now, so you have to wait for someone else to step in...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 9
(5,212 Views)

Dear users,

dear GerdW

 

Related issue:

Intensity graph displays a black z-axis color bar

 

The issue(s) are connected to the positions of the markers on the color bar. I converted the VI to a 2010version (again, wrapped in a 7-Zip archive), I hope that helps for now.

 

Now, when I multiply my 2D array with a suitable high- and at the same time low-enough value (multiplier=1E+34) -- 1E+33 is too low, 1E+35 is already too high; then the markers of the color bar are visible suddenly. The "interpolate color" and the blackness of the graph can be now manipulated and adjusted.

 

So now, I have to remember that the default markers' positions are (0,50,100) and there is no way to change them before I extend the values of my array over this region suitably. Seriously, I went through all the right-click on the z-axis menu items and executed them one-by-one. None of those brought the z-axis color bar or the colors back into the graph again.

 

Q: How should a novice know about it? Isn't there a "reset all markers, distribute them equally and show all values in the default spectrum color" button somewhere, and did I missed it?!

 

Cheers,

 

0 Kudos
Message 5 of 9
(5,195 Views)

Dear users,

 

so, if anybody is interested and also to suit my bad memory, I am posting a screenshot of a solution to set the markers and to display all the available data in the array automatically.

 

 set markers automatically (screenshot).png

 

Cheers,

0 Kudos
Message 6 of 9
(5,164 Views)

Hi ghi,

 

hint: you should use colorboxes instead of U32 constants. Or atleast set them to display hex values...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 7 of 9
(5,149 Views)

I have a  similar but somewhat unique case. My intensity graph has alwayys worked  and this particular one has been working on this particular vi. I just don’t know what has changed., but all of a sudden any intensity graph on that vi remains black. I have tried your ideas here no luck. If I clone the same graph onto another vi it works OK but as long as it sits on this partiicular vii, it displays black. The color ramp displays OK  but the graph remains black. No auto scaling applied. Cannot share the VI

[BADGE NAME]

0 Kudos
Message 8 of 9
(4,256 Views)

Hi all,

i had the same problem when selecting 'interpolate color' option.

In the LV Development system when vi is running, this selection is working but not in the executable!

Please find the attached vi, create an exe to see the fix working.

snippet.png

 

 

Kudos always welcome for helpful posts 🙂
0 Kudos
Message 9 of 9
(3,850 Views)