|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
declaring a servo in begin.vi (advanced framework)
alright, how do you declare a servo in the advanced framework in the begin.vi? we've tried multiple ways of doing this, but none seem to work
, also if there's anything else needed to make sure the servos work please tell usThank you ~Jack in the Bot Last edited by Christine_Ilich : 07-02-2009 at 17:23. |
|
#2
|
||||
|
||||
|
Re: declaring a servo in begin.vi (advanced framework)
First drag out a Servo Open vi. Right-click the PWM Channel and click "Create > Constant". Next, Right-click on the Servo Ref on the right and click "Create > Control". Switch to the Front Panel and copy the Servo Ref. Delete it and open up the RobotData typedef. Paste the control and add it to the cluster. Go back to the Begin vi and pull down on the Cluster Elements By Name. You should see your newly added Servo Ref. Wire the output of the Servo Open vi into the Cluster. Now where ever RobotData is, you can access the servo. If you want to add it to a different typedef, just do the same things, only with a different typedef.
Hope that helps! |
|
#3
|
||||
|
||||
|
Re: declaring a servo in begin.vi (advanced framework)
Thank you very much.
We'll try that as soon as we get our "robot" back from the machine shop.~Jack in the Bot |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Tank Drive with Advanced Framework in Labview | finman | NI LabVIEW | 4 | 30-01-2009 13:35 |
| New TipJar Training Video - Making Friends with the FRC Advanced Robot Framework | LVMastery | Programming | 0 | 05-01-2009 14:54 |
| FRC Framework Guide | Jon236 | FRC Control System | 0 | 17-11-2008 18:18 |
| Robot Framework | lord Purity | Pneumatics | 3 | 21-01-2007 15:57 |
| Servo behavior question / advanced servo/PIC programming question | DanL | Electrical | 12 | 18-10-2005 18:33 |