Skip to content

My Fork of LibreVisa, extended for use with PyVisa.

Notifications You must be signed in to change notification settings

samangh/LibreVisa

 
 

Repository files navigation

LibreVisa

My Fork of LibreVisa, extended for use with PyVisa.

I am trying to control a USBTMC Device using PyVisa and LibreVisa on a Debian Linux System. For use with PyVisa I had to implement the viParseRsrc() function in LibreVisa.

My Python Script:

  #!/usr/bin/env python3
  import visa
  rm = visa.ResourceManager('/home/charly/dev/librevisa.git/src/.libs/libvisa.so')
  rm.list_resources()
  inst = rm.open_resource('USB5::0x03eb::0x2423::123456');
  idn = inst.query('*IDN?')
  print(idn)

Links:

About

My Fork of LibreVisa, extended for use with PyVisa.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 63.0%
  • C 32.4%
  • CMake 1.8%
  • Makefile 1.6%
  • Other 1.2%