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: 

DAQmx Virtual Channel Update Speed Is Too Slow

I'm trying to read DAQmx data directly over the Shared Engine Variable using the following code:

ForumSnip.png

 

I'm finding that I can't get data faster than every 1 second, even though the Update Speed indicator is reading 0.00003 seconds.

 

I can't find anywhere that allows me to increase the speed at which the global virtual channel will be updated, I've already changed the ADC timing to high speed.

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

That is more of the nature of the Shared Variable Engine.  Why are you using that anyways?  Just use the DAQmx API directly.  If necessary, use a separate loop that just reads the DAQmx channels and use a Queue or User Event to send the data to whoever needs it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,154 Views)