|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Labview Programming Technique Question
Rookie Labview Programmer Question
Within the FRC LV framework, I see the Tele-OP vi and I see the periodic task vi. Based on examples I have studied, the joystick control goes in the tele-op vi. I now want to add a solenoid control for an air valve. This will be actuated by a joystick input. My question is does this go in the tele-op vi or in the periodic task vi? More generally, what kind of tasks are typically are placed in the tele-op vi vs the periodic task vi? Thanks for your help. |
|
#2
|
||||
|
||||
|
you put all controls in the telop you shouldn't need to use periodic task at all.
in periodic you put things like resetting inputs things you don't control so yes solenoids,relays,gyros,motors all go in the telop |
|
#3
|
||||
|
||||
|
Re: Labview Programming Technique Question
Well, there is a difference.
Use periodic tasks when you want something to execute at a certain rate, regardless of whether you receive a datagram from the Driver Station or not. Use teleop for functions that require direct driver control. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Labview servo programming | Delvadar | NI LabVIEW | 9 | 01-02-2010 20:29 |
| Programming Mecanums in Labview | Hadi379 | NI LabVIEW | 6 | 21-01-2010 19:45 |
| FRC LabVIEW programming | dlesley | National Instruments LabVIEW and Data Acquisition | 2 | 15-12-2008 13:21 |
| Labview Programming question | pollyproof12 | General Forum | 2 | 30-09-2008 16:29 |
| Programming technique.. | archiver | 2001 | 3 | 24-06-2002 04:02 |