Open steveausuk opened 4 years ago
This is different for the various DPS devices. My DPS5020 has a larger current-range and for this device the scaling of 100 is correct.
I'm not maintaining this project anymore. Feel free to create a pull request, with changes, which allow to select the device-type
Before the changes, when setting 2 amps, the device was set to 0.2
To correct it, I have changed 100 ==> 1000 on the following lines in pyDPS.py: line 161: self.power_supply.write_register(1,int(amp*1000)) line 188: if self.data[1]/1000==round(self.ampSpinBox.value(),2):