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