Go to Post Thank you GDC, for keeping everyone honest! - dtengineering [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 26-01-2010, 19:56
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
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.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote
  #2   Spotlight this post!  
Unread 26-01-2010, 20:41
bladetech932's Avatar
bladetech932 bladetech932 is offline
Programmer of awesome
AKA: Jon
FRC #0932 (Circuit Chargers)
Team Role: College Student
 
Join Date: May 2009
Rookie Year: 2009
Location: Tulsa
Posts: 242
bladetech932 is on a distinguished road
Talking Re: Labview Programming Technique Question

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
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2010, 23:30
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
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.
__________________
-- Marshal Horn
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 22:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi