LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string text color

I am trying to do the following.

 

I have a VI which updates the current weight of an item and compared it to the initial weight through division, when it is between 10%<item<25% I have it inserting into an array (that has all the item information) a string that says "Item Low". Then if it is below 10% this message will read "Item Critically Low". So this writes into a particular item's row in the last available column. What I am looking to do is make it user friendly by displaying the message as a color, which would be yellow for Low and Red for critically low. I can't do a property node for the entire string array on the front panel because I only want this color in one particular cell. Is there any way that I can just change the font color of the string that I have attached to the newelement/subarray node in the insert into array icon.

0 Kudos
Message 1 of 5
(2,969 Views)

Use the CellBG property .. something like this

 

 

 

Regards
Guru (CLA)
0 Kudos
Message 2 of 5
(2,967 Views)

Hello Ryan,

 

Did that solve your question?

National Instruments
0 Kudos
Message 3 of 5
(2,938 Views)
I'm not sure, this solution uses a Listbox and I am using an array indicator to display the info.
0 Kudos
Message 4 of 5
(2,932 Views)

You can't change the properties of individual elements in an array.

 

An array consists of elements that must all have the same properties, the only difference is the value of the individual elements.

0 Kudos
Message 5 of 5
(2,915 Views)