LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in calling DLLs made in LabVIEW in other LabVIEW application

Dear Friends,

Problem in calling dll files in LabVIEW,dll files made in LabVIEW.

Pls find main LabVIEW file. (Test.vi). I made dll file from this. Use Std conversion function for this. "Dll" "H" and "Lib" files for this are as attached. (test1.dll, Test1.h, Test1.lib).

Now I call this dll file in other labview program and it is not working. LabVIEW program with dll calling (dllTest.vi). It exit from the LabVIEW by giving an error. Close labview also.

I tried with different combintation of datatype also. I had tried to make dll using standard (Win API) conversion also. but this doesn't work.
0 Kudos
Message 1 of 2
(2,391 Views)
Hi Vishal,

Why are you calling a LabVIEW dll from LabVIEW, when you already have the VI available in LabVIEW and can call it as a subVI or by reference (dynamic)?

Also, you have to be very careful when you build the dll. The parameter types are very important and if used incorrectly can crash LabVIEW.

Feroz
0 Kudos
Message 2 of 2
(2,391 Views)