LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I synchronize DO and AI on USB-6009 with counter?

Solved!
Go to solution

Hi all,

 

I'm using USB-6009, LV 8.5, under windows XP. I want to generate DO signals synchronized with AI. I know that I cannot use the sample clock as the clock of DO. But can I use the counter of the card to synchronize DO and AI? And can any one give some similar example? Thank you!

 

Best wishes,

Bo

------------------------
My blog Let's LabVIEW.
0 Kudos
Message 1 of 5
(2,960 Views)
You don't have a counter output and even if you did, the digital outputs are software timed only. The specifications are here.
Message 2 of 5
(2,954 Views)

Hi Dennis,

 

Thank you for your quick reply. But I have no idea about the "software synchronization", could you show me any example? Thank you very much.

 

Best wishes,

Bo

------------------------
My blog Let's LabVIEW.
0 Kudos
Message 3 of 5
(2,948 Views)
Solution
Accepted by topic author foolooo
The device will output whenever you call a DAQmx Write. It's not any more complicated than that. And the synchronization is pretty much based on dataflow and when you want to generate the digital output in relationship to the analog input.
Message 4 of 5
(2,943 Views)

Hi Dennis,

 

Thank you for your advice. Then I'll set the generation mode of the DO task as "1 sample (on demand)", and use a loop to generate. Hope it works. Cheers.

 

Best wishes,

Bo

------------------------
My blog Let's LabVIEW.
0 Kudos
Message 5 of 5
(2,940 Views)