Measure

cancel
Showing results for 
Search instead for 
Did you mean: 

NI488.2 linux driver software not working

I have installed and uninstalled and re-installed several times NI 488.2 driver for linux.  Version 2.5 - in SUSE Linux 10.1.
 
When selecting troubleshooting, it says the software wasn't installed correctly and says to re-boot and install sofware again.  The GPIB explorer sees the card, but I can't get past the troubleshooting box that says to reinstall the software.  When I uninstall, the nikal and nipal do not totally uninstall.  I looked at the knowledge database and followed the directions on uninstalling, however the UNINSTALL in the /usr/local/natinst/ni4882 directory do not exist, evan after I re-installed the driver again.  I don' t know where to go from here to figure out why the software is not installed correctly.  Can you direct me in the right direction to correct whatever problem may exist?
0 Kudos
Message 1 of 7
(9,197 Views)
Hey SoftEng,
Do you mind giving me a little more information on your system as far as the kernel version you are using? Also can you give me the actual text error code that is being reported. When you say that it is asking to reinstall the software, is there a specific error code listed? Any screen shots or actual lines of code that you are seeing will help to get the ball rolling on finding you a resolution asap. Thanks again and have a great day!
Regards,

Nicholas K
National Instruments
Applications Engineer
0 Kudos
Message 2 of 7
(9,185 Views)

Hello Nicholas K!

Thanks for responding, I'm stumped!  Here is the information you are requesting...

I'm in SUSE Linux 10.1, Kernel 2.6.16.13-4.

Latest 488.2 driver, 2.5

It installs with no errors.

I can run nispy, and I ran GPIB Explorer.  It shows the card on the explorer.  Then I press "Tools" and select "troubleshooting wizard"

Then the troubleshooting window comes up and then an additional window on top and this is what is says:

The NI-488.2 Software is not correctly installed on your system.  Please follow these steps:

1. Restart your system

2. Reinstall the NI-488.2 Software

3. Run the Troubleshooting Wizard

I did attempt to run gpibtsw straight from the prompt and get the same windows.

The linix system is a stand alone system not connected to the network, so it I can't send you a window capture.  Well, I probably could, but it would be a bit painful.

Thank you...  SoftEng


 

0 Kudos
Message 3 of 7
(9,181 Views)
Hey SoftwareEng!

I have listed the process that the troubleshooting wizard goes through

NI-488.2 Software Presence Verified:
This portion of the test checks to see that NI-488.2 is installed and is working correctly.
 
If this step fails, remove your hardware, remove NI-488.2, reinstall, and try again.

GPIB Hardware Presence Verified:
This will check if your GPIB board is installed and configured correctly.
 
If this step fails, try reinstalling your board.

GPIB Interfaces Sequentially Verified:


It seems like 488.2 software presence is not verified.  Can you try this on another linux machine?  If not would you be able to do a clean reinstall following the instructions on the readme? 

Best Regards,
Song Mu
National Instruments San Diego
0 Kudos
Message 4 of 7
(9,162 Views)

Hi Song M!

This is a screen capture of when I uninstall the driver.  I've done this before.  Apparently, it doesn't totally uninstall and I'm wondering if that has something to do with my installations not working properly.  However, I get no errors when I install the driver.  In answer to your other questions - the driver is running just fine on another linux machine.  I believe there is something in my linux installation causing this, but I'm not quite sure what it is, and where to start poking around.  I also believe the problem is in the installation of the sofware, not the hardware, since that is the error I receive.

----------------------------------------------------------------------------------------------------

linux:~/gpib # ./UNINSTALL

*****************************************************************************

NI-488.2 Distribution

version 2.5.1f0 for Linux/x86 32-bit

*****************************************************************************

NI-488.2 Distribution version 2.5.1f0

is about to be uninstalled using rpm at /usr/local/natinst

Continue? [Yn] y

Uninstalling NI-488.2 Distribution version 2.5.1f0...

labview80-rte cannot be removed, other packages depend on it.

nipali cannot be removed, other packages depend on it.

nikali cannot be removed, other packages depend on it.

Pre Uninstallation ......

******************************************************************************

* A reboot is required before attempting to finish uninstalling the

* NI-488.2 Distribution software from your system.

******************************************************************************

Would you like to reboot now? [yes|no]

--------------------------------------------------------------------------------------------------

