Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PCI-GPIB not listed in visaconf

Hallo everybody!

With the great tutorial of Anshul Jain I managed to install NI-KAL & NI-VISA under Kubuntu 10.4. After that I tried the same methods (like running post install scripts, linking some libs) used by Anshul Jain with the actual hardware driver (2.5.1b1). I installed also linux-gpib, LabView rte 8.0.1 and pyvisa. I had success installing the kernel drivers:

__________________________________________________________

$ lsmod | grep gpib

gpibprtk              247868  1

nipalk               1220783  9 NiViPciK,nipxirmk,nidimk,niorbk,gpibprtk

gpib_common            26886  2 tnt4882,nec7210

$ lsmod | grep ni

nipxirmk              115018  1

nidimk                320599  2 nipxirmk

niorbk                 95647  2 nipxirmk,nidimk

nipalk               1220783  9 NiViPciK,nipxirmk,nidimk,niorbk,gpibprtk

nikal                  57306  1 nipalk

__________________________________________________________
The PCI device is found and drivers are loaded (at least I think that):
__________________________________________________________
$ lspci | grep National
03:02.0 Communication controller: National Instruments PCI-GPIB (rev 01)
__________________________________________________________
Part of dmesg:
__________________________________________________________
...
[   13.683011] nikal: module license 'Copyright (c) 2002-2010 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.
...
[   13.821519] gpib: registered ni_isa interface
[   13.821522] gpib: registered ni_isa_accel interface
[   13.821523] gpib: registered ni_nat4882_isa interface
[   13.821525] gpib: registered ni_nat4882_isa_accel interface
[   13.821526] gpib: registered ni_nec_isa interface
[   13.821527] gpib: registered ni_nec_isa_accel interface
[   13.821529] gpib: registered ni_pci interface
[   13.821530] gpib: registered ni_pci_accel interface
[   13.821549] Available NI PCI device IDs: 0xc801
...
__________________________________________________________
But the device is neither listed in visaconf, nor in gpibexplorer. Some screenshots:
visaconf.png
gpibexplorer.png
I cannot use the device in visa right now. Is there anybody of you who can help me. Thanks in advance.
Cheers
Julian

0 Kudos
Message 1 of 4
(5,786 Views)

I installed also linux-gpib, LabView rte 8.0.1 and pyvisa. I had success installing the kernel drivers:

__________________________________________________________

$ lsmod | grep gpib

gpibprtk              247868  1

nipalk               1220783  9 NiViPciK,nipxirmk,nidimk,niorbk,gpibprtk

gpib_common            26886  2 tnt4882,nec7210

Since you have both NI drivers and linux-gpib installed you have a conflict in that both NI and gpib_common will try to claim the GPIB device.  Since NI-VISA can't see it I would say that gpib_common is winning out.  Unload linux-gpib from the kernel and only have the NI drivers loaded and I would expect NI drivers to take ownership of the device and you would then see it in visaconf.

0 Kudos
Message 2 of 4
(3,705 Views)

Dear mhoogend,

Unfortunately, it did not work. Only the NI driver (gpibprtk) left, the device is still not listed in visaconf. The lines in dmesg showing a device discovery vanished with the gpib_common driver. The only relevant line left is

[   23.364068] nikal: module license 'Copyright (c) 2002-2010 National Instruments Corporation.  All Rights Reserved.  Any and all use of the copyrighted materials is subject to the then current terms and conditions of the applicable license agreement, which can be found at <http://www.ni.com/linux/>.' taints kernel.

But thanks anyway!

Julian

0 Kudos
Message 3 of 4
(3,705 Views)

From the information here it's hard to say.  And with the lack of response it seems like there aren't any other ideas.

Could you post output from niSystemReport?

0 Kudos
Message 4 of 4
(3,705 Views)