|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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?
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit Switches | popnbrown | NI LabVIEW | 1 | 10-02-2009 22:39 |
| Toggling boolean using 2 limit switches | Quarkster | NI LabVIEW | 2 | 02-02-2009 22:43 |
| Limit switches(in C++) | beefy1 | Programming | 3 | 24-12-2008 15:27 |
| Using Limit Switches with the Arm | iwin2000 | Programming | 3 | 18-02-2008 03:52 |
| Limit Switches | ChrisR_522 | Programming | 2 | 25-01-2008 08:04 |