LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loop: "Frame Duration" problem

Hi

 

I am practicing with "timed loop" block. In a simple vi with a timed while loop with 2 frames, I want to check each frame run time.

I used an indicator for frame duration output of each loop frames. But I didn't get any out on them, just 0 it returned.

Would you please guide me on this issue?

 

Many thanks

 

1.JPG

 

0 Kudos
Message 1 of 4
(2,924 Views)

The Frame Duration is how long it took the code in the previous frame to run, not including the waiting for the time to wait before starting the next frame.  See this variation.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(2,916 Views)
Yes, you are right. So which frame output nodes will return me exact time spent for each frames? I want just to check precise timing of loop and frames.
0 Kudos
Message 3 of 4
(2,906 Views)

I think you are just going to have to subtract the Actual Start times to get what you want.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 4
(2,874 Views)