rminstr.instruments.DP8200

Created on Thu Jun 6 11:45:39 2024

@author: rfpower

Classes

VoltageGenerator

Implementation of the DP8200 as a voltage generator.

Package Contents

class rminstr.instruments.DP8200.VoltageGenerator(GPIB_address: str, resource_manager: pyvisa.ResourceManager = None, log_path: str = None)

Bases: rminstr.instruments.communications.Instrument, rminstr.instruments.measurement_functionalities.ABC_VoltageGenerator

Implementation of the DP8200 as a voltage generator.

Initialize DP8200 as a voltage generator.

Parameters:
visa_addressstr

Visa address of instrument.

resource_managervisa.ResourceManager

Optionally declare what resource manager to use for opening the visa resource object.

log_pathstr, optional

If provided, will log at the specified path. The default is None.

Returns:
None.
default_setup_settings
query_state()

Check the state of the machine.

Returns:
str

Current state of the instrument.

get_errors()

Get errors.

raise_errors()

Raise errors present on instrument as exceptions.

initial_setup(**kwargs)

Run initial setup routine on voltage calibrator.

Returns:
None.
setup(v_range: float = None, source_level: float = None)

Adjust settings on the DP8200.

Parameters:
v_rangefloat, optional

Voltage range of output. 100e-3, 10, 100, or 1000 V. Value will be rounded up to nearest valid value. The default is None.

source_levelfloat, optional

Voltage level to output. The default is None.

Returns:
None.
Raises:
Exception

On bad inputs.