NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loop?

Solved!
Go to solution

A simple question that got me stuck for hours.

 

How do I make a timed loop in TestStand? The loop includes a few steps, and each loop should take x second.

0 Kudos
Message 1 of 9
(7,336 Views)
Solution
Accepted by topic author Bladhart

Hi Bladhart,

 

Try this example

Note this is a timer with a second range not with milliseconds !

 

Hope this helps

 

Juergen

 

=s=i=g=n=a=t=u=r=e= Click on the Kudos button (Gold Star) and see what happens =s=i=g=n=a=t=u=r=e=

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
Message 2 of 9
(7,315 Views)
Is there a way to do (ms) range?
0 Kudos
Message 3 of 9
(7,293 Views)

Hi Bladhart,

 

Try using the WIN API GetTickCount()

http://msdn.microsoft.com/en-us/library/ms724408.aspx

 

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 9
(7,272 Views)

Hi Bladhart,

 

Try this example

 

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 5 of 9
(7,270 Views)

Juergen,

 

I'm curious why you thought your original example only has 1 second resolution? The Seconds() function has 1 msec resolution.

Message 6 of 9
(7,261 Views)

Hi Dennis,

 

because i dont set a break point and watched the variables Vaule 🙂

The manual on SecondSinceStartup said nothing on ms.

And on the ExpressionBrowser on Second() i dont read the hole part.

But now i did it.

So thank you Dennis for pointing out that resolution is ms

 

I wish you and all other members out there

a happy new year 2009

 

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 7 of 9
(7,182 Views)
Can you please tell me a program that opens .seq files?
0 Kudos
Message 8 of 9
(6,683 Views)
TestStand obviously. Why would you hijack this thread for your question? Are you even sure you need to open a TestStand sequence file?
Message 9 of 9
(6,677 Views)