Having Both the GPIB-ENET Driver and the SB-GPIB Driver Loaded Can Cause GPIB ErrorsPrimary Software: Driver Software>>NI-488.2Primary Software Version: 3.0.1 Primary Software Fixed Version: N/A Secondary Software: LabWindows/CVI Development Systems>>Base Package Hardware: GPIB>>Plug-in Controllers>>SB-GPIB, GPIB>>External Controllers/Convertors>>GPIB-ENET
Problem: I was using a GPIB-ENET box with my workstation, but now I have an SB-GPIB board. I am using version 1.3 of the SB-GPIB driver for Sun. If I call the OpenDev function, it returns a -1 and if I use ibdev, it returns a GPIB error 7 (nonexistent GPIB board) error in LabWindows/CVI 3.0.1 for Solaris 1. Solution: Since you were using a GPIB-ENET box earlier, you may not have removed the gpibrc file from the /etc directory, prior to installing the driver files for the SB-GPIB board. Either that, or you did not remove the GPIB-ENET from the gpibrc file with ibconf. The gpibrc file contains the same type of information that is in the /dev directory for the SB-GPIB driver (i.e., the devices defined for that SB-GPIB or GPIB-ENET controller). When you use the ibfind command, CVI will first look at the gpibrc file, and if it finds a definition for the device or board, then it will try to communicate with it. If no GPIB-ENET is connected via the network, then CVI driver will timeout after a delay of 2-3 minutes. Then the CVI driver will check the /dev device (SB-GPIB) driver. At this point, it should be successful. Make sure that GPIBx or DEVx is not defined for both GPIB types (i.e., keep your devices separate): GPIB0 = SB-GPIB GPIB1 = GPIB-ENET DEV1 = SB-GPIB device DEV2 = GPIB-ENET device Related Links: Product Manual: Installing Your SB-GPIB/TNT and NI-488.2 for Solaris (October 2003) Product Manual: Getting Started with Your SB-GPIB and NI-488.2M for Solaris 1 (November 1993) KnowledgeBase 0WH7H8QR: How Do I Install an SB-GPIB on a Solaris 1 Computer? Attachments:
Report Date: 10/06/1995 Last Updated: 02/17/2006 Document ID: 0E5987UD |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
