Package Details: ni-visa 17.0.0-3

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

Dependencies (5)

Required by (0)

Sources (3)

Pinned Comments

t-onoz commented on 2018-03-22 18:03 (UTC) (edited on 2018-03-24 10:50 (UTC) by t-onoz)

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

MarsSeed commented on 2023-07-15 09:20 (UTC) (edited on 2023-12-12 21:39 (UTC) by MarsSeed)

Please remove the unneeded optdepend python2-pyvisa: the Python3 variant is sufficient to keep. Also its upstream no longer supports Python2.

tsangares commented on 2018-08-21 21:58 (UTC) (edited on 2018-08-21 22:06 (UTC) by tsangares)

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 (UTC)

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 (UTC) (edited on 2018-08-21 00:10 (UTC) by tsangares)

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 (UTC)

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

greyltc commented on 2018-04-04 12:50 (UTC)

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 (UTC) (edited on 2018-03-24 10:50 (UTC) by t-onoz)

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 (UTC) (edited on 2018-03-22 10:57 (UTC) by tinux)

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 (UTC)

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.