![]() |
Using Limit Switches in LabVIEW
I'm confused on how to use limit switches in labview, first off, are they digital or analogue, and where is the .vi that opens limit switches?
|
Re: Using Limit Switches in LabVIEW
Limit switches are digital. All you have to do is use the dio in open vi to initialize the port. The dio in get vi will return a boolean.
|
Re: Using Limit Switches in LabVIEW
The DIO (Digital Input Output) VI that chmp09 refers to is in
WPI Robotics Library-> IO -> DigitalInput -> GetValue.vi The digital input will typically default to True (e.g. is electrically pulled up to +5V) so if you wire a normally open (N.O.) limit switch between the signal pin and the ground pin, the GetValue.vi input will go False when the switch is closed. |
| All times are GMT -5. The time now is 10:37. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi