03-03-2019 12:51 AM
There is Invoke Node Set connector pane. It modifies control (VI ref type). The node works well for setting connector pane of existing VI to control; i.e. connector pane is read from VI (as Variant) and set to control.
Is there any way to assemble this Variant without involving any source VI?
May be there is a way for modifying this Variant?
Solved! Go to Solution.
03-03-2019 11:48 AM
What do you mean by "involving any source VI"?
Look at what data is contained in that variant wire as an example for what it is looking for. Then use variant functions to build it. It might be clusters, it might be variant attributes. It could be anything.
03-03-2019 10:23 PM
Yes, it could be anything. See:
The Variant type is VI. Get VI Information receives this Variant and returns all info about terminals.
I need something opposite; i.e. I need to "wrap" array of variants (VI Terminal Types) in Variant of VI type.
03-04-2019 02:41 PM
Your best option may be to flatten-to-string, identify and replace the VI terminal types, and unflatten.
03-04-2019 04:34 PM
The following VI allows you to construct a VI data type (i.e. a conpane data type):
LabVIEW 20xx\vi.lib\Utility\Data Type\Set VI Information.vi
Note that this VI is not officially supported by NI.
03-10-2019 05:45 AM
Thank you Darren, it works well.
There are other problems with setting terminal pattern but I am not sure they are related to this VI. I shall ask more if not succeed on my own.