09-17-2020 12:01 PM
I'm seeing an implicit type cast at the type-terminal of variant to data and I'm losing the type definition on that wire. Never seen such behaviour before; vtd usually accepts any type definition. Unfortunately I can't share the code. The TypeDef contains clusters (with booleans, boolean arrays, single, integers) and a variant.
Has anyone seen this before? I'd use TypeCast as a workaround, but it doesn't accept clusters (broken wire).
(LabVIEW 2018 32 bits on Windows 10)
Solved! Go to Solution.
09-18-2020 02:15 AM
I found the culprit to be a fixed size boolean array. Also coerce to type manages to cast it to a typedef.
Sample code attached.
09-18-2020 05:33 AM
You can replace the data indicator with the type definition. You'll get a coercion dot.