Go to Post All the robots win, because we built them and they work. ;) - synth3tk [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:11.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi