Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Labview Help, Rookie (http://www.chiefdelphi.com/forums/showthread.php?t=73653)

Joraus 05-02-2009 10:09

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.

Alan Anderson 05-02-2009 12:05

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.

Jill 05-02-2009 17:00

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.)

Luke Pike 06-02-2009 09:12

Re: Labview Help, Rookie
 
1 Attachment(s)
Quote:

Originally Posted by Jill (Post 814868)
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.

nathan.chupp 06-02-2009 23:17

Re: Labview Help, Rookie
 
programming i need help with labview

airnate 06-02-2009 23:24

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.

nathan.chupp 06-02-2009 23:29

Re: Labview Help, Rookie
 
i have read it and still don't get it

airnate 06-02-2009 23:49

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

nathan.chupp 07-02-2009 17:08

Re: Labview Help, Rookie
 
thank you that help's me out:) :yikes:


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

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