Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

pyvisa in linux seems not working

Hi guys just in case anyone of you tried control equipment in virtual machine before may help me

I got Win10 as host and Centos7 as guest in VMware,  in host Win10 pyvisa talk to equipment very well, everything is working.

But in guest Centos pyvisa seems not able to retrieve any ethernet connected equipment.

pinging to equipment ip address from guest OS  shows connected:

 

(base) [aaronfan@localhost ~]$ ping 10.0.22.30

PING 10.0.22.30 (10.0.22.30) 56(84) bytes of data.

64 bytes from 10.0.22.30: icmp_seq=1 ttl=128 time=0.814 ms

64 bytes from 10.0.22.30: icmp_seq=2 ttl=128 time=1.19 ms

64 bytes from 10.0.22.30: icmp_seq=3 ttl=128 time=1.44 ms

64 bytes from 10.0.22.30: icmp_seq=4 ttl=128 time=1.25 ms

64 bytes from 10.0.22.30: icmp_seq=5 ttl=128 time=1.08 ms

^C

--- 10.0.22.30 ping statistics ---

5 packets transmitted, 5 received, 0% packet loss, time 4008ms

 

 

From guest Centos pyvisa-info I don’t see anything wrong either, Guest OS pyvisa-info:

 

Machine Details:

   Platform ID:    Linux-3.10.0-1062.el7.x86_64-x86_64-with-centos-7.7.1908-Core

   Processor:      x86_64

 

Python:

   Implementation: CPython

   Executable:     /home/aaronfan/miniconda3/bin/python

   Version:        3.7.5

   Compiler:       GCC 7.3.0

   Bits:           64bit

   Build:          Oct 25 2019 15:51:11 (#default)

   Unicode:        UCS4

 

PyVISA Version: 1.10.0

 

Backends:

   ni:

      Version: 1.10.0 (bundled with PyVISA)

      #1: /usr/lib/x86_64-linux-gnu/libvisa.so.18.2.0:

         found by: auto

         bitness: 64

         Vendor: National Instruments

         Impl. Version: 18874880

         Spec. Version: 5244928

 

 

any ideas welcome , thanks.

0 Kudos
Message 1 of 1
(1,572 Views)