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: 

boolean array

Hello to all,
Welcome back.
I would like to ask you a question:
I would like to concatenate a string array with a boolean array ...
Is it possible?

Thank you very much!

0 Kudos
Message 1 of 4
(3,076 Views)

All elements of an array must have the same datatype, so you cannot concatenate them directly.

 

(You can e.g. make a cluster of the two arrays). Please explain why you think you need this. What is the use of the resulting data structure you want. I am sure there is a better solution.

0 Kudos
Message 2 of 4
(3,072 Views)

Thank you for your immediate response.
I have a table (from an array) whose rows show various temperature data.
I do turn on a green LED when the temperature goes well, an orange when it rises above a limit and a red when it exceeds a maximum threshold. All this I would do it in the same table (as a matter of order).
(An alternative would be to paint in green, orange or red rows in the table, depending on the case ... but I do not know if we can do.)
Thanks

0 Kudos
Message 3 of 4
(3,066 Views)

You could change the table cell background or font color according to the boolean value.

 

Here is a link discussion a simple example.

0 Kudos
Message 4 of 4
(3,056 Views)