Jump to content


Photo
- - - - -

Problem loading gpibprtk module


  • Please log in to reply
6 replies to this topic

#1 Jon Sjöstedt

Jon Sjöstedt

    More Active

  • Members
  • PipPip
  • 32 posts

Posted 03 December 2009 - 01:32 PM

Hello all!

I have just installed lv2009 on SLED 10 SP2. Pure lv works fine, but "VISA find" on GPIB0 (which mapps to an internal GPIB-PCI bridge) crashes lv and returns something like "gpibprtk" module missing. The same happens if I try to run "interactive" from gpibexplorer. I can not find anything in the local file tree that seems to be a loadable module named gpibprtk.

Any ideas or suggestions on this appreciated!

#2 Adam Kemp

Adam Kemp

    Very Active

  • NI
  • 79 posts
  • Location:Austin, TX
  • Version:LabVIEW 2011
  • Since:2003

Posted 03 December 2009 - 05:28 PM

If I remember right this usually means that the PAL drivers are not loaded. Try running updateNIDrivers (or restart your machine).

#3 Jon Sjöstedt

Jon Sjöstedt

    More Active

  • Members
  • PipPip
  • 32 posts

Posted 04 December 2009 - 03:21 PM

The NIKAL NIPAL are both loaded (seen using lsmod) and LV itself works fine. I have tried updateNIDrivers and installing the drivers supplied with the GPIB-PCI bridge without success.

#4 Adam Kemp

Adam Kemp

    Very Active

  • NI
  • 79 posts
  • Location:Austin, TX
  • Version:LabVIEW 2011
  • Since:2003

Posted 04 December 2009 - 05:11 PM

The NIKAL NIPAL are both loaded (seen using lsmod) and LV itself works fine. I have tried updateNIDrivers and installing the drivers supplied with the GPIB-PCI bridge without success.


Could you post the exact error message printed when LabVIEW crashes?

#5 Jon Sjöstedt

Jon Sjöstedt

    More Active

  • Members
  • PipPip
  • 32 posts

Posted 07 December 2009 - 10:24 AM

Hello!

Here is some possibly useful data:

Loaded modules
lsmod | grep -i ni

nipalk 1843664 2

nikal 91592 3 nipalk

usbcore 150312 5 nikal,usbhid,uhci_hcd,ehci_hcd


Labview crashes when executing "VISA Find Resource"
linux-rrel:~ # /usr/local/natinst/LabVIEW-2009/labview &

[1] 5787

linux-rrel:~ # FATAL: Module gpibprtk not found.



[1]+ Aborted /usr/local/natinst/LabVIEW-2009/labview

linux-rrel:~ #

Interactive GPIB tool crashes the same way (on startup):
linux-rrel:~ # /usr/local/natinst/ni4882/bin/gpibintctrl

FATAL: Module gpibprtk not found.

Aborted

linux-rrel:~ #

I have attached the simple code that crashes LabVIEW. It is saved in lv2009 format
Hope this helps. And thanks so far :)

Attached Files



#6 Adam Kemp

Adam Kemp

    Very Active

  • NI
  • 79 posts
  • Location:Austin, TX
  • Version:LabVIEW 2011
  • Since:2003

Posted 07 December 2009 - 05:14 PM

It looks like someone had a similar problem before and was able to get it to working. See if this link helps you figure it out. I think in the end they did an uninstall of all the drivers and reinstalled them because some old NI drivers were causing some kind of conflict. Maybe you should try that.

By the way, that site (the NI Linux community website) is the best place to post these issues because a lot of people post there with NI driver issues and help each other figure it out, even on unsupported Linux distributions.

#7 Jon Sjöstedt

Jon Sjöstedt

    More Active

  • Members
  • PipPip
  • 32 posts

Posted 08 December 2009 - 09:51 AM

Thanks for all help! I will try the NI-forum