Thread: multitasking
View Single Post
  #2   Spotlight this post!  
Unread 04-02-2009, 23:51
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: multitasking

We need more details on how you implemented the tasks to answer your question properly, but I'll take a stab at it anyway.

LabVIEW will let you run multiple tasks in separate parallel loops (e.g. multiple while loops that are not nested).

One way to do this is to put each loop in a separate VI. When separating the loops be careful to note if you are using the same resource (e.g. joystick) in the different loops—in which case you may have to choose one loop to handle the resource and share the information with the other loops (e.g. global variables, functional global variables).
Reply With Quote