LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I would like to know how to link dll's of other softwares to labview

Hi,

I am trying to link Labview with another simulation software. I need to know how to call the other software in Labview and then make the software to run some simulations and finally get the data from that software back to Labview and then use that data in the Labview to control the hard ware accordingly.

All suggestions are most welcome.

Thanks
Ajit R Nalla
Uni Of Delaware
0 Kudos
Message 1 of 3
(2,644 Views)
The first thing to do is to read the manual called "Using External Code in LabVIEW". You can get to it by going to the help menu and selecting Search th LabVIEW Bookshelf. There is a function on the Advanced palette called Call library Node. This is used for calling a DLL. Reading the manual is the easy part. The hard part (usually) is going to be getting all of the required information from the vendor of the DLL. That means an explanation of each function in the DLL and the calling parameters for them. Some programs also have an ActiveX interface so that may be an option as well.
Message 2 of 3
(2,644 Views)
In addition, read up on shared memory in a dll. Since there will be two processes running the dll ( yours and thiers ), two copies
of the dll will be loaded. There are a few ways to tranfer data back and forth. Shared mem, file mapping and good old disk file
storage.

Have fun
"Ajit" wrote in message news:5065000000080000000FBF0000-1075935269000@exchange.ni.com...
> Hi,
>
> I am trying to link Labview with another simulation software. I need
> to know how to call the other software in Labview and then make the
> software to run some simulations and finally get the data from that
> software back to Labview and then use that data in the Labview to
> control the hard ware accordingly.
>
> All suggestions are most welcome.
>
> Thanks
> Ajit R Nalla
> U
ni Of Delaware
0 Kudos
Message 3 of 3
(2,644 Views)