Go to Post i wish ours was done so i could get some sleep - keagara [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 Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 05-01-2009, 08:46
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: Adding a cluster to an existing cluster (Labview)

Quote:
Originally Posted by paulcd2000 View Post
My question is now, is there an EASIER way to do this? this is long, complicated, and counter-intuitive, especially for new programmers.
Easier is always relative. What you're doing is adding an element to a cluster datatype. Your initial instincts of "drag it in" were good ones, but since this type is actually a typdef, that drag needs to happen to the definition. True, there is no visual indication of something being a typedef, so of course it is sometimes confusing.

Here are the steps that I take for doing what you were trying. Right click on the RobotData cluster. In the menu it will say Open Typedef, choose that. In the new window, you now have access to the definition cluster.

So Open the typedef, and then open up a gyro VI, Open is a good choice. Drag or copy/paste the gyro dev ref cluster directly into the Robot Data cluster, or copy/paste. Close the Gyro VI, close the RobotData typedef, yes save, yes replace, and now all of the RobotData users throughout the project are updated.

Greg McKaskle
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
Movie theater IR cluster JBotAlan Chit-Chat 10 13-01-2008 01:35
Resources for Existing teams rees2001 General Forum 2 25-08-2007 06:05
Center to Center Distance for 2002 Chaiphua and Cluster gear sanddrag Motors 1 20-07-2005 07:36
chiaphua gear cluster Antonio Motors 31 26-01-2003 20:04
gearing for last year's gear cluster for the chipuhua motor Antonio Motors 0 07-01-2003 15:31


All times are GMT -5. The time now is 20:42.

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