FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Wait timer, preveting the process from doing something else.

When a wait timer is on inside the while loop, it will lock all other processes until it is finished. Why?? I would hit a high level switch and won't know it until the timer if off. None of the switches are on the same loop. Why can't i do something else while the timer is on.

Please, help. How do I design better loop without causing the others loop to wait?


Thanks
0 Kudos
Message 1 of 2
(3,033 Views)
First I will invite you to post you code that exibits this behaviour.

Second I willv enture a guess that all of your functions are in a single VI that is set for "Time-Critical" and the "wait" you are using is a "wait until next millisecond...". I venture this guess because you have described exactly what will happen
when a "wait unitl..." is encountered in a TC VI.

If this guess is correct, you have to move the other functions to another VI so they can execute while the TC loop is sleeping.

Trying to help,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(3,033 Views)