07-07-2016 06:51 AM - last edited on 07-07-2016 11:26 AM by acordero0710
I am currently sampling at 10K for my read and calling DAQmxRegisterEveryNSamplesEvent with N = 100 sampling 13 analog channels. The subroutine called reads the buffer with DAQmxReadAnalogF64 and processes the data. In a separate thread I access the processed data and call DAQmxWriteAnalogF64 creating a control loop.
The problem is I have observed both threads getting hung up on both the DAQmx reads and writes.
Am I trying to do something that these cards are not capable of? Would I be better suited offloading the writes to another PXI card?
07-08-2016 03:32 PM
Hi Sneaker,
What do you mean by "hung up?" Is it stopping there and not starting again, or just taking longer than expected?
Would this application work without calling DAQmxRegisterEveryNSamplesEvent?