I found a problem in the knowledge database about uninstalling earlier when I was attempting to fix this problem.  It follows.  I do not have uninstall scipts in these directories after installation of the software.  So, I'm not sure if there's a problem in my installation, or if these just don't exist anymore.  But, in any case, I can't uninstall everything.

This is what I saw in the knowledge base:

-------------------------------------------------------------------------------------------------

Problem:
How do I uninstall the NI-488.2 version 2.5 driver for Linux?

Solution:
Uninstallation scripts ship with the NI-488.2 version 2.5 driver for Linux.  The uninstallation is componentized, so you will have to run multiple scripts if you wish to completely remove the driver from your system.  To uninstall NI-488.2, run the following commands as root:

/usr/local/natinst/ni4882/UNINSTALL-help
/usr/local/natinst/ni4882/UNINSTALL-util
/usr/local/natinst/ni4882/UNINSTALL-driver

Additionally, NI-KAL as well as an additional NI support library are installed with NI-488.2 version 2.5 but may be required by other NI programs.  If you do not need any additional NI software, run the following uninstallation scripts:

/usr/local/natinst/nikal/bin/UNINSTALL
/usr/local/natinst/nipal/bin/UNINSTALL

Note: Newer versions of NI-KAL and the NI support library installed by NI-488.2 may not include these UNINSTALL scripts.  In this case the NI-DAQmx or NI Modular Instruments Driver UNINSTALL scripts should be run last and they will remove NI-KAL and the NI support library.

The NI-488.2 installer also installs the LabVIEW Runtime Engine.  Depending on the Linux distribution, you will need to either remove this via RPM or by deleting the shared object from /usr/local/lib.

-----------------------------------------------------------------------------------------------------

So, still looking for more suggestions.  I have attempted all you said to do.  And still have the same problem.

Thanks,

SoftEng

0 Kudos
Message 5 of 7
(9,154 Views)
I took a picture of the installation messages too.  Here it is.  As you can see, there are no errors.  Does this help any?
 
Thanks,  SoftEng
 
--------------------------------------------------------------------------------------------------------------------
 
linux:~/gpib # ./INSTALL
*****************************************************************************
  NI-488.2 Distribution
     version 2.5.1f0 for Linux/x86 32-bit
*****************************************************************************
National Instruments products support the following Linux distributions:
   Mandriva Linux Official
   SUSE Linux
   Red Hat Enterprise Linux WS
Refer to README.txt for the latest information at the time of release.
Refer to www.ni.com/linux for the most recent information about Linux
support at National Instruments.
Continue? [Yn] Y
Checking required install tools...
Checking installer tool versions...
rpm        4.4.2 can be used with a default installation path
tar        1.15.1
Checking dependencies...
glibc      2.4
Unpacking install files to /tmp/NI4882-2.5.1f0.install...

By installing this software, you are acknowledging acceptance of the terms
of the included license file (LICENSE.txt).
Do you accept the license? [ynq] y
 
NI-488.2 Distribution version 2.5.1f0
is about to be installed using rpm at /usr/local/natinst
Would you like to continue? [Yn] Y
Installing NI-488.2 Distribution version 2.5.1f0...
Skipping nikali-1.4.0-f0.i386.rpm installation, same or newer already installed.
Skipping nipali-1.11.0-f0.i386.rpm installation, same or newer already installed.
Skipping labview80-rte-8.0.1-1.i386.rpm installation, same or newer already installed.
Pre Installation ......
Preparing...                ########################################### [100%]
   1:nispyi                 ########################################### [ 50%]
   2:ni4882i                ########################################### [100%]
Post Installation ......
FOR PATENTS COVERING NATIONAL INSTRUMENTS PRODUCTS, REFER TO
THE PATENTS.txt FILE ON /root/gpib AND/OR
www.ni.com/patents
******************************************************************************
* A reboot is required before attempting to use the
* NI-488.2 Distribution software.
******************************************************************************
Would you like to reboot now? [yes|no]
---------------------------------------------------------------------------------------------------------------
0 Kudos
Message 6 of 7
(9,148 Views)
Hey SoftEng!
It seems like this is a problem isolated to the kernel installtion on that computer.  I am going to take this up with our R&D group for 488.2 linux drivers to see if they have a solution for you. 
Best Regards,
Song Mu
National Instruments San Diego
0 Kudos
Message 7 of 7
(9,134 Views)