10-08-2009 07:07 AM
Hello folks,
EQUIPMENT:
LabVIEW 7.1
PXI-6602 - collect quadrature encoder data
PXI-6052E - collect several analog input channels
The 6052E will use its onboard clock (i.e. ai sample clock) to capture analog input data at 50kS/s. I would like to also use the 6052E ai sample clock to capture the encoder data (for synchronized ai and encoder data), however I want to sample the encoder at 1kS/s.
Is there a "built-in" way to do this, or do I have to create something in my read loop to handle it?
Best Regards,
Chris
10-12-2009 05:49 AM
Chris,
If you want to synchronize the two cards, you need to share the timebase and a start trigger. There are several examples that show how to synchronize devices, which you can open by going to Help>>Find Examples. Then browse to Hardware Input and Output>>DAQmx>>Synchronization>>Multi-Device. You can input a different Sampling Rate for each device (even though currently they are set up to go at the same rate).
Cheers,
-Christina