Go to Post Did you inform McMaster Carr that up to 3000 FRC teams would all be attempting to acquire a very specific spring ASAP all on the same weekend? - cgmv123 [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
  #7   Spotlight this post!  
Unread 17-03-2013, 17:41
team2830prgrmr team2830prgrmr is offline
Registered User
FRC #2830
 
Join Date: Jan 2013
Location: Milwaukee
Posts: 6
team2830prgrmr is an unknown quantity at this point
Re: Why is my autonomous code still not working?

The main reason is because those are "wait" functions, so instead of running the code for 10 seconds, its running it once, then moving on. What you want to do is remove the sequence structure, and put each "command" in its own for loop. Set a time delay for about 1ms, and set it to iterate 10000 times. You also want to check that that the refnums are the same as they are in the Begin.vi, down to captitalized/uncapitalized, and spacing. I don't know what to tell you about the autonomous disabled part, I know for a fact its supposed to default to disable in the Begin.vi, but if the framework got messed up somewhere else I couldn't be quite sure what to tell you.
__________________
Rapper. Poet. Photographer. LabView programmer. Ask me for the rest of the story...
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:07.

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