Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

how to start two or more tasks at the same time?

$
0
0

Hi all,

  I have few tasks setup to send analog and digital output to different channel with buffer and given sampling rate. I need to precisely control the timing of samples output to each channel. But if I start the task in labwindows

 

    DAQmxStartTask(taskHandle1)

    DAQmxStartTask(taskHandle2)

    DAQmxStartTask(taskHandle3)

 

they actually not start at the same time since they are exectued in sequence. I wonder how much time delay will be if I start each task in sequence. Also, is it possible to have 2 or more tasks started at the same time?

 

p.s. I think it will be easier if I could bind different channels to a single virtual channel but I don't think it is possible to create a signle virtual channel with analog channel and digitial channel.


Viewing all articles
Browse latest Browse all 5339

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>