Tom Young Posted November 6, 2007 Report Share Posted November 6, 2007 I have a standalone application under Linux created by building a shared library from Labview and linking it with a C++ program. The Labview VI has two while loops that run in parallel. They work fine in Labview and if I link my exported library against liblvrt.so, with execution switching between the loops regularly. However, if I tick the "embedded runtime box" and link against liblvrtdark.so (the version for applications with no display) then execution starts in one loop, skips to the other after one iteration and then stays in the second loop for ever, despite various time delay VI calls (wait ms, wait until ms multiple, time delay) which are supposed to yield control of the CPU. Does the dark library support multi-threaded code? The app spawns 10 threads, although only two actually seem to be active. I'm using liblvrtdark.so.8.2.1. Any ideas? Tom Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.