|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
[FTC]: Help with LabView and variables?
In LabView, we are attempting to make our servos move in increments for the duration that we press a button. However, with our current code, we are able to press a button, and upon that press, have our servo move to a set position. We would like to know how to "store" a variable and add a set number to it so that it moves the servo up/down in our set increment as long as our button is still pressed.
We are a rookie team, and have never used LabView before. All tips and suggestions are welcome! |
|
#2
|
||||
|
||||
|
Re: [FTC]: Help with LabView and variables?
Here is an example i drew up for you guys. To make it go reverse, just put another case structure in there. I am with FRC, but the logic should be the same.
|
|
#3
|
||||
|
||||
|
Re: [FTC]: Help with LabView and variables?
I have also created an example and posted it the NI FTC Community page.
Open and Close Servo Incrementally with Game Pad Buttons This example shows how you can use two game-pad buttons to incrementally increase and decrease the position value of a servo. The example also shows an efficient method of using a case structure with the FTC Read Buttons VI rather than using nested case structures. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HELP!!! BOOLEAN VARIABLES IN LABVIEW | PRAWG | Programming | 2 | 07-02-2009 18:44 |
| [FTC]: Variables in labview | wilsonmw04 | FIRST Tech Challenge | 2 | 23-11-2008 08:57 |
| [FTC]: First problem with FTC and LabView.....? | PhilBot | FIRST Tech Challenge | 5 | 07-11-2008 10:36 |
| First problems with FTC and Labview | PhilBot | National Instruments LabVIEW and Data Acquisition | 0 | 10-09-2008 20:21 |
| Labview dashboard and multiple variables | Joe Ross | LabView and Data Acquisition | 2 | 15-03-2006 21:55 |