LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a DLL in soundrecord.vi

In the example soundrecord.vi, is calling 5 functions using Call Library function, all of them within the same DLL. When is DLL loaded, everytime one of the functions is called (through Call Library Function) or just once when the soundrecord.VI is executed. Is this a reentrant (multithread) dll?

Thanks
0 Kudos
Message 1 of 2
(2,868 Views)
I do not understand what you want to know, so I am going to shoot in the dark.

The call library node loads the dll in memory when the VI is loaded. The functions within the dll are not called until the VI gets to that part of the code where the call library node is located.

The call library nodes in the example are all set to run in the UI (they are orange). Yellow would have indicated that the call library node is reenterant.

You might want to look at the source code for the dll. It is located in the ..\LabVIEW 7.0\examples\PDA\sound folder.
0 Kudos
Message 2 of 2
(2,868 Views)