Go to Post Holy Underwriters Laboratories Industrial Safety Awards Batman! - AndyB [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-02-2009, 09:31
Ori2630 Ori2630 is offline
Registered User
FRC #2630
 
Join Date: Feb 2009
Location: Israel
Posts: 5
Ori2630 is an unknown quantity at this point
Autonomous Issue

Hi,
so.. I have some problems with the autonomous...it just won't work, I'm using the advenced frimwork on LabVIEW, and I'm also using Iterative autonomous mode (or something).
I'm trying to make the motors get a diffrent value every 3 secends...but when I put a sleep function of 3 secends and a while loop, the motors move for a moment and then they stop for 3 secends...
what can I do??

Ori-2630
Reply With Quote
  #2   Spotlight this post!  
Unread 14-02-2009, 09:32
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: Autonomous Issue

Can you post you code so we can suggest revisions?
Reply With Quote
  #3   Spotlight this post!  
Unread 14-02-2009, 19:38
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,752
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: Autonomous Issue

If the watchdog is opened, then it needs to be fed during the three seconds. To do this there is a VI in the palettes called Delay and Feed. Use it instead of the plain delay. The other option is to set the timeout on the watchdog bigger than your delay, or to disable it.

Greg McKaskle
Reply With Quote
Reply


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
Debugging issue dpeterson3 C/C++ 3 11-02-2009 20:11
Lag Issue bizarospooky Programming 7 08-02-2008 17:31
decoder issue TEAM1949 Programming 10 07-03-2006 14:34
printf issue Max Brin Programming 6 24-01-2006 17:03
Autonomous issue NJ M. Hicken Programming 2 16-02-2005 21:59


All times are GMT -5. The time now is 21:34.

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