03-22-2021 09:30 AM
I'm trying to use the library VI 'Get Array Information.vi' that is located in vi.lib/Utility/Data Type. One of the outputs is a variant named Array Element Data Type. I want to use the Variant To Data function to extract the value of this output, but I don't know its type. Its type is not the typedef 'Data Type.ctl' from the same vi.lib hierarchy. If I try to use that typedef, then I get an error from Variant To Data. How do I extract the value of this Array Element Data Type output?
Thanks very much,
Joe
Solved! Go to Solution.
03-22-2021 10:34 AM
You cannot get the value of the array using the data type parsing VIs, only its type. If you call Get Type Information.vi on that Array Element Data Type variant output, you will get the type of the element. What is this for? Maybe there is a better way.