02-07-2009 10:55 AM
Having trouble using the rate output of the encoders. Using the Encoder Example vi, going a constant speed, the rate in one direction is zero and the rate in the other direction is intermittently zero. The pulses coming out of the encoder are accurate. Any hints or is this a bug with the encoder vi?
02-07-2009 01:07 PM
The encoder rate works if deployed at 1x or 2x but not at 4x. The behavior at 4x deployed remains the same as described. ??? What is wrong with 4x? (Digging into the Encoder Get VI, the 4x is different from the 1x & 2x.)
02-07-2009 11:23 PM
Are you using averaging?
I think I just read that the minimum averaging for 4x encoding is 2 (the default).
Setting averaging to 1 causes problems.
02-09-2009 07:11 AM
Thanks Philbot. We were using 1 for averaging in the code we were testing. We will try more than 1 and see what happens.
02-10-2009 07:10 PM
Still can't get 4x to work with averaging greater than 1. 1x & 2x works fine so we're going to stick to 2x.
02-10-2009 11:43 PM
Are you using LabVIEW update 3 with the v11 image?
02-11-2009 03:12 AM
The default in hardware is 2, but the default on the configure timer VI is 1. That can be a source of confusion. Just make sure you use at least 2 for averaging in 4x mode with the latest update. Before update 3, the rate output of the encoders was not accurate in any mode.
02-11-2009 07:12 AM
I am using software version 3.0a.
02-11-2009 07:14 AM
I was using 4 as the value for averaging during 4x mode.