View Single Post
  #7   Spotlight this post!  
Unread 24-06-2013, 07:30
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,753
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: Overhead using Test Mode?

Ahh. I was wondering if/how the static VI reference was causing the confusion.

The Test VI is launched when the DS starts test mode and aborted when it leaves test mode. There is no overhead when the robot isn't in test mode.

Static refers to the fact that the name of the VI is known at compile time and the VI is built into the EXE even though it is referred to dynamically. VI References work like function pointers. They are generally used for more sophisticated architectures, but are also handy when you want to run/abort a piece of code and it isn't required to cooperate.

Greg McKaskle