From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to expose parameters in LabView to be accessed from ActiveX?

I am not a LabView programmer.  I was given the task to invoke a LabView VI and pass some parameters to it from Visual Basic.  I found this good example http://zone.ni.com/devzone/cda/epd/p/id/1182, but it didn't provide the source code on the LabView side.    Can someone give me an  example of how to expose parameters in LabView, so I can use  vi.Call(paramNames,paramVals)?  Thank you very much. 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(2,119 Views)

LabVIEW exposes the parameters of a VI by associating the inputs and outputs of the VI to the VI's connector pane. You can do this by selecting a location on the connector pane and then clicking on which input/output you want to associate with that terminal. I have attached a link below to a youtube video that shows how to do this:

-LabVIEW Tips: Create a connector pane for a subVI

http://www.youtube.com/watch?v=OFfD59YSn3w

 

If you still have any questions about this just let me know!

dK
0 Kudos
Message 2 of 2
(2,069 Views)