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