Ni Pcie Gpib Driver

1 view
Skip to first unread message

Darci Carlton

unread,
Aug 3, 2024, 12:42:45 PM8/3/24
to miscicore

CHARON supports NI PCI/PCIe/GPIB boards in pass-through mode using a specific driver that can be built from sources located in "/opt/charon/drivers/ni_pci_gpib_ppt" directory. Upon loading the driver (".ko" loadable module) into OS kernel at runtime it creates "/dev/gpib" device for each NI PCI/PCIe/GPIB board it finds.

Check that the "kernel" and the "kernel-headers" have the same version, and ensure that system is booted from this kernel version (not from some older one and etc) with "uname -a" command.

The one common feature is that they all have aGPIB interface for remote control. Multiple instruments can be wired together with impossibly clunkyGPIB cables, with one shared USB to GPIB dongle responsible for the linkto the PC.

All of these work in getting the dongle going, but they require manual interaction as soonas you reboot the PC. I had to do some specific extra steps on my Ubuntu 20.04 systemto make it work even after a reboot.

This will install the gpib drivers in /lib/modules//gpib. The make clean is important. Even a minor kernel update may otherwise result in the following error: gpib_common: disagrees about version of symbol module_layout.

The Linux GPIB Package is a support package for GPIB (IEEE 488) hardware. Thepackage contains kernel driver modules, and a C user-space librarywith Guile, Perl, PHP, Python and TCL bindings. The API of the C library is intended to becompatible with National Instrument's GPIB library.The Linux GPIB Package is licensed under the GNU General Public License.

The 4.x.x Linux-GPIB release series is being maintainedto keep it in working condition with new kernel releases. Currentlythere are no plans to further develop the librarybeyond keeping it in a functioning state.The 3.1.x series for 2.4.x kernels is no longer actively maintained.All boards supported by the current 4.x release are listed here.

Please send bug reports, suggestions, feature requests, questions, etc. to thelinux-gpib-general mailing list (you must subscribe to the list before you can post). Bug reports may also be recorded in the bugtracking system.

This project was created and developed by Frank Mori Hess and is also maintained byDave Penkler along with others who have contributed code or documentation.It was originally based on the linux-gpib-2.05-alpha release available from the(defunct) Linux Lab Project, which was maintained by Claus Schroeter.

c80f0f1006
Reply all
Reply to author
Forward
0 new messages