Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 850 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 850 Bytes

oscillo-monitor

Monitoring an oscilloscope display using VISA API

Installation

git clone https://github.com/mao-wfs/oscillo-monitor.git
cd oscillo-monitor
poetry install

Usage

  1. Get the resource name of an oscilloscope
    $ poetry run bin/resources
    USB0::...::INSTR
    ...
  2. Run the monitor script with the resource name
    $ VISA_RESOURCE="USB0::...::INSTR" poetry run bin/monitor

Troubleshoot

If you cannot find any resource names, please check this out.

On Unix system, one may have to modify udev rules to allow non-root access to the device you are trying to connect to. The following tutorial describes how to do it http://ask.xmodulo.com/change-usb-device-permission-linux.html. https://pyvisa.readthedocs.io/projects/pyvisa-py/en/stable/installation.html