LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How To Synch Multiple AIs Using A Single NI-DAQmx Task

Hi all,

 

I came across this tutorial, which will suit my needs:

 

http://digital.ni.com/public.nsf/allkb/78E44565FD87E7D686257108007F94F8

 

But my two (2) devices have different terminal configurations (Dev0 is differential and Dev1 is RSE)?

 

Can I still use the "Automatic Synchronization" approach? Or will I have to use the manual method?

 

Thanks,

Jack

 

0 Kudos
Message 1 of 5
(2,747 Views)

Yes, it will still work for you.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(2,733 Views)
Hi crossrulz,

Thanks for the reply.... do I need to set the terminal configuration to use diff for dev 0 and rse for dev 1 (not sure how to do that?), or can I just use the default (unwired)?

Thanks,
jack
0 Kudos
Message 3 of 5
(2,730 Views)

You set up the terminal configuration on a channel by channel basis.  Are you trying to setup your channels in LabVIEW or through MAX?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 5
(2,716 Views)

Hi crossrulz,

 

I found a alternate solution, please see attached... Although I am not 100% certain that Dev0 and Dev1 are sharing the same sample clock...?

 

I tried to set up a task in MAX (which would be much easier), but I keep getting an error as I am also sending AOs from Dev0, and everytime I send an AO I would gte to error saying the source or reference clock for AO was not available... Everything in the attached files works perfectly (i.e. all AIs read and the AO writes as programmed), but I don't know why  this timing configuration works when other settings don't...

 

Regards,

Jack

 

 

 

 

Download All
0 Kudos
Message 5 of 5
(2,714 Views)