Skip to main content

A plugin manager for modules that implement complex pyvisa resource interactions

Project description

Visadore

A plug-in manager for modules that implement complex pyvisa resource interactions. Visadore is built on top of the stevedore package module that provides a driver interface to plug-in modules. Each plug-in module is registered in setuptool's entry point registry.

#Invoking Visadore Invoking Visadore is easy...

Python 3.7.7 (default, May  6 2020, 11:45:54) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from visadore import get
>>> instrument = get("TCPIP::192.168.1.100::INSTR")

When invoked, the get() method queries the IDN string from the specified instrument. The instrument is specified using the standard VISA resource name syntax. Using the IDN string, Visadore searches for setuptools entry points that matches the instrument's manufacturer and model number. The is an unique entry point for each feature. When one or more matching entry points are found, Visadore dynamically creates a new class for that instrument. The new class includes all of the features identified during the entry point search.

#Features Implemented by Visadore

Visadore does not implement any actual instrument features. Instrument features must implemented by other package modules which import visadore and register the features as setuptools entry points.

Actually, there are a few features implemented in a "mock instrument" that is used solely by Visadore test code.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visadore-1.0.tar.gz (9.1 kB view hashes)

Uploaded Source

Built Distribution

visadore-1.0-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page