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.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

sampling pxi-6115 4 channels at 10M per chan

Hello there

 

I am trying to sample pxi-6115 4 channels at 10M per chan.

The sample data goes ONLY to pc memory without user interface or writing to disk.

 

The sample mode is cont. sampling using callback every N events (base on the sample comes with daqmx)

 

The problem:

When i am sampling 4 chans at 5M i can sample forever (more than 2 Min)

When i am sampling 3 chans at 10M i can sample forever (more than 2 Min)

When i sampling 4 channels the acq is stopped after 35 Msamples witout any error msg

 

i have tried playing with daqmx buffer size , the N samples to fire callback without ant luck

 

the system config is:

cvi 2012

PXI-6115 , MXI-4

DaqMx 9.5.5

WinXp core 2 duo

 

Thanks for any help

Gabel Daniel

 

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

Have you tried separating the thread between data acquisition and data logging? If they're in the same thread, the task will be too slow to clear all the data until it's overflow.

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

Hi KateB

 

There is NO data logging only read the samples to local pc memory

I have tried to read raw data,bin16 data with the same results

I also tried to read the data in polling thread insted of CB , with the same results

 

Gabel Daniel

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