Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

ni pci 6255

Dear Sir,

 

i have NI PCI 6255 80 channel data acquisition card and i am acquiring data of 80 channels at the sampling frequency of 4KHz per channel.

and one chunk of acquired data is 1024*80 samples, mean 1024 samples for every channel.

I am sending this acquired data to another PC say PC A, where only one channel data is sending to soundcard for sound play. and this logic of transferring

and playing data on sound card is working fine. the data is transfering to the pc on chunk by bhunk basis.

 

now i want to send this data to another pc let say B. But it send data to PC B in such a way that it misses two chunks of data and send every third chunk.

the logic of recieving data on both computers A and B is same. (where on PC B, it just acquiring data and doing nothing on it)

 

now the problem arises, when i send data to PC B, after sending data for around 15 minutes, and some times even one minutes, NI card slow down data acquiring,

and ultimately with in few chunks acqusition, it stops data acquisitions with the following messege,

 

DAQmx Error: Measurements: Attempted to read samples that are no longer availabl

e. The requested sample was previously available, but has since been overwritten

.

Increasing the buffer size, reading the data more frequently, or specifying a fi

xed number of samples to read instead of reading all available samples might cor

rect the problem.

Property: DAQmx_Read_RelativeTo

Corresponding Value: DAQmx_Val_CurrReadPos

 

Property: DAQmx_Read_Offset

Corresponding Value:

 

Task Name: _unnamedTask<0>

 

Status Code: -200279

End of program, press Enter key to quit

 

I have increased the buffer size, but it donot work

Please helpout

 

0 Kudos
Message 1 of 2
(3,063 Views)

Hi,

 

From above, it seems that you read the PC buffer very fast, when ADE memory try to read empty PC buffer, it may give you an error. 

 

For PCI 6225, you can set your sampling rate maximum 3.125 KHZ/channel (250 KHZ/80 channel) if you use all 80 channels. Even you set to 4 kHZ, it will go to 3.125 KHz. Please try to increase the buffer size at both daqmx timing vi and daqmx read vi. 

 

Let me know the outcome. 

 

Regards

Yasrof 

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