09-04-2024 09:10 AM
I am trying to loop through a cluster of boolean control references and assign a value to them that comes in from another array. (In the image trying to replace the black circle on the left with the green circle on the right).
I tried following the instructions here:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YHdmCAG&l=en-US
which make sense but I can't figure out how to adapt it for my data type.
Thanks for the help!
Solved! Go to Solution.
09-04-2024 09:17 AM - edited 09-04-2024 09:18 AM
Try this
09-04-2024 09:21 AM - edited 09-04-2024 09:24 AM
I appreciate the reply!
Sorry can you guide me with what you did here:
what did you place down on the block diagram first to get that boolean?
Also - what should I put in the case structure for Class ID?
thanks!
EDIT: I see now how to place the boolean item there, application control --> Class Specifier Constant
09-04-2024 09:26 AM - edited 09-04-2024 09:27 AM
you get it from here
09-04-2024 09:30 AM
Also maybe use this for the case structure
09-04-2024 09:30 AM
got it, thanks.
What about the case selector for classID?
"Boolean" turns red.
09-04-2024 09:37 AM
If all the elements are of the same type it's easy to convert it to an array.
09-04-2024 09:37 AM
Check my reply above. You replied before I figured out how to do it.
09-04-2024 09:38 AM
Yamaeda's way seems like a better way to do it.
09-04-2024 09:44 AM
Thanks for the suggestion.
Unfortunately all the data types are not the same, there is a mix.