LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alternative to ExportVIStrings

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?

0 Kudos
Message 1 of 3
(2,407 Views)
Anyone?
0 Kudos
Message 2 of 3
(2,380 Views)

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

0 Kudos
Message 3 of 3
(2,356 Views)