LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get Array Information.vi - decoding the output

Solved!
Go to solution

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

 

Joe Czapski, Principal Test Engineer, SpectraWAVE, Bedford, Mass.
0 Kudos
Message 1 of 2
(1,174 Views)
Solution
Accepted by topic author Station5

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.

Lucian
CLA
Message 2 of 2
(1,144 Views)