Ok so here is the problem. I have a program written in VB.NET that will use Microsoft Access 2000 to look up and display information from a database for the user. It is very simple code however I need this application to be able to interact with a LabVIEW 7.0 program. The goal is for the user to interface only with .NET but have a button that starts the LabVIEW program and then compares the results from the LabVIEW test with those stored in the database. Is it possible for VB.NET to communicate with LabVIEW 7.0 or should I try a differnt method?
Sure you can do this. THe best way would be to create a DLL in LV that you can call directly from VB. You can pass inputs and outputs to and from the DLL also. You will need the application builder toolkit and be sure to define your function prototype the same way you do in VB. Hope this helps.
You can create a DLL in LabVIEW from a VI. To do this simply: Click Tools >> Build Application or Shared Library. Select "Shared Library" from the "Build Target" pull down menu. Select a target name, destination directory, and a support file directory. Click on the "Source Files" Tab. Select "Add Top Level VI" Then select the VI you would like to make into a DLL.
Let me know if I can be of more help.
Sean C. Applications Engineer National Instruments