Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

EHDL (23) error problem

Hi,
 
Have no idea what I'm doing but need to get a GPIB  p&P card working ASAP after computer crash. I am getting the following error from teh VB code (using spy) > 90.  ibclr(GPIB0)
> Process ID: 0x00000A60         Thread ID: 0x00000A4C
> Start Time: 18:22:07.685       Call Duration: 00:00:00.010
> ibsta: 0x8000       iberr: 23             ibcntl: 0(0x0)
  
 
before the computer crash we had no problems but now there are overflow errors on saving. I read on the forum that this ehdl error is due to too many handlers open. Have no idea how to fix this quickly but since it was working before there must be a driver that can handle loads of open devices (I have NI-488.2 (Win32) Version 2.4 currently). Does anyone know what version driver was able to handle all these devices?
 
Thanks,
 
Neil.
0 Kudos
Message 1 of 2
(4,011 Views)

Hi Neil

 

EHDL(23)
Error Condition:
Input Handle is invalid.
Possible Cause: Several GPIB commands take in the input handle of the board or the device as an input parameter which can be the source of this error. This error can occur under several circumstances. Some scenarios are listed below:

  • A valid board handle is passed in as a device handle parameter or vice versa

  • An invalid board or device descriptor is passed as input to any NI-488.2 function

  • A board id outside the range of 0-99 is passed in to a traditional NI-488.2 board-level function or NI-488.2 routine

  • ibconfig or ibmask is called with a device unit descriptor and a board-only configuration option, or with a board unit descriptor and a device-only configuration option


Solutions:

  • Check to see if the device-level and board-level functions are not mixed up when calling the respective functions

  • Also check if the board index passed to the NI 488.2 call is a valid index number

Hope this helps

 

Tim

 

NI UK and Ireland AE

0 Kudos
Message 2 of 2
(4,001 Views)