View Single Post
  #2   Spotlight this post!  
Unread 16-02-2013, 10:39
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: Priority programming

Priorities can be applied to VIs or to Timed Loops.

Doing this without understand how to use priorities will likely wreak havoc, but if used correctly, it can shorten delays for critical code.

To set priorities on a VI, you open the VI and go to the Properties dialog under the File menu or the right click to the icon. The execution page lets you set the priority to five levels an unrelated item called subroutine.

The timed loop can replace a while or for loop and you can set the priority as a numerical value.

Greg McKaskle
Reply With Quote