06-24-2009 02:37 AM
I have a .NET application in which I call a VI and process its results. This is done via the COM interface for LabVIEW 8.5. Now I would like to determine automatically the input and output parameters of a VI. I already found the ExportVIStrings function that exports all controls of the VI to a text file. This export however contains no information of which controls are connectors and whether they are input or output parameters.
I would like to have a method that enumerates the connectors of a VI and their type (input/output): a bit like the parameter window that you have when you add a VI to TestStand. How can this be achieved?
06-25-2009 02:07 AM
07-02-2009 06:51 AM
Hello Sven,
I think that the attached example will help you get on the right track. You'll need to give the path of the vi and it will return a list of all the Control Names + values, together with a list of all the Indicator Names + values.
The example is based on this article
Let us know if this solves your problem.
Kind Regards,
Wouter Van Hoof
National Instruments