View Full Version : limit switch
solomason519
02-02-2009, 12:29 PM
help. Does anyone know how to program a limit switch in labview. I have the limit switch hooked up to digital io port 2 i want to program it so that i can stop power to a motor. help:confused: :confused:
Kruuzr
02-02-2009, 12:53 PM
I can't help with the labview part, but did you know that you can hook a limit switch directly to a jaguar controller - no programming involved? (Assuming you are using a jaguar, of course)
Steve
Vikesrock
02-02-2009, 12:58 PM
I can't help with the labview part, but did you know that you can hook a limit switch directly to a jaguar controller - no programming involved? (Assuming you are using a jaguar, of course)
Steve
That has been ruled illegal for this year's competition based on <R62>.
http://forums.usfirst.org/showthread.php?t=11658
solomason519
02-02-2009, 01:02 PM
which port on the jaguar and do i use a regular pwm cable?
solomason519
02-02-2009, 01:04 PM
are limit switches illegal?
Vikesrock
02-02-2009, 01:07 PM
are limit switches illegal?
Limit switches are not illegal, but connecting them to the Jaguars limit switch inputs is for this year.
solomason519
02-02-2009, 01:10 PM
o ok. so can you help with the programming?????
martin417
02-02-2009, 01:21 PM
For an example, look at the compressor code. The pressure switch is effectively a limit switch, just operated by air pressure.
DRH2o
02-02-2009, 01:31 PM
Try This
Connect the joystick to all three joystick in connectors. Select their DIO port used for the limit switches. Connect speed to set_motor speed
LavaEagle
02-09-2010, 08:50 AM
http://frcmastery.com/try-me/frc-walkthrough/
Oddly enough I just happend to watch this, how to hook it up in LabVIEW is covered in this video.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.