Error-200279 with PCIe-6363

I currently have a simple vi used to acquire data of tension through the DAQ assistant permanently.

Currently I'm collecting 2 channels sampled at 200 k continuous (due to random events).

No matter where I put the samples to read, I have several times: error-200279.

Some other posts, I assume it's because the DAQmx read function and the function "write on a file" are producing at different speeds, causing a shift of data may be.

To resolve this problem, should I apply the design of producer/consumer model? And if so, I may receive advice on how to actually that implement with my current vi?

-Matt

Hi davd24,

We always recommend to file i/o functions in a separate loop of read/write functions DAQmx. It resembles what is past in your case, is that the time it takes to write to a file is longer that it takes to fill the device aboard the buffer that throws the error you see. Therefore, I suggest the architecture of the producer consumer. Here is a link to a tutorial:

http://www.NI.com/white-paper/3023/en/

Also, here is a link to an example of Community produce consumer with DAQmx features:

https://decibel.NI.com/content/docs/doc-2431

If you have any specific followed after looking through these questions let me know.

Tags: NI Hardware

Similar Questions

  • error-10401 with pcie-6321

    Hello

    I have the error-10401 when I want to configure a port card PCIe-6321 (3 ports of 8 bits each).
    I use the sub - vi ' DIO-configure a port.
    I checked all the settings.
    I also tested the sub - vi 'Read a digital line' and I have the same error.
    The PC used for my tests is on Windows XP and using LabVIEW 2010 SP1 and NI DAQ MX (supplied with the PCIe-6321) 9.3.5.

    Sincerely,

    This function is part of the traditional DAQ driver obsolete. Use the DAQmx functions in your palette.

  • Why 'Read a fixed number of samples' help with the error 200279?

    Hello world

    It is a question about a tip found in the explanations on the acquisition of data error-200279. This explanation it is said: '... ". reading a fixed number of samples instead of all available samples can fix this... »

    AFAIK the DAQ system buffer is a ring buffer, so we can consider having a writing position and a position of reading "in motion" along the ring. While the playback position is the position of writing, everything is brilliant. But if writing catch up reading, samples will be overwritten and therefore-> error-200279.

    So here's my question:

    I do not understand why a fixed amount of reading samples would help me with this error. I don't understand why other Councils (increase in the size of the buffer or the frequency of reading) would help me because they reduce the probability of the playback position being outrunned by the position of the writing.

    But if I read everything which is available, whenever I read the only way for the buffer fills would be that the time between two readings take more time than necessary fill the entire buffer.

    Or in other words to each reading I will read at least as many elements that it has been filled by writing since the last read, so the only way to fill the buffer would fill completely at once since the last reading.

    This should be a lot safer than reading a fixed amount, because in this case, I'd get a problem if I read it that fewer items than writing complete at the same time, regardless of the number of items that would be and no matter what the size of the size of the buffer that would be.

    What I understand here?

    Thanks and regards,

    Sebastian

    SBach wrote: this VI is a State Machine in queue, the reading part is made in the case of timeout and cases are used as initialization orders, stop and change the outside DAQ hardware.

    That I can't tell when these commands will trigger the time between two readings could not be set. If a strictly fixed amount of data could lead to a buffer to fill.

    Init command: you certainly don't have a running task.

    Stop: You stop the task, then doing here if you get overrun.

    Edit tasks: you will probably need to stop the task still before you can edit the task, but let's go back to not caring.

    The way I see it, the other commands must stop the task anyway.  If you can leave the timeout do its job and do not do a lot of extra stuff.

    And here are some alternatives:

    1. use a shift register to keep track of how long your wait time should be.  In the case of reading, make the deadline to be whatever it is that you are using.  In all other cases, only the 0 so that a read timeout must be performed immediately (once the queue is empty).

    2. When you do your check to 1.5 times the timeout, if there is too much data, queue a reading at the front of the queue so that playback will happen.  The idea is that you really want to keep the same stack sizes to keep the memory to be allocated.  So just to be read more often.

  • error-200279 card USB-4431 DSA

    I use USB-4431 dynamic signal acquisition card.  I have the program set out in the attachment.  I am trying to generate a control shaker random vibration signal and at the same time reading back 2 analog inputs. When I run my code with the full program, I have error-200279 but when I split the acquisition & code generation and put it in a stand alone vi and run it in itself, I don't get any errors.  I tried the different sampling frequencies and samples/channel.  one that seems to work best is when I'm 60 kHz and 20Ks/channel sampling.  My requirement is an example for the acquisition of 200 kHz ane 20Ks/channel.  I've been monitoring the node available samples/channel and seems to continue until no more samples are available and it shows 0.  I need to make these 2 tasks to run correctly in the main program, which is an event focused on loops of master/slave.

    Hi ssherian,

    The USB-4431 is a sampling frequency maximum of 102.4 kech. / s. If your application requires a 200 kech. / s, you will have to use a PCI or PXI-based DSA with a sampling rate WAS higher.

    What about the 200279 error, this error is usually due to a problem with the DAQmx hardware buffer. With a continuous acquisition, a good rule of thumb is to have 10 x the number of samples to read sample rate (i.e. the sample rate = 10000 s/s, samples read = 1000). It is also possible that your computer simply cannot process the data quickly enough. If you perform any complex, analysis of real-time data the processor of your computer simply may not able to catch the flow.

    This KB: error-200279 DAQmx Read Error provides an overview of together in-depth to error 200279, possible causes and measures to resolve the error.

    Hope this helps,

    Chris G

  • Error-200279 was held at lu DAQms (analog 1 Wfm NChan Nsamp d) .vi2

    Hello

    IM taking technical temperature (thermocouples of type J) with the SCB-68 using PCI-6229. When I run for a relatively long time I get this error.

    It is said

    "Error-200279 took place to read DAQms (analog 1 Wfm NChan Nsamp d) .vi2"

    Possible reasons:

    Measurements: Tried to read samples that are no longer available. The example of requestred was already available, but has since been replaced.

    Increases the size of delete, reading data more frequently or specifying a sets of samples read instead of all samples available moght correct the problem.

    Thank you

    First of all, you should always label on the block diagram control terminals so we know what the purpose of each terminal.

    The problem is the misuse of the Express VI.  They are perfect for something to get up and running quickly, but they have such high overhead and cannot be modified for more advanced features, there are problems quickly.

    Writing on file inside the loop of data acquisition could be a problem.  If you have a slow down in writing file, it will slow down the whole loop.  It's a good idea to use producer/consumer architecture to pass data to the other lines for writing file.

    I think your main problem is the express VI build Table.  Why you see thousands and thousands of datapooints in a table.  Because the table developing the table of handling inside that Express VI will quickly slow as LabVIEW as for finding still more large blocks of free memory to contain the growing table moving constantly in memory.  The global loop slows down as well, and until you know your buffer DAQ as overwhelmed because you couldn't keep with reading the data.

    Get rid to build Express VI Table and table and try it without the people.  Your problem will probably go away.

  • Windows 7 - Pci to Pci bridge (error: Code 10)-PCI video card

    Before that I declare my problems I will list what I'm running and I am trying to accomplish.

    I'm under edition 64-bit of Windows 7 Enterprise, not the Beta or RC. I have 3 video cards in my possession (listed below).
    -(PCIe) Evga GTX260
    -(PCI) Evga 9400GT
    -Evga (PCI) Fx5500
    Out of these 3 cards I only use the GTX260 and the 9400GT. I had to "retire" the Fx5500 because drivers latest WHQL (certified) only provided support as far down as the cards of Nvidia "6 series". Unfortunately the Fx5500 is a 'series 5' and falls below this line. I already tried to use the GTX260 and Fx5500 in earlier versions of Windows (XP and Vista), but there is no way to download and install two separate drivers for two of the same video card do - you will have nothing else to errors. There is the option to go to a place like guru3d.com and download a supported driver custom which covers both the GTX260 Fx5500, but drivers are not certified and lack support. Therefore, I bought and now use the 9400GT is covered by pilots for the GTX260, which eliminates the need for messing around with custom drivers. Also, the 9400GT has a better graphics processor and more memory than the Fx5500, so it was time to upgrade anyway.

    Now that you have some info here is my problem, whenever I have install the 9400GT as I get a second entry "pci to pci bridge" (the other entrance has no errors) that appears under "System devices" in Device Manager. The entrance of bridge pci to pci second has a yellow triangle with an exclamation point, which refers to a problem. When you check the properties of this unit it is more or less said that Windows has detected a problem (error Code 10). The GTX260 is still working and still comes in "graphics cards" as a GTX260, but there is no entry for the 9400GT. I tried the 9400GT in two PCI ports and each time it does the same thing. If I get out the GTX260 and ONLY operate the 9400GT, I always get the question of the pci to pci bridge, BUT I get a picture and can boot into Windows 7 without a hitch. When I do that it is still nothing listed under "graphics cards" as a 9400GT or even a VGA compatible device.

    After messing around with this for 10 hours (Yes, I said 10 hours) I decided to dig my retirement (the Fx5500) PCI video card. When I installed this card I had no entry bridge PCI to pci 2nd appear under "System Devices", and one that appeared had no yellow triangle or error codes. I then checked under "Graphics cards" and Windows 7 it was recognized as a VGA-compatible device and asked for drivers.

    Now, I have concluded that there is absolutely no problem with the motherboard or my material (including video cards). In a first time EVGA support and I had suspected that the motherboard may be bad because of all the pre-diagnostic steps I had taken during my test of 10 hours. I won't enumerate what I did because it would literally take 3 hours to type everything in it. Just believe me when I say I've tried many things including but not limited to the latest bios updates (flashed 4 times and reset to ensure accuracy), IRQ customized management, all OS X 2, multiple/latest chipset drivers installed, reinstalling video multiple/last drivers installed, memtest test, complete equipment disassembly and re - build (adding a device at a time) and MUCH more. The only thing I have not tried installing another OS other than Windows 7 64 - bit to see if I could reproduce the problem. It's a waste of time, but because that let's say I install Windows XP Pro and the 9400GT doesn't have this problem... Well, that's fine, but who cares on XP Pro when I used it for the last 9 years and when I have a version full of Windows 7 I want to use? I'm certainly not running XP Pro on Windows 7 just to use the PCI video card. Second, if I install XP Pro and it always gives me the same error of bridge pci to pci and then, I only lost more time than because if it s not to go to work or the other OS, then I m sure that hell will not leave XP Pro installed when I use Windows 7.

    Thank you
    Piyush

    Maybe a stupid question now but has your post anything to do with Toshiba and Toshiba computers laptops?

  • Try to write data to the file, but error 200279

    I have problems when writing data to a file. 10 seconds in the recording process, I get the error 200279. I did some research on the subject, but I am unable to corect my code. I think I want to increase the size of the buffer, but he prefers, I suppose, to read the data more frequently. The way that I save my file is, before starting the VI, I attribute a location and name of the file (e.g. data.csv). The date and time is added at the end of the actual when file the I start to record the data (e.g. data_07-26 - 13_122615.csv). If the file does not exist, it creates a new file, and then adds the data of this file after each iteration of the loop. The reason why I did this way was so I don't have to worry about running out of memory, but apparently my code is wrong.

    I will include a copy of the faulty section of my code. Any help would be greatly appreciated.

    Thank you.

    Your problem is that the writing on the disk is slow.  It is pretty slow so it causes your DAQ buffer overflow and cause error and loss of data.  What you need to do is to implement a producer/consumer.  This will put the data acquisition and recording on the disc in separate loops.  This will allow data acquisition work at speed, that he needs to deal with incoming samples and writing on disk can run at all what pace, he can.  You send data from data acquisition to the loop of logging using a queue.

    You can also think about changing how you write to the file.  VI is constantly open and close the file, which is a very slow process if you do it inside a loop.

  • HAVE DAQmx error-200279

    I run a loop with a N-Chan AI read vi, out its values in a queue which is read by the other parallel loops.  During the operation of the program, when the other loops treat their queues and (from what I can tell) occupy time processor, read it loop returns a 200279 error, saying:

    Error-200279 to AI Read.vi:7

    Possible reasons:

    Attempted to read samples that are no longer available. The requested sample was already available, but has since been replaced.

    Increase in the size of buffer, most frequently the reading of data or by specifying a fixed number of samples to read instead of reading all available samples would correct the problem.

    Property: RelativeTo
    Corresponding value: current playback Position
    Property: Offset
    Corresponding value: 0

    Task name: _unnamedTask<13>

    I am quite puzzled as to why this error keeps popping up.  No one knows what the first cause of this error is usually?

    Hi Jeanius, in my view, that this articlecan explain your problem.

  • matter of timing gives error-200279

    Hey

    I'll have some problems in my program on the schedule and read. The question arises with the part of my code, relating to a barometer Vaisala PTB - 110. (in addition, the program is related to 4 x Rotronic HF5 transmitters and 3 x Brooks MFC). It worked fine for months with samples available by alternating channel between 0 and 1, but now he just continues to rise before giving the error 200279.

    The intention is to have snack every second. I tried to play use 'samples available' for the 'number of samples', but this translates each other read value is 0. I also tried to set the number of samples to read 2 but this messes with my Save function, which is built to collect time-based.

    The problem has left me speechless because nothing has been changed compared to when it worked fine.

    The section of the code dealing with the PTB-110 is included.

    I hope someone can help me understand what is wrong. If it is necessary to understand this out made me know.

    Thanks in advance

    Morten Tschiskale

    Not sure I understand what you try to do, but...

    Looks like you're creating a continuous sample with a sampling frequency of x ms/sample (for example 500 ms).  Then feed you the 500ms in all loop and I guess off the screen is a wait function.  In other words, the while loop will iterate to slightly more than 500 ms/iteration (assuming that there is nothing slower inside the loop) and check back to see if there is a sample ready.  This means that the apparent read rate is slightly slower than the sampling frequency and the # available creep indefinitely. If something is much slower inside the loop (for example, something takes 750ms to run) you're problem will worsen.  I would like to try out a millisecond timer reading to an output of indexation of the while loop to see what really is your loop rates.

    Seems strange that you're using "Channel N, N sample" and immediately the indexing on the first sample of the first waveform.  No further comment other than seems weird.

    If you can tolerate a little jig in the calendar of your reading, you could try a single reading (1 channel, 1 reading, don't not continuous) inside the while loop (or better still within a dedicated loop parllel) and finish with the clock sampling and stuff of readings available.

  • several PCIe - 6363 s in the same computer

    If I install 4 32 channel PCIe-6363 on the same computer (I found a Gigabyte motherboard with 5 PCIe connectors) and gains of the analog data at full sample rate (2. MECH / s on each card) on all inputs of 128 (4 x 32), I would be able to record all these data on a standard hard drive 3 gb/s, or would choke the system with this amount of flow? It could also be cooling or power with the installation of 4 PCIe_6363 issues cards on a single machine?

    Thank you!

    Stephen

    Hello Stephen,

    For PCIe-6363 devices, it is important to realize that they can taste at 2 MS/s with a single channel and multichannel rate is 1 MECH. / s, which is distributed among all the channels that you use in the task. This is because the 32 channels are multiplexed to a single analog-to-digital converter (ADC)

    This behavior is true among all our Multifunction DAQ hardware, except for simultaneous sampling (as the SMU-6368) devices, which sample of each channel to 2 MECH. / s, because they each have their own analog digital converter.

    So you would be able to acquire all 128 channels without problem, but they would be at a speed of 1 MECH. / s / 32 channels = 31.25 kech. / s per channel.

    With regard to the total disk write speed for 4 PCIe - 6363, it would be 4 devices * 1 MECH. / s per unit * 2 bytes per sample = 8 Mbps. Office of the hard drives can easily achieve this.

    You don't want to connect with a RTSI cable to make sure they all use the same clock sampling and relaxation at the same time. These devices comply with the PCIe specification, and so you will have no problem with the power supply or cooling on this motherboard. They require no external power supply unless you need additional source on their line of + 5 V, in which case you would use the motherboard connector hard drive.

    Does that answer your question? Do you really need 2 MECH. / s on each channel? Let us know if you actually need 2 MECH. / s on each channel, and we can rework the math with the SMU-6368 and discuss considerations.

    Best regards

    Sam

  • IMAQ extracted buffer is suspended in an ongoing acquisition with PCIe-1429

    I acquire images of 500 x 500 pixels at 1000 FPS from a camera of the Basler A504k using a PCIe-1429 (LabView 8.6, x 64 Vista). The images are processed online, and all works - some time. From time to time the program and out of just to extract vi buffer never gets. No error is produced. I need to kill Labview and restart it to leave. I read http://forums.ni.com/t5/Machine-Vision/BUG-with-PCIe-1429-Cameralink-full-config-Basler-sprint-lines... and implementation of the proposed solution, but no luck. I followed the lost images and buffer number called and can't find any problems. My VI is attached. The images, go to a queue and treatment by another part of the program. Any help will be much appreciated.

    Thanks Vinod,

    Another thing is that the structure of your program looks a little broken. You are extracting tampons from the ring, put a reference to the image in your queue, and then going back and extract a different buffer. This means that your previous buffer is no longer checked and could be replaced, but your loop else may not have finished processing this image yet.

    While this should be causing your current problem, but I thought it is interesting to point out. I think I have two queues of the source images. One that contains free images and one that contains the populated images. You producer loop of who you've given here would consume the free queue, take in one of these images, and then place it in the populated queue. Your consumer loop would be remove from the populated queue, process the image, and then put the image in the free queue.

    Eric

  • Stuck in the error-200279

    My program involves several DAQ tasks that run in unison, as in the example of "Multi-multifunction-Synch I-AO. Works very good in general, but if anything it either never interrupts the flow of the program, I'm stuck permanently with the error 200279. Here is the precise relationship:

    Error 200279 occurred at DAQmx Read (analog 1-d Wfm NChan NSamp) .vi:1

    Possible reasons:

    Attempted to read samples that are no longer available. The requested sample was already available, but has since been replaced.

    Increase in the size of buffer, most frequently the reading of data or by specifying a fixed number of samples to read instead of reading all available samples would correct the problem.

    Property: RelativeTo
    The requested value: current playback Position
    Property: Offset
    Required value: 0

    Task name: input analog

    And once I am in that State, the only way I can find out is to kill and restart all my tasks. There must be a better way? How to resync the computer firm asking former samples and welcomes those who are there NOW?

    Here are a couple of reliable means to bring about this problem: 1. reach a breakpoint during debugging. It's very frustrating when you can't use a breakpoint without destroying the same operation you are trying to debug. 2. the user presses a button that opens a file dialog box. Even though my main program consists of several parallel loops, and the dialog file is called from a DIFFERENT LOOP that makes the acquisition of data. It's a problem anyway. How can I make a file dialog box without stopping my stream of data acquisition along the way?

    Help much appreciated. This problem stop my program to be the work of industrial power that needs my scientific users.

    Thank you
    Ken

    Ken,

    You can specify DAQmx what samples in the buffer to read.  By default, DAQmx will read the 'current reading position.  What you see is that the data not read from "current playback position" got too written with new data.  Basically the data that was in the 'current reading position"no longer exist, and try to read from that location you causes the error you see.  DAQmx does not specify where it reads data since.  You can use the property Read DAQmx node to specify what DAQmx reads Relative to, but also a shift here in the buffer.  It is possible that if you detect this error, you can read from 'most recent sample' for a reading.  This would throw essentially all of the data in the buffer between the "current playback position" and the most recent sample in the buffer, but would allow your application to continue, as it is equipped to address the shortcomings in the data.

    Hope that helps,

    Dan

  • X 230 error 1802 with the Correct WLAN card

    Recently, I ordered my brand new x 230 for the start of the University and selected the thought of WLAN card default option which would be sufficient for my needs. After the hand signal and dropouts, problems I decided to upgrade the WLAN card that would improve the signal strength.

    I know the existence of the 'white list' frustrating that means that some cards are allowed to use. So, I went in the store of Lenovo and looked for what was the best WLAN card that might come with a new order of a 230-System x, as surely they are on the whitelist.

    Later, I bought an Intel Centrino Ultimate - N 6300 card and installed correctly in my x 230. However, from the start I saw to my despair that the 1802 error was there, tells me my card has not been approved. Could someone explain how hell a card that can come already installed in x 230 is not did not whitelist checking?

    Needless to say I am not very satisfied with Lenovo, because I can't even find a list of what cards are accepted. What is the point in a white list anyway? I am a student trying to patch BIOS to remove it, but no one has yet done a patch.

    Why do I get an error 1802 with this card?
    Thank you.

    Hello and welcome,

    Doesn't have that 6300 come from the store of Lenovo, or from a vendor who said it was for a Lenovo laptop?

    The card type is not the whole story when comes to the white list.  In addition to the correct (6300) type by its PCI vendor and device ID, it must have an ID of subsystem of Lenovo.  (IIRC, it can be more precisely not the subsystem ID, but the effect is the same).  A generic 6300 will not work.

    A card must be sold by Lenovo or pass the white list.  Reputable suppliers will provide a number of Lenovo FRU (CRU) to check the FRU list for the machine.

    For example. Since the research database of Lenovo parts -> ThinkPad X 230page, the RUF for that 6300 is 60Y3233.  It was not easy to find.  The RUF are not in the hardware maintenance manual any more

    If your card has a number of Lenovo FRU, something else is in place.

    [edit] types andyP faster as I do...

    Z.

  • Help! Export error 27 with only a few videos

    I exported Final Cut Pro X projects directly on my external hard drive. I got an error 27 with one of them, and given that it is exported well I don't think it's a problem with my external hard drive formatting. All the videos have been imported in the same way and the same camera. Any ideas about why this is happening? Thank you!

    Most likely, you export a FAT32 / 'Windows' formatted the disk, right?

    error27 occurs when you attempt to save a file > 4 GB - that is not supported by fat32 (very old format..)

    So, small export projects, larger not. -.

    reformat the drive (erases all content!) to exFat or hfs + / "Mac"...

  • receive the error message with every new open tab

    Whenever I open a new tab, I get a popup error message. I have screen shots that can be granted.

    At first, I thought it was a mistake to Java, but I've uninstalled and reinstalled Java.

    There are two error messages which read:

    [JavaScript application]
    evalInSandbox:Error: Permission denied for <https://facebook.com> create a wrapper for the object of class UnnamedClass.

    [JavaScript application]
    Error: Permission denied for <https://facebook.com> create a wrapper for the object of class UnnamedClass

    So I clicked on help > troubleshooting information and choose Reset Firefox.
    Now I get a new error message with every new tab open.

    [JavaScript application]
    Error: syntax error

    Please tell us how to do this.
    Thank you
    JudyLeeThurber

    1. In the address bar, type Subject: config and press enter. The subject: config "this might void your warranty!" warning page may appear.
    2. Click on I'll be careful, I promise!, to continue on the subject: config page.
    3. Type browser.newtab.url
    4. Double click on the first result, a new window should now display.
    5. Type of topic: newtab in the area.
    6. Click ok and load a new tab. It now works of mireille?

Maybe you are looking for