Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

compaq daq encoder and analog sync

Hello,

 

Compaq DAQ chassis 9174

Analog module 9234

Digital module 9421

 

Goal : Synchronize the acquisition of 2 analog inputs and a quadrature encoder.

 

Is it possible with this material?

Is the vi attached suppose to achieve this?

 

 

 

0 Kudos
Message 1 of 3
(3,165 Views)

I haven't done a lot with CDAQ and can't speak with confidence about the capabilities / limitations of

your particular chassis and modules.

 

However, the example code you posted appears to be the right approach in principle.  You've configured both

the AI and Encoder tasks to use the AI sample clock, you've correctly sequenced the calls so that the Encoder

task is started *before* the AI task (thus ensuring that both tasks see the first sample clock edge), and you're

reading a specified and equal # of samples from each task in your loop to keep your data chunks sync'ed as

well.

 

I can tell you you're on the right track, I just don't know for sure whether your train (CDAQ hw) works.

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 3
(3,152 Views)

I have looked into the hardware, and I believe should all work also.

Jensen
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(3,141 Views)