LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

daqmx task creating dynamically

Hi,

 

We are using 60 digital channels in DAQ. But at a time we will be using only 18 channels. We need to create task dynamically depending upon the channels in RT.

Currently it is taking around 6ms for executing. How can we reduce the time or how can we dynamically use the channels

 

 

 

 

0 Kudos
Message 1 of 3
(2,705 Views)

Hi Ajeet,

 

Currently it is taking around 6ms for executing.

Yes, creating a DAQmx task takes it time. Most of it will be in the CreateVirtualChannel function…

 

Usually you only create a task once before your measurement starts. Why are you worried about 6ms then?

When you need to select different channels very often: create a task with all channels included and only use those inputs you are interested in…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,696 Views)

Even writing data is taking more time. What to do for this?

0 Kudos
Message 3 of 3
(2,645 Views)