windowspython-3.xvirtual-machinegpibpyvisa

GPIB simulator (alternative to PyVISA-sim)


While coding, it is not always easy to have a connected instrument via GPIB. Python offers the possibility to simulate an instrument using PyVISA-sim.

Unless I am mistaken, the community is not really active, and I got several errors:

1- PyVISA-sim gives a large panel of "virtual" instruments, but only one can effectively communicate with my code

2- While creating my own .ymal file, python fails to recognize it

I was wondering if there is an alternate way?

I will be more greedy: is there a GPIB simulator that can also simulate an instrument response?

For example: while simulating a voltmeter, the virtual instrument will effectively return me some "random" readings.

The goal is to check if my Byte to Single converter is working properly

Thanks


Solution

  • Short answer is that it's very much a DIY job. There are hardware instrument simulators but I'm not sure this will help you with your byte converter.

    Instrument Simulator: http://sine.ni.com/nips/cds/view/p/lang/en/nid/10763

    Does the user manual not give you the format for the returned data?