07-12-2005 06:35 AM
07-13-2005 03:38 PM
07-14-2005 02:07 AM
07-15-2005 02:37 PM
07-18-2005 03:52 AM - edited 07-18-2005 03:52 AM
Message Edited by topko on 07-18-2005 03:56 AM
07-19-2005
02:51 PM
- last edited on
06-08-2024
07:43 PM
by
Content Cleaner
Hi topko,
The error that you are getting is
"Error -200019 occurred at [VI Name]
Possible reason(s):
ADC conversion attempted before the prior conversion was complete.
Increase the period between ADC conversions. If you are using an external clock, check your signal for the presence of noise or glitches."
Typically that error is thrown if you are trying to acquire samples faster than the board you are using supports. But as you can see the board you are using (PCI-6289) can sample up to 500 kS/s when using multiple channels. That means your maximum per channel rate with 6 channels should be about 83 kS/s. What you stated in your post though is that you are sampling at a rate of 400 samples per second and then averaging every 100 samples to get a single data point.
It sounds like this system should work, but it also sounds like an issue that is pretty specific to the code that you are using or the system that you are on. Is there any chance that you could strip out all of the excess from your code and post that? Or just take a screen capture of your code. It sounds like there is something that we're missing here, and I'd love to take a look at it.
Regards,
07-27-2005 02:40 AM
07-28-2005 01:18 PM
Hi topko,
I took a look at your code and it looks pretty good.
One thing you might want to try is to delete the Wait Until Next ms
Multiple.vi. The DAQmx Read.vi will automatically wait until the next set
of 100 samples is available. So having the two waits is really
redundant. You set the actual sample rate when you configure your
task. So if you set it to 100 samples/s and you have it read 100 samples
at a time then your loop will automatically have a rate of 1 Hz.
Perhaps what's happening is that the values are getting overwritten when the
computer begins thinking because data is not transferred as it should.
Try eliminating the wait and see if that helps things out.
Regards,
07-28-2005 04:19 PM
Hi,
I will trie with this solution, results will be avilable within 10 hours (I hope)
Thank you for advice.
Regards, Topko
08-03-2005 12:09 PM
Hi
I tryed previousely mentioned solution with no results. PC stop responding anymore. Only reset buton helps. With equipement supplier we agried, to temporary change MXI 4 boards with MXI 3 boards (previousely tested). Now anythig is WORKING NORMALY!!! There was only comunicatin problem between PC and PXI. Multitasking is now not problem at all.