Is there a way to synch AI and digital output in session-based DAQ?

1 visualizzazione (ultimi 30 giorni)
Hello everyone,
I am converting over some of our old data acquisition code to the new sessions-based version. We would like to record for data into the AI channels and output analog data through the AO channels. I know how to do this trivially but we also now need to send out a TTL pulse through the DIO channels. I understand how to add these channels and toggle their value, but not in a manner that is synchronized with the analog channels. Is there a way to share the clock between between the two systems and then trigger the DIO channels at a specific time during the acquisition (say 1000 samples in for example)?
Any help is most appreciated. Thanks! Quentin

Risposte (0)

Categorie

Scopri di più su Digital Input and Output in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by