LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Calling of DLL

hi karen

i had the same problem and i wrote a wrapper inside a dll. my vi calls always this one wrapper-dll-function and i pass the name of the dll and the function to execute and the parameters. then you can call the dll-functions dynamically inside your wrapper-dll-function, so i only have to edit an compile the dlls, and not the vis or the wrapper-dll. if this way is suitable for you depends on your dll-project(s) and your function-prototypes.

regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 11 of 17
(3,591 Views)
Nedav, Can I get the zip file of the examples of how to dynamic calling Labview DLL. Thanks, Dan Nguyen
0 Kudos
Message 12 of 17
(3,582 Views)
Hi Wiebe,

Could you please send me a copy of the dll loader zip file?

Thanks!

Kellie

kfletcher@neuropace.com
0 Kudos
Message 13 of 17
(3,712 Views)

Hi,

 

I'll just post the library here again...

 

Regards,

 

Wiebe.

Message 14 of 17
(3,485 Views)
Hi Everyone,

I just wanted to but a link to a kb that is out that address dynamically loading and unloading a dll in LabVIEW 8.20 just in case someone else read this thread..

KB 470ECUMY: Can I Dynamically Load And Unload a Dll in LabVIEW?
http://digital.ni.com/public.nsf/allkb/77594203D78D12278625729100758BE5?OpenDocument

Hope this helps,

Vincent Carpentier
Quebec and the Maritimes
National Instruments
Vincent Carpentier, Ing./Eng.
CLA, CPI
Neosoft Technologies
www.neosoft.ca
DQMH Trusted Advisor
0 Kudos
Message 15 of 17
(3,266 Views)

could you please post the source code for calldlldll.dll

 

0 Kudos
Message 16 of 17
(2,597 Views)

Ok,

 

It's attached. I had no idea how to do this in C/C++ (if it's even possible), so it's in assembler. The extension is .asm, but the forum doesn't allow that as attachment.

 

Regards,

 

Wiebe.

0 Kudos
Message 17 of 17
(2,555 Views)