11-03-2015 08:50 AM
Dear Labviewers,
I am working on a project which has to open 2 VI's at different times.
Now I am using event structures to open the VI's, but i want to have a 10 second delay before the 2nd VI opens(see screenshot). When i use the wait(ms) function it does not work how it should.
Any ideas on how to fix this?
Thanks in advance!
Henk
11-03-2015 08:53 AM
Hi liggias,
use a state machine…
i want to have a 10 second delay before the 2nd VI opens(see screenshot). When i use the wait(ms) function it does not work how it should.
- What is the purpose of the wait function inside of the event case? It only prohibits executing other events within 10s…
- Why do both event cases seem to wait for the very same event? This will not work (reliable) - never ever…
11-03-2015 09:17 AM
11-04-2015 05:20 AM
Thanks for telling me that "This will not work (reliable) - never ever…"
Maybe you could explain me what I should do to get it working, an example or feedback or whatever?
Thanks in advance
11-04-2015 05:29 AM
Hi Dennis,
Thanks! I did put the time delay between the calls and it works.
The problem we encounter now is that the first VI executes perfectly, but the second VI shows the data with huge lag (if I open the second VI manually there is no lag). It also looks like the signal of the second VI is being distorted, but this is only when the VI's are opened automatically.
Any ideas on how to fix this? Any feedback is welcome!
Thanks in advance :)!