Go to Post Life isn't a set track: you have to go out and make your own path. - Greg Marra [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 05-02-2009, 10:09
Joraus Joraus is offline
Registered User
FRC #2903
 
Join Date: Feb 2009
Location: Arlington Wa
Posts: 1
Joraus is an unknown quantity at this point
Labview Help, Rookie

Hello I am new at using labview and I was wondering if I could get some help.

I am programming a door on our robot to move up, move down, and stay in the middle, on three separate buttons on our joysticks.

And I know this is probably easy to do, but any help is appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2009, 12:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Labview Help, Rookie

Do you want to hold down a button to make the door go up and hold down another button to make it go down, with the door stopping if neither button is pressed?

Or do you want it to act like a commercial overhead door and go all the way up (or down) after a short tap on the up (or down) button, and go automatically to the middle and stop there when a third button is tapped?

The first one is easy, almost trivial. The second one takes some careful program design and an appropriate set of feedback sensors on the door position.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-02-2009, 17:00
Jill Jill is offline
Registered User
FRC #2197 (Las Pumas)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: New Carlisle, IN
Posts: 12
Jill is an unknown quantity at this point
Re: Labview Help, Rookie

I think I have a similar question- couldn't find anything anywhere else, so I hope this is the right thread...

how do you program limit switches in LabView? We want a door to pivot up when we press a button, and go until it hits a limit switch. Then we want to press the button and have it go back down until it hits another limit switch. Would it be difficult to run both up and down with one button? (When button's pressed, if top switch=1 then run motor backwards to the bottom switch, and vice versa.)
Reply With Quote
  #4   Spotlight this post!  
Unread 06-02-2009, 09:12
Luke Pike's Avatar
Luke Pike Luke Pike is offline
Programmer
FRC #1501 (THRUST)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Huntington
Posts: 114
Luke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to allLuke Pike is a name known to all
Re: Labview Help, Rookie

Quote:
Originally Posted by Jill View Post
how do you program limit switches in LabView? We want a door to pivot up when we press a button, and go until it hits a limit switch. Then we want to press the button and have it go back down until it hits another limit switch. Would it be difficult to run both up and down with one button? (When button's pressed, if top switch=1 then run motor backwards to the bottom switch, and vice versa.)
Sure. Here's an image that demonstrates it. I haven't tested this, just off the top of my head. It uses a feedback node to keep track of the motor value, set to 1 at the start, and when anyone of the limit switches goes off, it negates the value. If you have any questions, feel free to ask.
Attached Thumbnails
Click image for larger version

Name:	limit_switch_drive.PNG
Views:	98
Size:	15.3 KB
ID:	7337  
__________________
Twitter Profile
Reply With Quote
  #5   Spotlight this post!  
Unread 06-02-2009, 23:17
nathan.chupp's Avatar
nathan.chupp nathan.chupp is offline
Registered User
AKA: CupCake
FRC #3509 (Fallout)
Team Role: RoboCoach
 
Join Date: Feb 2009
Rookie Year: 2004
Location: Edwardsburg
Posts: 14
nathan.chupp is an unknown quantity at this point
Re: Labview Help, Rookie

programming i need help with labview
Reply With Quote
  #6   Spotlight this post!  
Unread 06-02-2009, 23:24
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Labview Help, Rookie

Nathan,

There's a set of manuals on the FIRST site at:

http://www.usfirst.org/community/frc....aspx?id=10934

You may be interested in the manual entitled Getting Started with LabVIEW for FRC.
Reply With Quote
  #7   Spotlight this post!  
Unread 06-02-2009, 23:29
nathan.chupp's Avatar
nathan.chupp nathan.chupp is offline
Registered User
AKA: CupCake
FRC #3509 (Fallout)
Team Role: RoboCoach
 
Join Date: Feb 2009
Rookie Year: 2004
Location: Edwardsburg
Posts: 14
nathan.chupp is an unknown quantity at this point
Re: Labview Help, Rookie

i have read it and still don't get it

Last edited by nathan.chupp : 06-02-2009 at 23:36.
Reply With Quote
  #8   Spotlight this post!  
Unread 06-02-2009, 23:49
airnate airnate is offline
Registered User
FRC #0236 (Techno Ticks)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2009
Location: southeastern CT
Posts: 93
airnate is a jewel in the roughairnate is a jewel in the roughairnate is a jewel in the rough
Re: Labview Help, Rookie

OK. It sounds like what you might like is some hands on teaching...

How about the Videos and Presentations link on the same web page. (or you can click the link below to go directly)

http://first.wpi.edu/FRC/csmedia.html

They help you in Writing your first LabVIEW program
Reply With Quote
  #9   Spotlight this post!  
Unread 07-02-2009, 17:08
nathan.chupp's Avatar
nathan.chupp nathan.chupp is offline
Registered User
AKA: CupCake
FRC #3509 (Fallout)
Team Role: RoboCoach
 
Join Date: Feb 2009
Rookie Year: 2004
Location: Edwardsburg
Posts: 14
nathan.chupp is an unknown quantity at this point
Re: Labview Help, Rookie

thank you that help's me out
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 Rookie Question -- Motors cmh0114 NI LabVIEW 2 23-01-2009 20:44
LabView: Questions of a Rookie assaf2b NI LabVIEW 1 17-01-2009 12:14
help: cannot get the picture in the labVIEW program .. (was: need help!! quickly!) liad LabView and Data Acquisition 8 18-01-2006 12:20
Rookie help doyler Technical Discussion 55 11-01-2005 08:59
help to rookie teams archiver 2001 5 23-06-2002 23:38


All times are GMT -5. The time now is 20:50.

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