Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

NIVISA available for Suse 10.2 but trouble with NI488 on openSuse 10.2

NI VISA is well suited for Red Hat, Mandriva and Suse. I destroyed my lovely Ubuntu and decided to install openSuse 10.2.
NI VISA maybe works correctly on Suse but I can't install correctly NI488 (I guess I need the driver for my NI USB-GPIB cable) on Suse 10.2.
Here is the message :


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.5
Unpacking install files to /tmp/NI4882-2.5.1f0.install...

******************************** ERROR ****************************************
* Kernel source in /lib/modules/2.6.18.2-34-default/source does not appear to be
* configured for the 2.6.18.2-34-default kernel.
* Configuration of kernel source is required to continue installation.        *
* Refer to the README file for the product you are installing for information *
* about configuring your kernel source.                                       *
******************************** ERROR ****************************************

Nevertheless the source code of the kernel is avalaible at the right place. What's the problem ?
Did somebody install NI488 on Suse 10.2 ??? NI488 is annonced for Suse 10.1 but NIVISA is available for Suse 10.2. What can I do with NIVISA without NI488 ??

Thank you for your answer.

0 Kudos
Message 1 of 3
(3,142 Views)
Hi,
VISA allows to manage several bus interface communication and not only GPIB.
This is why is not impossible that VISA is avalaible for Suse 10.2 and not 488.2

Johan G.
0 Kudos
Message 2 of 3
(3,095 Views)
The problem that you are having is probably related to the 2.6.18 kernel. It is possible to use the NI-488.2 driver for GPIB cards (I do it my self) with 2.6.18 kernels but it requires a little bit of work. Do the following (as root):

# cd /lib/modules/2.6.18.2-34-default/source
# mv include/linux/version.h xxx.h
# cat xxx.h include/linux/utsrelease.h > include/linux/version.h

Now, install the driver with the INSTALL script. The installation will fail at this stage but you will get a question about rebooting your machine. Choose "No".

Restore the version.h file:

#
cd /lib/modules/2.6.18.2-34-default/source
# rm -f
include/linux/version.h
# mv xxx.h include/linux/version.h

Now, follow the instructions that I wrote in this thread.

Good luck!
0 Kudos
Message 3 of 3
(3,090 Views)