04-08-2026 09:34 AM
In the attached program,I want to be able to control the color of the intensity graph using a framed color box.
I am confused about what numeric representation to use etc.
I was wondering if someone might be able to finish off this part of my program for me?
Solved! Go to Solution.
04-08-2026 10:03 AM - edited 04-08-2026 10:12 AM
The colors of an intensity graph are defined by a color ramp of 256 values (8 bits). The range of z values gets mapped into that range. You can define the marker colors using property nodes.
For a simple 10x10 color board, you could just use a 10x10 array of frameless colorboxes instead.
(On a side note: Why would you need 4 diagram constants with a "10" value if one would be sufficient? Your indicator belongs after the loops, no need to update the indicator 100x in a nanosecond. You'll never see intermediary results unless you place a wait. Why all that code if you want all elements to be the same?)
04-08-2026 10:17 AM
In my test example I am indicating measurement results with color as I sweep XY across a wafer.
I chose a 10 by 10 iterations as an example that would be similar to my program
04-08-2026 10:35 AM
An intensity graph is not a picture. The value of the input array is translated to a color using the Color Map and Zscale Range or Marker Values properties.
See the documentation: https://www.ni.com/docs/en-US/bundle/labview/page/intensity-graphs-intensity-charts.html
It also links to an example: labview\examples\Controls and Indicators\Graphs and Charts\Intensity Graphs and Charts\Intensity Graphs and Charts.lvproj
Use high color and low color to indicate out of range values.
intensity graph color
04-08-2026 11:09 AM
Well as always thank you very much.
I've adjusted my program to reflect the example you gave me and now it works just fine.
04-08-2026 11:09 AM
Yes thank you very much that information is very helpful to me
04-08-2026 04:32 PM
@cordm wrote:
intensity graph color
Why do you divide by 255 and then multiply the result by 255 in the top loop? Seems a bit Rube..
04-09-2026 03:41 AM
First I wanted to use less colors, realized that is not possible and then did not clean it up.
The color table is fixed to 256 colors. If you wire a smaller array for the color table, only the first elements in the color table are replaced.
04-09-2026 08:17 AM
Thank You!