Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-488.2 Version 2.4 does not work with Delphi

I have a new GPIB-USB-HS Interface, it was supplied with Driver Version 2.4.
Using the Interface with Borland Delphi 7 leads to a EDVR (System-Error)
Communication with the Instrument using the NI Explorer works without problems, so I think hardware and software are proberly installed. But even the Programming-Examples from the driver-CD for Delphi do not run on my Computer.
 
Who can help?
0 Kudos
Message 1 of 2
(3,299 Views)

Hello,

sorry for getting to you so late.

First of all I would like to know, when exactly this EDVR-error occurs. At startup? During the execution of example code?

Did you run NI-Spy tool to log calls to the 488.2 driver? (Start>>Programs>>National Instruments>>NI-Spy)

There are some typical reasons why this error could occur:

1. First you should select the default settings for the board, i.e. GPIB0 for the device name and 0 for teh primary address of the board.

2. You could try using the 'ibdev'-function insteado f the 'Ibfind'-function, as this function accepts the device number, not the name and thus avoids misspelling of the name.

3.  You could use the unit descriptor returned from the from the functions in 2. for subsequent calls to thge driver.

4. Did you close the handle after finishing all calls to the driver? The 488.2 can only have certain number of valid handles open at the same time.

Additionally you could take a look at the GPIB.ini located in the \..\system32 folder of windows. If you have one GPIB board installed navigate to GPIB0-tag and verify the device name is set properly, e.g. 'PCI-GPIB'.

Please let me know if any of this helps.

Regards, C.L.

NI Application Engineering
National Instruments Germany GmbH 

0 Kudos
Message 2 of 2
(3,282 Views)