Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx Error

Hello, first of all sorry for my English. I have a problem with DAQmx. My program runs OK for more or less 3 minutes, but after that an Error appeares.  It is 200279 Error (Attempted to read samples that are no longer available. The requested sample was previously available, but has since been overwritten.
Increasing the buffer size, reading the data more frequently, or specifying a fixed number of samples to read instead of reading all available samples might correct the problem.
Property: RelativeTo
Corresponding Value: Current Read Position
Property: Offset
Corresponding Value:

Task Name: _unnamedTask<6>)
 
How can I increasing the buffer size? Can you help me?
Thank you very much.
Luz
0 Kudos
Message 1 of 5
(3,754 Views)
You can increase the buffer size by using the DAQmx Configure Input Buffer.vi in LabVIEW, or if using the C API, use the DAQmxCfgInputBuffer function.
-Alan A.
0 Kudos
Message 2 of 5
(3,738 Views)

hi

i m getting the same error in my DAQ system...I m in search of this problem since last 4 days...i have tried all the solutions available in NI forum....

First of all, I am telling you the problem what i m facing is....

a) I have tried to decrese the sample per channel bt i need only that much sample per channel.so that solution is not full fil my problem

b) I have tried to increase the buffer size using DAQmax buffer bt after reaching to that much of buffer, it becomes full and again i m getting the same error..so i need one logic that empty my buffer or refresh my buffer after every 1 second of time

c) i can not increase my sampling rate..

so can anybody tel me the perfect solution...

its realy urgent for me

Sahara

0 Kudos
Message 3 of 5
(3,513 Views)

Sahara,

Following information will help us to answer your query better

  • What is the sampling rate you are aquiring at??
  • Which DAQ hardware are you using??
  • Do you have any additional processing on the acquired data??

Regards,

Dev

0 Kudos
Message 4 of 5
(3,494 Views)

i m using NI's cDAQ 9172 chasis for that...

the modules which i m going to use that are ....Analog cards like for temeperature its 9211,,, for current its 9203, for voltage its 9201,,,

the sampling rate which i m going to use is 10000 samples per second...

also i aspect to get the answers that how can i make one data acquisition system using labview..this is my first project which i m going to handle using labview and i think i m completely fail to do so...

so plz can anybody let me know abt the process of making a data acquisition system using labview or u think that u have any VI which gives my answers perfectly than plz attach with this one..

The main problem i had faced during my design is that when i had initize my all three parameter in different three VI, i didnt be able to join or collect the data from all of them...

so plz let one do think that if u have any Sample VI which u think that it will help to me to understand DAQ in LabVIEW than plz help me...

Sahara

0 Kudos
Message 5 of 5
(3,477 Views)