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: 

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,643 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.



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,619 Views)