|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Encoder problems
Today I was working on the KOP optical encoders and under no circumstances could I get them to work. I placed the Open encoder and the Set encoder function outside the teleop loop and the Get encoder function in the execute case. This setup worked for my other sensors and I know the encoder works. What am I missing? See code attached.
Last edited by Pausert : 16-01-2010 at 18:28. Reason: Added code. |
|
#2
|
||||
|
||||
|
Re: Encoder problems
You should put the initialize parts of the sensor code in the init loop. Also I would try putting the configtimerm.vi before the start.vi. also try looking at the error statements to see what that gets you.
|
|
#3
|
|||
|
|||
|
Re: Encoder problems
Quote:
|
|
#4
|
||||
|
||||
|
Re: Encoder problems
Have you tried the Encoder Example? In LabVIEW choose View>>Getting Started Window, then click Examples and pick Encoder Example from the list. It also shows the wiring, so you can make sure that matches as well.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problems with Encoder Counting | bjimster1 | Programming | 19 | 07-03-2007 09:59 |
| Encoder Counting Problems | RyanW | Programming | 1 | 14-02-2007 15:17 |
| Encoder Problems | bjimster1 | Programming | 2 | 10-02-2007 08:04 |
| Encoder Output Problems | Mike | Electrical | 5 | 25-11-2005 21:43 |