04-17-2013 04:44 PM
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.
04-19-2013 06:36 PM
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!