Greetings,
Yes, this should be possible with the combination of your PCI-6602 and your E-Series board. You will need to connect these devices with a RTSI cable. To synchronize your encoder measurements with your analog input measurements, you will need to route your analog input scan clock (SCANSTART) though RTSI to the gate of the counter that is performing the encoder measurement. With regards to the encoder, you will need to perform a buffered position measurement. Each scan clock pulse will load the current count into a buffer. You did not mention your programming environment, so I will assume you are using LabVIEW. I would suggest that you examine the following examples:
Two E-Series Shared ScanClk.vi
Measure Buffered Position (NI-TIO).vi
I realiz
e that you are not using two E-Series boards, but the first example demonstrates the proper procedure for exporting a scan clock through RTSI.
Good luck with your application.
Spencer S.