Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Different loop times

Hi,

I have a timed loop with 500ms loop time for Counters and Analog Buffered reads. The control loop has a 20ms loop time. Is it possible to read from the buffer, using DAQmx Read in these two loops, without altering the current read position in the buffer?

Is there a way to configure the DAQmx task(s) simiar to the "DAQ Occurrence VI"?

Regards

Roger Isaksson, Damill AB

0 Kudos
Message 1 of 3
(3,515 Views)

Hello Roger!

 

I believe this question is under control now after the last e-mail conversation we had!

 

Good luck with your project!

 

Regards,

Jimmie A.

Applications Engineer, National Instruments

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 2 of 3
(3,486 Views)
Jimmie thanks for the support,

Sometimes it's good to solve some issues on your own as well, don't you think so? 🙂

Here is the code which I beleive should do concurrent reads, anyone should feel free to correct me if the semantics are in error!

Roger Isaksson, Damill AB

0 Kudos
Message 3 of 3
(3,473 Views)