View Full Version : limit switch
solomason519
02-02-2009, 12:29
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:
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
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, 13:02
which port on the jaguar and do i use a regular pwm cable?
solomason519
02-02-2009, 13:04
are limit switches illegal?
Vikesrock
02-02-2009, 13:07
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, 13:10
o ok. so can you help with the programming?????
martin417
02-02-2009, 13:21
For an example, look at the compressor code. The pressure switch is effectively a limit switch, just operated by air pressure.
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
09-02-2010, 08:50
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-2017, Jelsoft Enterprises Ltd.