07-29-2019 09:20 AM
Hi
I am exporting two VIs into a DLL. The resulting functions are expect to run concurrently in separate threads. Then I load the dll in my app. As soon as a function is executed in a primary thread the other function in the secondary thread is killed (I assume is killed because the panel disappears immediately).
Is there a work around to allow concurrent execution of these functions?
Thanks
Solved! Go to Solution.
07-29-2019 09:27 AM
How about putting them in separate DLLs? Is there an expectation that within a DLL, components can be assigned "separate threads"? How does the DLL know? [I'm asking out of ignorance -- I can imagine that LabVIEW, if it is scheduling its code, can keep the threads separate, but don't know if/how it can maintain control once it packages it up for Windows to handle inside a single DLL ...].
Bob Schor
07-30-2019 03:48 AM
OK, I guess I will have o change my design slightly.
Thank you