From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Install NIVISA and GPIB on Scientific Linux 7.4 64-bit

-------------------
SYSTEM REQUIREMENTS
-------------------
NI-VISA 15.5 for Linux software requires one of the following distributions:
http://www.ni.com/download/ni-visa-15.5/5848/en/

GPIB-488 2015
http://www.ni.com/download/ni-488.2---linux-15.1.1/5926/en/

Scientific Linux 7.4


------------------------------
INSTALLATION FROM THE INTERNET
------------------------------
You should be logged in as 'root' to perform this installation.

Pre-requiste 32-bit libraries and kernel-source

yum install libXinerama.i686 mesa_libGL.i686 kernel-devel

Install 32-bit version of libstdc++

yum upgrade libstdc++
yum install libstdc++.i686
yum upgrade zlib
yum install zlib.i686

------------------------------
INSTALLATION FIRST NIVISA FROM THE INTERNET
------------------------------
You should be logged in as 'root' to perform this installation.

1) Download the ISO image "NI-VISA-#.#.#.iso" from the ftp site into a
temporary directory.

2) Open a Terminal (command prompt) window.

3) Mount the ISO image. This may be done by typing
"mount -o loop <iso-location>/NI-VISA-#.#.#.iso <mount-location>".

4) Make the mount location your current working directory. This may be done
by typing "cd <mount-location>".

5) Type "./INSTALL" to execute the install script, and follow the instructions
as prompted.

------------------------------
INSTALLATION FIRST NIVISA FROM THE INTERNET
------------------------------

Install gpib driver version 15.1

------------------------------
BUG with NiKal
------------------------------

cd /var/lib/nikal/3.10.0-693.17.1.el7.x86_64/nikal
edit nikal.c
ifdef nNIKAL100_kFourParameterDoMunmap
return do_munmap(mm, addr, len, 1);
#else
return do_munmap(mm, addr, len);
#endif

->

ifdef nNIKAL100_kFourParameterDoMunmap
return do_munmap(mm, addr, len, 1);
#else
return do_munmap(mm, addr, len, NULL);
#endif

------------------------------
Compile kernel driver
------------------------------
updateNIDrivers


------------------------------
Check kernel modules
------------------------------
# lsmod | grep ni
nimxdfk 584221 1
nipxirmk 297697 1
nidimk 376929 2 nipxirmk
nimdbgk 459483 3 nipxirmk,nimxdfk
niorbk 120227 4 nipxirmk,nimdbgk,nimxdfk,nidimk
ni488k 224199 2
nipalk 1231884 12 nipxirmk,NiViPciK,nimdbgk,nimxdfk,ni488k,nidimk,niorbk
nikal 115446 6 nipxirmk,nimdbgk,nimxdfk,nidimk,nipalk,niorbk

0 Kudos
Message 1 of 2
(2,880 Views)

Hi Bionnassay,

 

Is there a question?

 

Thanks

0 Kudos
Message 2 of 2
(2,843 Views)