07-26-2016 11:24 AM
How to avoid coercion dot when building array of references of different data type.
For disabling or enabling wanna a create a one SubVI for disabling or enabling controls instead of creating separate property node for individual controls.
When building array of references of different data type, getting coercion dot at inputs of build array(which is against the CLD style or generally its require to avoid coercion dot.)
Can anybody help in the above issue.??
Hemant
Solved! Go to Solution.
07-26-2016 08:20 PM
You could use To More Generic Class. If I barely failed because of those coercion dots, I would ask to argue the results.
07-28-2016 07:16 AM
Thanks Crossrule for your answer.
So its means for every control one TO MORE GENERIC CLASS function VI, Right??
Hemant
09-26-2016 08:47 PM
@LV_COder wrote:Thanks Crossrule for your answer.
So its means for every control one TO MORE GENERIC CLASS function VI, Right??
Hemant
Actually, I believe crossrulz said "the coersion dot in this case is fine" The referencec are being coerced to a more generic class The property "Enabled" is common to all control objects. So, no big deal for that coersion (and, it may be safer than "To more generic class") Now, if you really still want to get rid of those coersion dots.... Just shut them off in the LabVIEW.ini