View Single Post
  #1   Spotlight this post!  
Unread 19-02-2013, 08:47
AquaMorph's Avatar
AquaMorph AquaMorph is offline
Alumnus of 2059
AKA: Christian Colglazier
FRC #2642 (Pitt Pirates)
Team Role: Mentor
 
Join Date: Jun 2010
Rookie Year: 2008
Location: Cary
Posts: 78
AquaMorph is on a distinguished road
Running Loop in Parallel

I am working on a program that will set the angle of a shooter. The program is attached below. The program works but when active it everything else in teleop stops running until the loops finish. I know this is because it has to run the entire loop before it can continue on doing other things. After doing some research I think I need to move this vi to Periodic Tasks. Will this allow me to run this program and drive at the same time? Also can I use joystick buttons in Periodic Tasks the same way I would in Teleop?
Attached Thumbnails
Click image for larger version

Name:	LabVIEW Loop.PNG
Views:	46
Size:	24.7 KB
ID:	14107  
__________________
FRC Drive: Play Store FRC Manager: Play Store
Reply With Quote