07-24-2008 10:34 AM - edited 07-24-2008 10:35 AM
07-24-2008 11:07 AM
07-24-2008 11:08 AM - edited 07-24-2008 11:17 AM
In my opinion the best way is to use the ActiveX Automation interface.
Make an application from your LV program and check the box in the Build Properties to active the ActiveX server.
From the VB side you must open a reference to the automation server and the VI. You can set the controls,run the VI and get the reult back.
Make a search in the tutorials or knowledge base with VB ActiveX and LabVIEW. There was example code creted by NI.
in labview\examples\comm\freqresp.xls is an example shipping with LV how to do this in MS Excel.
Added:
There was an overlap in our posts.
I don't know VB.Net, I have little knowledge about VB. In VB I created variables of type variant and filled the part according to the data type in LV. Go in the LV help to Fundamentals>>Windows Connectivity>>Concepts>>Using ActiveX with LabVIEW. Start from there to find the technics and information your VB programmers need. There should be a table how to map LabVIEW data types to varant data types.07-24-2008 11:42 AM
07-24-2008 12:43 PM
07-24-2008 02:12 PM - edited 07-24-2008 02:12 PM