09-15-2010 12:10 PM
I'm running my VI as a compiled application and occasionally I need to restart the application because I am getting a ton of DAQmX errors.
The last time this happened, it started with error -88709 from DAQmx Read followed by several instances of error -88708, -89130, and -89140 (also from DAQmx Read).
The device I am using is a PXI-6221 in a PXI-1052 Chassis. It is communicating with my PC via a MXI 8331 (the card in the PC is the regular PCI version). In the chassis I have 5 SCXI 1102's each with a SCXI 1303 terminal block connector. The task I am running includes all of the channels wired to each of the terminal blocks (the first 4 1303's have 32 T type thermocouples each, the fifth card has about 10 voltage channels wired). The sampling rate is set to 10 samples per second.
The problem is very intermittent (The application can run for days/weeks on end just fine then this error starts to occur and closing then restarting the application solves the problem).
09-16-2010 11:17 AM
Hi scrook-
Does the executable throw these errors due to your computer locking up after that long of a period? Do you have your sleep/hibernate options deselected? Is there anything else that is running on the computer? Does the VI by itself close down, or only the executable? I wonder if the power to the chassis gets temporarily cycled at night if circuits are reset or something gets turned off. These errors can be tough to track down, especially since they are so intermittent.
I hope this helps you track it down. Best of luck with your application!
09-16-2010 12:08 PM
Gary,
I checked out the sleep/hibernate options and it turns out that the computer was set to be able to hibernate so I changed the power profile to 'always on'
It looks like this may have been the culprit so I will keep an eye on it over the next several days to see if the problem has gone away.