|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Limit Switches
We ran into a little stumbling block. Well, it's pretty much what gwytheyrn described. We tried programming a case structure so that it rotated away from the switch when it recieved a value, but that did absolutely nothing, so we're stuck.
|
|
#2
|
||||
|
||||
|
Re: Limit Switches
Read post # 8 in this thread. I uploaded a vi. that works just fine. You will need to modify the inputs to point to your switches. Also, verify that the ccw and cw limits are correct for your wiring, if not swap the two values.
|
|
#3
|
||||
|
||||
|
Re: Limit Switches
Did you try looking at the values on the relevant wires in debug mode so you could see whether the problem was how you had built your case or the values heading into it?
You can either click the lightbulb to highlight execution all the way through (which will really bog down the CRIO's response time), or you can click on a specific wire or wires with the code running to get a popup with the current value (runs a lot closer to normal speed). |
|
#4
|
|||
|
|||
|
Re: Limit Switches
I strongly suggest trying the method in post number 4, as it is quite an elegant way to program for this, imho. Dunno about billbo's post; I don't have labview on this computer, but I guess it works in a similar fashion
|
|
#5
|
||||
|
||||
|
Re: Limit Switches
From a cursory reading of ebmonon36's post, it sounds exactly like what I posted in the vi. It is simple and quite effective. We used this exact method, except the limit switches were replaced with comparators coming off a pot, to limit the travel of our turret this year.
|
![]() |
| 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 |
| Limit switches(in C++) | beefy1 | Programming | 3 | 24-12-2008 15:27 |
| Limit Switches | ChrisR_522 | Programming | 2 | 25-01-2008 08:04 |
| limit switches | stephenthe1 | Programming | 28 | 11-05-2005 16:37 |
| Limit switches | Team168 | Programming | 8 | 10-02-2003 16:22 |