Power Supply RD3005 module

Created on Mon Aug 1 12:14:47 2022

@author: Martin.Mihaylov

class RD3005.RD3005(psu_com)[source]

Bases: object

Close()[source]
ask_Amp()[source]
Returns:

current set.

Return type:

TYPE float

ask_Status()[source]
Returns:

Get the state of the output and CC/CV

Return type:

TYPE

ask_Volt()[source]
Returns:

Voltage set.

Return type:

TYPE float

getIdn()[source]
Returns:

Instrument identification

Return type:

TYPE str

get_data()[source]
Returns:

OutPut – Return a dictionary with the measured voltage and current.

Return type:

dict

isConnected = False
psu_com = None
read_Amp()[source]
Returns:

Current Measured

Return type:

TYPE float

read_Volt()[source]
Returns:

Voltage Measured

Return type:

TYPE float

serWriteAndRecieve(data, delay=0.05)[source]
set_Amp(amp, delay=0.01)[source]
Parameters:
  • amp (int/float) – Set the current on the Display

  • delay (0.01s Delay)

Return type:

None

set_Ocp(state)[source]
Parameters:

state (str (ON/OFF)) – Set the state of the overcurrent protection ON and OFF

Return type:

None.

set_Out(state)[source]
Parameters:

state (str (ON/OFF)) – Turn Output ON and OFF

Return type:

None.

set_Volt(voltage, delay=0.01)[source]
Parameters:
  • voltage (int/float) – Set the voltage on the Display

  • delay (0.01s Delay)

Return type:

None

status = {}