02-08-2010 02:34 PM
I have an automated test setup that's fairly elaborate, custom software, several NI I/O and acquisition boards, a GPIB interface controlling one or two instruments, a several Measurement Computing acquisition boards, and sundry other bits. I'm getting an exception from somewhere in the system that has the following message:
"The input handle is invalid or out of range"
The system is able to catch the exception and log the message, but not when it occured, why it occured, what caused it, what hardware or software it was associated with, or anything else that might be useful in troubleshooting. The error occurs roughly once per week at random, and I cannot induce or replicate the error manually. I really don't have much to go on.
So, as a simple first step I'd like to pin down what hardware device (if any) is responsible. Do any NI devices ever throw an exception with this message?
My NI hardware consists of these devices:
USB 6221
USB 4065
USB 6509
GPIB-USB-HS
02-09-2010 01:23 PM
Hi John,
As a premature conjecture, I would say it was related to the gpib communication- see EHDL (23). Since it is intermittent I recommend using NI Spy to review the driver calls to see if it sheds some light onto the issue. Hopefully this helps us get started with the troubleshooting!
04-12-2010 09:47 AM