|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#13
|
|||
|
|||
|
Re: I'm trying not to hate labview but...
Yup, arrays are the way to go. Create an array in begin.vi with all your motordevrefs wired into it, right click on the output terminal, and create a constant. Copy paste the constant into the robotdata global type def. The array can be grown and shrunk in begin.vi by creating more inputs on the build array block, and the constant won't need to be changed and won't take up three screens worth of space when you use all 20 pwm ports.
Why isn't there a way to create clusters like this? I keep wishing for a build cluster block that simply builds a cluster with n number of named elements from n number of inputs, instead of one that replaces elements in a constant. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I'm Trying to Mirror a Rig | Popper99 | 3D Animation and Competition | 3 | 09-02-2008 20:17 |
| pic: i'm on the loose, but.. | thatphotochick | Extra Discussion | 4 | 22-05-2006 17:31 |
| frc_camera not working but labview does | Issues | Programming | 7 | 18-01-2006 19:23 |
| Some things i'm trying to understand on Kevin's Accelerometer Code | Squall | Programming | 2 | 03-02-2005 12:01 |
| I'm trying to contact Teams 234 and 269... | archiver | 2001 | 1 | 24-06-2002 03:23 |