05-13-2011 09:31 PM
I am running Linux 5.1 OS, controlling several different types of test equipment. Periodically, I get an EDVR error returned from the GPIB box. This error can occur after hundreds of successful measurements, and once it occurs, I am unable to obtain any additional measurements, I have to exit the application and restart. I am using Version 2.2 of NI software / GPIB ENET 100. Some of your documentation suggests the GPIB hardware is improperly configured. If I am able to get measurements previous to the EDVR message, is it safe to assume that the GPIB configuration is correct? I have also read that several opens could cause this problem. Its possible that one application may perform more than one open. How many open's could end up causing this problem? Can you think of anything else that could be causing this problem?
05-16-2011 05:49 PM - last edited on 06-12-2024 02:19 PM by Content Cleaner
Hi nc_pa,
I assume that by performing more than one open, you are referring to attempting to access the GPIB-ENET/100 from multiple computers at once. If this is the case, you could be seeing some unexpected behavior if you are not properly blocking and unblocking access to the device.
The fact that you have been able to take succesful measurements does seem to point that you have configured the device correctly. I hope this helps. Let me know your progress!
05-21-2011 09:16 PM
Thank you for your response. For the multiple opens, I am doing this from one application. Here is the sequence that I do:
I may do this three times during one application:
ibfind
sendIFC
devClear
enableRemote
Then I do many 'send' and 'receive' messages.
I just started getting these EDVR errors after updating my GPIB driver to version 2.2. Previously I was using a very old version - 1.2. I can force this error condition to occur, and with the old version I would get timeouts but the driver would recover. With the version 2.2 driver, it will just continue to return these EDVR errors.
I put some test code in that sent out the ibfind/sendIFC/ devClear and enableRemote sequence when the EDVR occurred but that did not help. Are there any other commands that I can send that would get the driver out of this error condition? Right now, the only way I can recover is to stop the application and start over.
05-23-2011 04:54 PM - last edited on 06-12-2024 02:20 PM by Content Cleaner
Hi nc_pa,
I would recommend upgrading your driver to the most recent version and see if this fixes this issue. I have attached a link below to the most recent version of NI-488.2 for Linux, which does have support for the GPIB/ENET-100. Also, are you putting delays between your read and write commands? Perhaps it is timing out because a particular read or write after that amount of time is being missed. Thanks, nc_pa!
NI-488.2 2.5 - Beta 32 Bit - Linux
05-26-2011 08:16 AM
How do I find out what firmware version I have on my GPIB ENET box?
05-27-2011 03:16 PM - last edited on 06-12-2024 02:20 PM by Content Cleaner
Hi nc_pa,
You should be able to see your current firmware in the Firmware Update Utility. I hope this helps!
06-03-2011 08:01 AM
On the suggestion to upgrade to NI 488.2 2.5, is this distributable? If we can not distribute it, when will it be distributable?
06-06-2011 02:18 PM
Hi nc_pa,
Could you clarify your definition of distributable? Are you distributing an application of yours as an executable that you are wanting to include 488.2 with? Thanks!
06-06-2011 04:04 PM
You are correct, we are distributing our application to many customers. We statically link in your driver. We are using version 2.2 now because that is 'distributable'. We would like to consider a later version but are limited only to those versions that can be distributed.
06-07-2011 09:10 AM
Hi nc_pa,
You should be able to distribute applications with the newer version of the driver as you have been distributing the older version of the driver. I hope this helps! Have a great day!