12-14-2015 03:56 AM
hi,
it is possible can i change a array. single element Back color or text color change.
12-14-2015 04:02 AM
Hi Gokul,
nope, all array elements share the same set of properties (except value)!
- You could create a cluster of your element and a color box. Set the element transparent and in front of the colorbox. Then change the color of the colorbox.
- You could use tables/listboxes. Here you can set background colors of cells/rows…
12-14-2015 04:09 AM
hi,
pls send me example i m using labview8.2.so pls send this supported formet.
12-14-2015 04:18 AM
Hi gokul,
step by step:
- put a cluster on your FP
- move a (classic) numeric indicator in the cluster
- move a colorbox indicator in the cluster
- set the numeric as frontmost, set it transparent using the color tool, move it in front of the color box
Now switch to the block diagram. Create a constant for that cluster and set any values you like for numeric and color…
12-14-2015 09:03 AM
Alternative method putting the data in a Table control where you can change the background of individual cells
Written in 2015 but saved for 8.2 - dont have 8.2 so couldn't test the resulting vi. Hope it helps
Ken
12-14-2015 10:35 AM
Yes, a table is the way to go!
If the table is large, don't forget to disable front panel updates during the loop where the colors are set.
Here is a very old (LabVIEW 8.0) example that show some of the basic methods how you could change the font color depending on the cell contents (testset2MOD.zip). Changing the background color would just use a dufferent cell property, so modify as needed. (from this old discussion)
Se also the top picture of this cool idea.