Pyscan crashes when starting the experiment with real instruments. The issue is that one way we make drives is to have a GPIBInstrument class that is saved as an attribute to the driver. The JSON encoding step for save metadata crashes when it tries to serialize this object.
There are likely other pyvisa and other instrument driver objects that fail when pyscan tries to serialize them (USB instruments, Thorlabs and other specialized drivers, etc.).
The initial fix is easy, but having a safe fail for unknown objects is probably required.
Pyscan crashes when starting the experiment with real instruments. The issue is that one way we make drives is to have a GPIBInstrument class that is saved as an attribute to the driver. The JSON encoding step for save metadata crashes when it tries to serialize this object.
There are likely other pyvisa and other instrument driver objects that fail when pyscan tries to serialize them (USB instruments, Thorlabs and other specialized drivers, etc.).
The initial fix is easy, but having a safe fail for unknown objects is probably required.