10-22-2009 09:30 AM
I get a 200284 error when I try to capture 70 cycles of data at lower engine speeds. I am using a PCI 6251 card with a BNC 2090A and Labview 8.5. I am having issues with the in-cylinder pressure DAQ assistant when collecting data at low engine speeds. I am using external triggers to define when to capture pressure data. The vi works fine at 1000RPM or above (when capturing 70 cycles of data), but at 800RPm I can only capture up to 67 before the error shows. At lower engine speeds, I can collect even less cycles of data before the error shows up. Has anyone got any ideas?
Regards,
Ben
10-23-2009 10:25 AM
Hi Ben,
I have been looking into your problem for you. On a very basic level, are you aware that LabVIEW provides an explanation of all error codes. You can access this through Help>>Explain Error... and then typing in the code. In your case, the explanation you receive will be:
Measurements: Some or all of the samples requested have not yet been acquired.
To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger, make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
I have also found this Knowledge Base (KB) which may be useful for solving your problem.
Let me know if this helps.
Christian Hartshorne
Applications Engineer
National Instruments
10-23-2009 10:30 AM
Hi Christian,
I have sorted the problem now. I think it must have been a bug in labview. It was a timeout issue in the DAQ assistant. Inside the DAQ assistant I had put a 60second timeout, but it automatically used 10 seconds instead. I tried putting an external timeout input to the DAQ assistant and this sorted it.
Regards,
Ben