ortec
2008-04-04 19:40:13 UTC
We are using a PCI-6503 using traditional Ni-DAQ. We are simply reading an input to see if a physical device is in position. It works as expected, except that around every 25 days or so, the input will suddenly "freeze" and show the same state (not in position) regardless if the device is in position.
We use another input (in the same bank) that continues to work as expected. Seemed to us that the problem would be with our coding, but restarting the software does not correct the problem. Restarting Windows does not correct the problem. Cycling power to the PC and the machine (literally pulling the plug from the wall) does correct the problem. The problem will vanish for another 25-days or so regardless of how often it is used.
Of course we monitored the O/S side of resource usages and such (i.e. memory leaks), but found not difference from day 1 to day 25. Regardless, restarting Windows should clear that anyway.
The custom software we are using is a Visual Basic .NET application. Our first thought was that maybe the software was not releasing the resources to the card or something, but the other input works and since restarting Windows does not correct the problem, it appears to be something else.
Oh yeah, another clue. When the input fails to change state, we can start the NI-DAQ test panel (from NI) and can see the input change state. Could the NI-DAQ interface we are using communicate via a different path to the card than the test panel? Again though, we can get it to return to normal with a complete power cycle only, which seems to elimate coding problems.
Any ideas?
Thanks,
Benson
We use another input (in the same bank) that continues to work as expected. Seemed to us that the problem would be with our coding, but restarting the software does not correct the problem. Restarting Windows does not correct the problem. Cycling power to the PC and the machine (literally pulling the plug from the wall) does correct the problem. The problem will vanish for another 25-days or so regardless of how often it is used.
Of course we monitored the O/S side of resource usages and such (i.e. memory leaks), but found not difference from day 1 to day 25. Regardless, restarting Windows should clear that anyway.
The custom software we are using is a Visual Basic .NET application. Our first thought was that maybe the software was not releasing the resources to the card or something, but the other input works and since restarting Windows does not correct the problem, it appears to be something else.
Oh yeah, another clue. When the input fails to change state, we can start the NI-DAQ test panel (from NI) and can see the input change state. Could the NI-DAQ interface we are using communicate via a different path to the card than the test panel? Again though, we can get it to return to normal with a complete power cycle only, which seems to elimate coding problems.
Any ideas?
Thanks,
Benson