pyvisa / pyvisa-sim

A PyVISA backend that simulates a large part of the "Virtual Instrument Software Architecture" (VISA_)
https://pyvisa-sim.readthedocs.io/en/latest/
MIT License
70 stars 39 forks source link

Invalid signature for load in get_device_dict #37

Closed protonyx closed 9 years ago

protonyx commented 9 years ago

When referencing external yaml files for device definitions, load fails in parser.py, line 265 because of signature mismatch.

data = self.load(filename, bundled, required_version)

Change to:

data = self.load(filename, bundled, None, required_version)

hgrecco commented 9 years ago

Thanks for looking into this. I have pushed the fix