Simulated devices in PyVISA: early preview
PyVISA started as wrapper for the NI-VISA library and therefore you need to install National Instruments VISA library in your system. This works most of the time, for most people. But sometimes you need to test PyVISA without the devices or even without VISA. Starting form version 1.6 , PyVISA allows to use different backends. These backends can be dynamically loaded. PyVISA-sim is one of such backends. It implements most of the methods for Message Based communication (Serial/USB/GPIB/Ethernet) in a simulated environment . The behavior of simulated devices can be controlled by a simple configuration in plain text . In the near future, you will be able to load this from file to change it depending on your needs. To test it you need to install PyVISA 1.6 which is currently only available from GitHub: $ pip install -U https://github.com/hgrecco/pyvisa/zipball/master And then install: $ pip install -U https://github.com/hgrecco/pyvisa-sim/zipball/master For...