View Single Post
  #3   Spotlight this post!  
Unread 17-11-2012, 17:29
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: How long does it take Labview code to run a full cycle?

Maybe what you are looking for is to measure how often or how long it takes teleop to run.

To measure how long it takes teleop to run, open up the project folder named support code. In it is the Elapsed Times VI. Drop the VI in your teleop, and open the panel. You can also drop it other locations in the code such as in a periodic loop.

On each call, it look to see what time it is and who is calling. It displays the info from different calls to give you a better idea of how often the teleop is running.

If you want to time a smaller piece of code within one VI, you can place a sequence structure around it and read the millisecond timer before and after, subtract, and either probe or display.

If this isn't what you were looking for, please be more specific in your question.

Greg McKaskle
Reply With Quote