09-16-2005 05:56 AM
09-19-2005 04:09 AM
10-12-2005 03:42 PM
10-13-2005 07:14 AM
Hi,
EDVR is returned when the board or device name passed to ibfind, or the board index passed to ibdev, cannot be accessed. The global variable ibcntl contains an error code. This error occurs when you try to access a board or device that is not installed or configured properly.
EDVR is also returned if there is an internal driver error.
EDVR (0)
Error Condition: Driver error.
Description: EDVR is returned when GPIB hardware is not configured properly, or the interface name or device name passed to the ibfind function is incorrect.
Possible Cause: Often EDVR errors are caused when you misspell the interface name of your board or the device name of your instrument. For example, the default interface name for National Instruments boards is GPIB0, but you may misspell it as GPIBO (with an "oh" instead of a zero). This error may also occur, if the board index passed to the ibdev function is incorrect. The board index is the number portion of the interface name for the GPIB board, but many people make the incorrect assumption that it is the primary address of the board. For example, I may install a PCI-GPIB board in my computer and give a primary address of 2. The default interface name for board is GPIB0, so it has a board index of 0, not 2.
Solutions:
Looking at the srs website at the manual : http://www.thinksrs.com/downloads/PDFs/Manuals/SR530m.pdf
it's using the 1978 standard for 488. In 1987 this became 488.1, so the instrument is rather old and probably wouldn't respond to the *idn?
I also noticed from the example code - program example 4 page 50 (admitedly using basic) that very low level commands (bus level) are being passed to the card. This is mimicked with the driver from the ni website (which I assume you're using : https://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E959A659CE034080020E74...)
Have you spoken to Stanford about this?
Did you do GPIB0 or GPIBO (first is the number 0, the second is the letter O).
Is the GPIB address for the pci-gpib board actuall 0?
I'm talking to our guys in the US on this to get clarification on the error code you're seeing (0xe028002c) and I'll get back to you once I get a reply
Thanks
Sacha Emery
National Instruments
10-13-2005 07:30 AM
Hi,
I had a browse around the NI website and came across the following link :
http://zone.ni.com/reference/en-XX/manuals/322752A-01/07AppxC_01/
although it references for a e-net box, the error code is still the same for your setup :
If a call is made with a board number that is within the range of allowed board numbers (typically 0 to 31), but which has not been assigned to a GPIB interface, an EDVR error condition occurs with ibcntl set to 0xE028002C. You can assign a board number to a GPIB interface by running the GPIB Configuration utility and selecting an interface name. Refer to Configuring the NI-488.2 Software Characteristics, in Chapter 4, GPIB Configuration, for information about how to configure NI-488.2.
Can you make sure your configuration in MAX for your pci-GPIB board looks like the attached screenshot (find the board in MAX, and right click it and then select properties).
Also can you run the troubleshooting wizard (disconnect any cables from the gpib board first)
Thanks
Sacha Emery
National Instruments
10-13-2005 09:36 AM - edited 10-13-2005 09:36 AM
It seems based on your IBIC output that you are able to communicate with the board, but for some reason trying to open a device handle is failing. This is very odd--usually you can do both or neither. Also, this doesn't seem to point to your instrument at all--you should be able to do an ibdev() without having anything connected to your GPIB controller. Is there a specific reason you're using v1.7 of the driver? v2.4 is the latest for Win2000/XP. Do you have other NI hardware in this system?
Scott B.
GPIB Software
National Instruments
Message Edited by ScottieB on 10-13-2005 09:50 AM
10-13-2005 04:16 PM
10-14-2005 06:54 AM
09-24-2012 06:46 AM
I have pretty much the same problem - my SR 530 lock-in amplifier gets recognized by Measurements & Automation Explorer, but it does not get detected by "NI Instrument Drive Finder". I use the GPIB connection and LabView 2012 version.
I I tried to follow the configuration steps described above:
ud0: infind GPIB0
GPIB0: ibsic
[160] <cmpl rem cic>
previous value 1
GPIB0: ibdev
enter board index: 0
enter primary address: 23
enter secondary address: 0
enter timeout: 10
enter 'EOI on last byte' flag: 1
enter end-of-string mode/byte: 0
ud1: ibwrt "*IDN?"
[100] <cmpl>
count: 5
ud1: ibrd 200
[c100] <err tomo cmpl>
error: EABO
count: 0