Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting encoder reading out of PCI-7334 into LabView 6.0

Hi
 
I am new to Labview. So excuse my lack of knowledge in normenclatures and logics. 
 
I have a system with LabView 6.0, NI Motion software (FlexMotion 5.2.7?) and PCI-7334 motion control card.
 
I want to do two things. Using the PCI-7334 card, I want to -
 
1. take the quadrature encoder reading (connected to a Heidenhain Angle Encoder) into LabView.
2. use one analog input channel and take reading.
3. perform #1 and #2 simultaneously.
 
What steps do I need to do? If there is a tutorial or example please direct me to the correct one.
 
Thanks.
 
 
0 Kudos
Message 1 of 2
(3,095 Views)

As the PCI-7334 is a motion control device, it's measurement capabilities are very limited. Of course you can read encoder values and analog inputs in NI-Motion, but the timing is done in software and it is non-deterministic. That means, there will be always a delay between your readings and you can't tell the exact amount of this delay, which might be in the magnitude of 5 to 10 ms.

For measurement tasks better use an M-Series board like the PCI-6220. These boards offer hardware timed acquisitions and you can correlate encoder readings and analog readings very accurately (syncing accurracy is in the lower nanoseconds). If you use the internal RTSI connector of the PCI-7334 and the M-Series board, you even could route the encoder signals from the motion controller to the M-Series board without the need of external signal connections.

I hope this helps,

Jochen Klier
National Instruments

 
0 Kudos
Message 2 of 2
(3,077 Views)