Go to Post Real projects have good and bad aspects, problems that must be dealt with, and lots of things that dont make any sense from your side of the fence. - KenWittlief [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 10-02-2009, 19:29
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,579
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: Periodic Task Data --> Robot Data

I believe the way you have it in the picture, the periodic tasks will not run until the while loop ends, which is probably not what you want. You should run the RobotData wire from before the while loop.

I tried to do something similar yesterday. I deleted periodic data completely, and used RobotData from the global variable. This worked sometimes and didn't work some times. I realized that in that case, there was no data dependency from begin to periodic tasks, so they started at the same time. I could be using hardware in periodic tasks that wasn't opened yet in begin. I then added a data dependency so that periodic tasks wouldn't run until begin finished, and everything is working fine.
Reply With Quote
  #2   Spotlight this post!  
Unread 10-02-2009, 19:38
Kahn! Kahn! is offline
Registered User
FRC #1379
 
Join Date: Sep 2008
Location: Norcross, GA
Posts: 22
Kahn! is an unknown quantity at this point
Re: Periodic Task Data --> Robot Data

Hmph, thanks. I might as well just make a global cluster with what I need.
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
Sending user data, parsing user data. demosthenes2k8 NI LabVIEW 3 30-01-2009 13:51
Curie 2007 Robot Pictures and Basic Data Jacob Plicque Championship Event 26 10-04-2007 21:36
Getting data from the robot mfwit LabView and Data Acquisition 1 19-02-2006 20:07
delta_t data in Robot controller GreenDice Technical Discussion 3 06-01-2002 08:32


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

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