01-26-2012 02:29 PM
One stepper motor using encoder for closed loop. Can I connect another encoder without using a motor?
Using LabVIEW along with a PCI-7332 and an UMI7774 interface to drive a stepper motor with encoder feedback. System is setup in closed loop mode for control. Need to add another encoder to the system without attaching a motor. I'm validating encoders one to the other. Can this be done? What kind of latency should I expect? I've attached a simple vi. Need an answer prior to purchase.
Thanks
Solved! Go to Solution.
01-27-2012 02:50 PM
You can just hook up the second encoder to the second slot without having a motor there. Then you can use Read Encoder Position.flx to read its position or do what you want with it. As for latency, how much are you trying to get under?
01-27-2012 03:49 PM
01-30-2012 12:49 PM
There might be some latency from the LabVIEW calls, but if the connections from the motor to each encoder are similar, than that data shouldn't be separated in time too by more than a ms.
As for configuring in MAX, all you'd have to do is configure the second encoder like normal as if it had "no motor." In MAX, you might not be able to see both encoder counts at the same time, but you could in LabVIEW.
01-30-2012 01:04 PM
01-31-2012 10:37 AM
If in the same while loop, I'd stay on the safe side and say less than 1ms, but you shouldn't get much latency at all. 🙂