From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

syncronizing vi to run at same time

Looking for an example to sync 2 vis to start at the same time. New to labview etc. I have usb daq card and wish to output pulse train on d/io and start analog input collection at the same time. I have messed with rendev and have been unable to sync effectively. Any direction is welcomed. Thanks in advance

0 Kudos
Message 1 of 2
(1,962 Views)

Hi rssharpe,

 

There are a couple of resources which help shine a light on synchronization. Since you are interested in synchronizing two tasks (analog output/input) with hardware, this article (http://zone.ni.com/devzone/cda/tut/p/id/4322) will explain some examples using our NI DAQmx driver to trigger synchronization. In addition, if you are interested in timing certain parts of your code to specific intervals, check out this tutorial (http://zone.ni.com/devzone/cda/tut/p/id/11466) which explains timed-loops, internal/external timing sources, and software-triggered timing sources. Hope this helps!

 

 

Aldo A
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(1,947 Views)