05-20-2010 12:04 PM
I am running LabWindows/CVI version 8.5 and DAQmx 9.1 with a PCIe-6537 DIO card.
I recently upgraded my DAQmx version from 8.9 to 9.1 due to the issue discussed here.
Since upgrading my DAQmx version, I am getting intermittent -200292 errors (can't write all samples to the buffer). These errors are occurring not only in the code I mentioned in my previous thread, but also with original code that was developed and executed with DAQmx 8.9 for years.
I haven't been able to find any instances of other people experiencing this problem in the forums.
Any help would be appreciated.
Thanks
Jonathan Rice
05-21-2010 04:24 PM
Hi Jonathon,
I believe that this error is explained in these discussion forums: Digital output error-200292
Generating 4 analog output waveforms with different frequencies
Best Regards,
Rohan
05-21-2010 04:26 PM
Sorry I believe that the first link was not working. You can click here
Best regards,
Rohan
05-22-2010 09:46 AM
Rohan
Thanks for the reply. I have already read that post and I do not believe it applies to my situation. As I stated before, this code was working with out fault for quite some time using DAQmx 8.9. It was not until I upgraded to DAQmx 9.1 that the problem arose.
If I was truely trying to write too much data to the buffer, I would have been having problems when the code was developed, not 18 months down the line.
Thanks
Jonathan
05-24-2010 09:44 AM
Hey Jonathan,
Here is what you posted in the other DF thread:
"configure my task to use the internal clock, write my data, start the task, stop the task, change the task settings for the existing code to work, start the task again, and then stop the task."
So at what point in your code are you receiving the Error? What kind of troubleshooting have you tried so far, like stepping through your code, etc.? Have you tried an example program that ships with the DAQmx driver to see if any of those also show the same behavior? What task settings are you changing in between starting and stopping your task? Are you changing the voltage level in between your two output tasks? Are you changing the clock rate between tasks? What clock rate are you trying to run at? Have you tried reducing the clock rate to see if you still get the error? How many samples are you trying to generate? Have you tried increasing/decreasing the number of samples in your output buffer? Are you doing a Finite or Continuous generation?
If you can provide answers to all of these questions, then everyone on the discussion forums can help you out with your issue more than when you just provide the error code you are getting when you upgraded the driver. Let us know what is going on and what you are trying to do in general for your application, and hopefully we can provide you with some suggestions to not only fix the error, but maybe also a recommended method to achieve what you want. Thanks.
Regards,
DJ L.