07-14-2014 02:53 AM
I am creating an VI scripting subvi, but I can't create and use the created subvi in general cases, because it has specific Refnum type.
Is there one general Refnum type or a way how to implement automatic type specifier in subVI input?
For example (attached photos), I have a subVI with Generic VI Reference, but if I want to use the subVI function in Flat Sequence Structure then I have to have a subVI with different Refnum type (Flat Sequence Refnum).
Solved! Go to Solution.
07-14-2014 03:18 AM - edited 07-14-2014 03:20 AM
The LabVIEW object hierarchy is not fully hierarchical. VI and application refnums existed before there was anything like a fully designed object hierarchy in the LabVIEW interface. As such they don't really fit in the normal object hierarchy but are distinct classes besides the LabVIEW object hierarchy. Therefore there is no common ancestor that could serve as class parent for both VI and application refnums and any other object refnums in LabVIEW. Same about other types of refnums like file IO, VISA, DAQmx, etc. These are all distinct refnums that have no common ancestor in the LabVIEW object hierarchy.