Skip to content

Setting Amps out by factor of 10 with DPH5005 #1

@steveausuk

Description

@steveausuk

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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions