ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview daq analog and digital sync

Hello, everyone. I am a beginner at Labview. I am using daq to send analog and digital signals to some devices. In the code attached, I could synchronize three analog outputs using a single task. However, I cannot sync the digital one with the analog signals. How do I do that? Please help.

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

Use the AI sample clock as the source of DIO sample clock.

You can refer to Synchronizing Analog Output and Digital Output Signals Using LabVIEW with DAQmx

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 3
(1,024 Views)

Thank you. But can you please explain a bit. I have attached a vi according to your suggestion using timing for digital too. But the signal is showing only true. Whenever I use timing, I do not see the waveform. I do not know the reason. Is there a way, I can use the analog pulse to convert it digital and send it to daq? Or using this sequence array to sync them, it always starts later than the analog signals.

0 Kudos
Message 3 of 3
(991 Views)