Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Magnetic Reed Switch (http://www.chiefdelphi.com/forums/showthread.php?t=82718)

nickcvet89 15-02-2010 12:37

Magnetic Reed Switch
 
Hey, I wanted to know how to include a magnetic reed switch for one of our pistons in our program, if programming it is actually needed. I saw on one of the threads that the reed switch is plugged in to a digital IO slot on the digital sidecar, but is that all that needs to be done or do you have to program it? If so would someone be able to post on how to do it. Thanks

Mark McLeod 15-02-2010 13:55

Re: Magnetic Reed Switch
 
You do have to program it.

You use the Digital Input palette found under WPI Robotics Library -> IO -> DigitalInput

Add a DIO Open to Begin.vi
Add a DIO Close to Finish.vi
Add a DIO Get to Teleop.vi and do whatever you want with the information.

nickcvet89 15-02-2010 21:40

Re: Magnetic Reed Switch
 
Ohh ok thanks for the help Mark, greatly appreciated :) .


All times are GMT -5. The time now is 04:47.

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