Go to Post Looks to me like they have a tasty robot. - Andy Baker [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 07-02-2009, 21:11
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
Periodic Task Data --> Robot Data

As far as I know I'm not doing anything incredibly wrong, but editing clusters such as Robot Data is very tedious. Instead of changing both the Robot Data and Periodic Tasks variables to, generally, hold the same information, I just decided to take out the latter. I can imagine how this may not make Labview extra happy, but will it make a serious difference?
Attached Images
File Type: bmp am i dumb.bmp (30.7 KB, 47 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 07-02-2009, 23:25
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,748
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: Periodic Task Data --> Robot Data

You get to decide what you want. The template just put some references in the periodic tasks but even didn't do anything when them. The Robot Data is primarily for the teleop. You can always write that to a global if you like.

Greg McKaskle
Reply With Quote
  #3   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,561
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
  #4   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 12:39.

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