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

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

Antworten (0)

Kategorien

Mehr zu Data Acquisition Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 1 Apr. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by