07-03-2018 09:45 AM
I am kind of new to Labview and have the following Problem: I have a event Structure inside a while loop and also want things to happen every second regardless of events fired. So I put it in the Timeout tab of the event struct with 1000ms timeout. The problem is, that this results in my while loop only updating every second or when one of the other events fire. How do I get my while loop outside of the event struct to run faster?
I also thought about reducing the timeout timer and do things inside that only every n-th time so they happen only every second but this doesn't seem to be the right way...
07-03-2018 09:52 AM
07-03-2018 10:55 AM - edited 07-03-2018 10:55 AM
You can easily do some math whenever a non-timeout event occurs to calculate an appropriately shorter timeout to be put in a shift register. (Long ago, I posted an old example that does just that, but there are many ways to do it, of course).