question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

VI_ERROR_SYSTEM_ERROR Cannot run pyvisa

See original GitHub issue

I installed ni-visa (via aur packages on arch linux) and pyvisa via pip. When I run python -m visa info I get:

Machine Details:
   Platform ID:    Linux-4.11.9-1-ARCH-x86_64-with-arch
   Processor:      

Python:
   Implementation: CPython
   Executable:     /usr/bin/python
   Version:        3.6.1
   Compiler:       GCC 6.3.1 20170306
   Bits:           64bit
   Build:          Mar 27 2017 00:27:06 (#default)
   Unicode:        UCS4

PyVISA Version: 1.8

Backends:
   ni:
      Version: 1.8 (bundled with PyVISA)
      #1: /usr/vxipnp/linux/lib64/libvisa.so:
         found by: user
         bitness: 64
         Could not get more info:
            VI_ERROR_SYSTEM_ERROR (-1073807360): Unknown system error (miscellaneous error).

Unknown system error doesn’t tell me anything. What can I do about the error?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
MatthieuDartiailhcommented, Mar 28, 2018

Ok I tested the TCPIP communication with the AUR package and I can confirm it works. See #323 for the documentation update.

0reactions
t-onozcommented, Apr 4, 2018

@greyltc Unfortunately, GPIB-USB-HS is only supported in very old (< 2.6.24) linux kernels, so you need to use alternative drivers like linux-gpib instead of NI-VISA.

https://forums.ni.com/t5/Linux-Users/NI-VISA-and-linux-gpib-requirements-technical-and-legalese/gpm-p/3375826

Read more comments on GitHub >

github_iconTop Results From Across the Web

Miscellaneous questions — PyVISA 1.12.1.dev43+g37c774d ...
No. PyVISA is developed independently of National Instrument as a wrapper for the VISA ... OSError: Could not open VISA library: Error while...
Read more >
Frequently asked questions — PyVISA 1.8 documentation
Is PyVISA endorsed by National Instruments?¶. No. PyVISA is developed independently of National Instrument as a wrapper for the VISA library. Who makes...
Read more >
Installation — PyVISA 1.8 documentation - Read the Docs
What PyVISA cannot do is open a 32-bit VISA library while running in 64-bit Python (or the other way around). You need to...
Read more >
Installation — PyVISA-Py 0.5.4.dev57+g3f63d8a documentation
To access serial resources, you should install PySerial. Version 3.0 or newer is required. No special configuration is required. GPIB resources: GPIB INSTR...
Read more >
Installation — PyVISA 1.12.1.dev43+g37c774d documentation
What PyVISA cannot do is open a 32-bit VISA library while running in 64-bit Python (or the other way around). You need to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found