Package Details: ni-visa 17.0.0-3

Git Clone URL: https://aur.archlinux.org/ni-visa.git (read-only)
Package Base: ni-visa
Description: National Instruments NI-VISA(TM) Library for Linux.
Upstream URL: https://www.ni.com/visa/
Licenses: custom
Provides: lib32-ni-visa, ni-visa
Submitter: t-onoz
Maintainer: t-onoz
Last Packager: t-onoz
Votes: 0
Popularity: 0.000000
First Submitted: 2018-03-04 18:05
Last Updated: 2018-03-26 03:11

Pinned Comments

t-onoz commented on 2018-03-22 18:03

Please logout & login before first use!

Notes for usage
VI_ERROR_SYSTEM_ERROR when using

Please logout & login to renew environment variables.

USB-RAW devices do not work

If USB-RAW devices do not work, try following (as root) and restart your PC:

# AddUsbRawPermissions.sh
# gpasswd -a <user> usbraw
USB-TMC devices do not work
# gpasswd -a <user> usbtmc
# rmmod usbtmc
# echo 'blacklist usbtmc' > /etc/modprobe.d/nousbtmc.conf
refs

Latest Comments

tsangares commented on 2018-08-21 21:58

t-onoz,

I use linux kernal 4.18, but linux-gpib requires linux<4.16. There seems to be no solution to this without downgrading my kernal; is this the right conclusion?

EDIT:

The package linux-gpib-svn works with the latest version of linux; but requires subversion. My solution was sudo pacman -S subversion then yaourt -S linux-gpib-svn and also yaourt -S python-pyvisa-py

t-onoz commented on 2018-08-21 13:59

tsangares,

NI-VISA for Linux does not support GPIB-USB-HS. Try using linux-gpib and pyvisa-py instead.

tsangares commented on 2018-08-21 00:10

Hey, I installed this. lsusb shows my device National Instruments Corp. GPIB-USB-HS, I am running as root, rebooted. My code still spits out "VI_ERROR_SYSTEM_ERROR".

Note: I tried to set VXIPNPPATH manually to /opt/ni-visa/usr/local/vxipnp, but no avail. When I use pyvisa to list the devices there is no error, but spits out an empty list.

t-onoz commented on 2018-04-04 12:55

greyltc, USB raw entries will be added in 99-nivisa_usbraw.rule via AddUsbRawPermissions.sh

greyltc commented on 2018-04-04 12:50

Why is /etc/udev/rules.d/99-nivisa_usbraw.rules empty?

Should it be that way?

t-onoz commented on 2018-03-22 18:03

Please logout & login before first use!

Notes for usage
VI_ERROR_SYSTEM_ERROR when using

Please logout & login to renew environment variables.

USB-RAW devices do not work

If USB-RAW devices do not work, try following (as root) and restart your PC:

# AddUsbRawPermissions.sh
# gpasswd -a <user> usbraw
USB-TMC devices do not work
# gpasswd -a <user> usbtmc
# rmmod usbtmc
# echo 'blacklist usbtmc' > /etc/modprobe.d/nousbtmc.conf
refs

tinux commented on 2018-03-22 10:54

FYI, after installing, it seems to be necessary to restart the computer for this to work.

https://github.com/pyvisa/pyvisa/issues/272

t-onoz, maybe add a comment to the package...

t-onoz commented on 2018-03-04 18:10

This package does not install NI-KAL and other kernel modules, so we cannot use PCI/PXI-based devices. However, we can still use other passports like USBTMC or Ethernet.