LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can labview create 'reentrant' dll?

Solved!
Go to solution

Can LabVIEW create re-entrant dlls; by which I mean a dll that maintains state information between calls? If so, how do you implement it?

 

Thanks

0 Kudos
Message 1 of 3
(3,171 Views)
Solution
Accepted by topic author ToeCutter

Maintaining state information can be done by means of an uninitialised shift register.  This works in a LabVIEW DLL, too. 

Make sure that the DLL doesn't get unloaded between function calls else it will loose it's memory.

Message 2 of 3
(3,146 Views)

Thanks Guenter! Kudos+1.

0 Kudos
Message 3 of 3
(3,137 Views)