|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Trouble with Limit Switches
it is probably not wired correctly, those things are pretty foolproof
wire ground and signal to the two terminals that short when the switch is closed - run this to a digital I/O input and use the DigitialInput class it kinda has to work |
|
#2
|
|||||
|
|||||
|
Re: Trouble with Limit Switches
You do have the switch connected between ground and signal, right? And your wires go to the COM and NO pins on the switch, right?
Because of the pullup resistors on the Digital Sidecar's DIO pins, a Normally Open switch will read True when it's not active, and False when it is, so it looks like you got that part correct. How are you using the switch value to zero the motor control? Show us that part of your code; it sounds like it isn't working properly. |
|
#3
|
||||
|
||||
|
Re: Trouble with Limit Switches
just to test, you could put some kind of indicator on the front panel of whatever you are doing to make sure you are getting values at all. (or just probe the DIO get boolean wire)
|
|
#4
|
|||||
|
|||||
|
Re: Trouble with Limit Switches
The default Dashboard shows the state of the DIO pins (it updates only twice a second).
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Limit Switches | Wicked | NI LabVIEW | 9 | 04-03-2009 17:21 |
| Limit Switches | popnbrown | NI LabVIEW | 1 | 10-02-2009 22:39 |
| Using Limit Switches with the Arm | iwin2000 | Programming | 3 | 18-02-2008 03:52 |
| How to connect limit switches with pwm cables?????!!!!! | jesusescobar | Kit & Additional Hardware | 4 | 18-02-2007 18:15 |
| limit switches | stephenthe1 | Programming | 28 | 11-05-2005 16:37 |