NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a "Wait-Time"?

Hello,
i need to add a wattime in the seqeunce. I know the Synchronisation+Wait but i dont know if there are perhaps better ways to do this.
The wait-time will be something in hours. And there is always a second parallel-sequence running.
Are there perhaps problems in system-performance when teststand "hangs" in this wait-object?
Is it better to create a loop over a small wait?

Thanks for your help
0 Kudos
Message 1 of 4
(3,441 Views)
As far as I have experienced you will not face any performance problems when waiting for a very long period. Using a loop with a wait will definitely result in a higher CPU usage. The only advantage I see in using the loop is that you can e.g. poll if a condition is met to stop waiting.
I would try to use a notification. That way, you can easily control the "wakeup" of you sequence.
Hope this helps, Guenter
Message 2 of 4
(3,429 Views)
Du meinst eine Notification mit "Timeout = Waitzeit" und zusätzlich der Möglichkeit die Zeit dann vorab per "Notification -> Set" zu beenden?
Das ist natürlich auch eine super Idee.
Thx
0 Kudos
Message 3 of 4
(3,427 Views)
Genau.
Message 4 of 4
(3,423 Views)