Go to Post Being Wrong Late is the number one killer of FIRST aspirations. - Joe Johnson [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
  #3   Spotlight this post!  
Unread 21-06-2010, 15:18
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,563
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: More questions from a new labviewer

Both the telop and the autonomous iterative should process very quickly and return. Both your telop and your autonomous iterative continue processing for a long time. Since they don't get back to robot main quickly, I think that is the cause of your watchdog problems. You've added DS communication VIs which are redundant with the ones in robot main and may also be causing problems.

Look at the default telop (if you create a new project). You should be able to take most of the code within your while loop and paste it into the execute case in the default telop. This returns quickly.

For your autonomous, the easiest solution would be to take the code and put it in autonomous independent instead. Autonomous independent is started in parallel with the rest of the code and doesn't need return quickly.

What type of solenoids are you using? If you're using 24v solenoids (like the ones that came in the kit this year), you need to make sure the solenoid breakout is wired with 24v. If you're using single solenoid valves, you need to keep the value set, so based on your code you'd need to hold the joystick button.

Last edited by Joe Ross : 21-06-2010 at 15:21.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Questions From a New Team FLHSFTC FIRST Tech Challenge 7 17-02-2010 11:22
More CAN control questions Geek 2.0 Electrical 0 12-01-2010 13:40
More friction questions Woody1458 General Forum 15 11-01-2009 21:03
More questions.. Magnechu Pneumatics 1 06-02-2008 16:38
More Questions... Lake Orion OCCRA 0 30-11-2001 19:27


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

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