4 Channels Power Suppy GPP4323 module

Created on Wed Feb 1 15:55:01 2023

@author: Martin.Mihaylov

class GPP4323.GPP4323(resource_str)[source]

Bases: object

Close()[source]
ask_Amp(channel)[source]
Parameters:

channel (int) – Select channel from List of Channel Numbers [1,2,3,4].

Returns:

DESCRIPTION.

Return type:

TYPE

ask_ChannelLoadMode(channel)[source]
Parameters:

channel (int) – Select channel from List of Channel Numbers [1,2].

Returns:

Queries CH1 or CH2 work mode. 6 modes below: SERies/PARallel/INDE pendent, CV Load/CC Load/CR Load

Return type:

TYPE

ask_LoadResistor(channel)[source]
Parameters:

channel (int) – Select channel from List of Channel Numbers [1,2].

Returns:

Set load Resistance Value for given channel.

Return type:

TYPE

ask_Volt(channel)[source]
Parameters:

channel (int) – Select channel from List of Channel Numbers [1,2,3,4].

Returns:

DESCRIPTION.

Return type:

TYPE

getIdn()[source]
Returns:

Instrument identification

Return type:

TYPE str

get_data(channel)[source]
Returns:

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

Return type:

dict

query_IND(message)[source]
query_values(message)[source]
read_Measurment(channel, Type)[source]
Returns:

Voltage Measured

Return type:

TYPE float

reset()[source]
set_Amp(channel, amp)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2,3,4].

  • amp (int/float) – Set Current on Channel.

Return type:

None.

set_ChannelLoadMode(channel, mode, status)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2].

  • mode (str) – Sets CH1/CH2 as Load CV, CC or CR mode.

  • status (str) – Possible status [“ON”, “OFF”].

Return type:

None.

set_ChannelToParallel(channel, status)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2].

  • status (str) – Sets CH1/CH2 as Tracking parallel mode.

Return type:

None.

set_ChannelToSerial(channel, status)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2].

  • status (str) – Sets CH1/CH2 as Tracking series mode.

Return type:

None.

set_ChannelTracking(mode)[source]
Parameters:

mode (int) – Selects the operation mode: independent, tracking series, or tracking parallel. GPP-1326 does not have this function. Series-parallel mode is not supported under LOAD.

Return type:

None.

set_LoadResistor(channel, value)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2].

  • value (float) – Set resistance values from range 1-1000.

Return type:

None.

set_Out(channel, state)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2,3,4].

  • state (str) – Status of power Supple output. Could be [“ON”, “OFF”]

Return type:

None.

set_Volt(channel, voltage)[source]
Parameters:
  • channel (int) – Select channel from List of Channel Numbers [1,2,3,4].

  • voltage (int/float.) – Set Voltage on Channel.

Return type:

None.

write(message)[source]