|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
Adding a cluster to an existing cluster (Labview)
So i'm modifying a cluster in Begin.vi in the advanced view, and i'm trying to add a gyro to "Robot Data" i figured out that i need to add "GyroDevRef" to the cluster RobotData In. However, there's nothing in the help menus on how to add an element so it looks like its part of the cluster. Just dragging it in makes it overlap visually, but doesn't add it to the cluster. Is there anyone who knows how to do it?
|
|
#2
|
||||
|
||||
|
Re: Adding a cluster to an existing cluster (Labview)
OK, so i figured out that you can add things by adding the control of the cluster i wanted to add to the control of the big cluster. to do this, i had to open the .ctl file of that cluster, and import GyroDevRef.ctl
My question is now, is there an EASIER way to do this? this is long, complicated, and counter-intuitive, especially for new programmers. |
|
#3
|
||||
|
||||
|
Re: Adding a cluster to an existing cluster (Labview)
I'm not totally sure of your intentions. There are a couple of ways you might be able to do this.
![]() ![]() |
|
#4
|
||||
|
||||
|
Re: Adding a cluster to an existing cluster (Labview)
One thing a few of us in Georgia decided to do was to stop using RobotIn for everything, but what it was needed for. All other things (ex: motors, sensors, joysticks...etc) are defined in the initialize case statement of where ever you need it (sure it needs tweaking to make it to work, but its a heck of a lot less work than the default advanced is).
If you're interested I can send you our files later. Cheers -Tanner |
|
#5
|
|||
|
|||
|
Re: Adding a cluster to an existing cluster (Labview)
Quote:
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 |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |