hvl_ccb.dev.keysightb298xx.device

Inheritance diagram of hvl_ccb.dev.keysightb298xx.device

class KeysightB2985A(com: KeysightB2985AVisaCommunication | KeysightB2985AVisaCommunicationConfig | dict, dev_config: KeysightB2985AConfig | dict | None = None)[source]

Bases: VisaDevice

Device class for the KeysightB2985A.

property acquire: Acquisition
static config_cls()[source]

Return the default configdataclass class.

Returns:

a reference to the default configdataclass class

property data: Data
static default_com_cls()[source]

Return the default communication protocol for this device type, which is VisaCommunication.

Returns:

the VisaCommunication class

property input: Input
property output: Output
query_status() None[source]

Queries the status byte and reads the error queue

self_test() bool[source]

Perform a device self-test to check for correct operation.

Returns:

bool with result of the self test.

start() None[source]

Start the KeysightB2985A and bring it into a defined state and remote mode.

property status: Status

The status byte STB is defined in IEEE 488.2. It provides a rough overview of the instrument status.

stop() None[source]

Stop the KeysightB2985A and close communication. Resets the device to local operation mode.

property transition: Transition
wait_operation_complete(timeout: float | None = None) bool[source]

Wait until a task is completed.

Parameters:

timeout – timeout in seconds, defaults to 0.1 s

Raises:

TimeoutError – if the operation does not complete in time

Returns:

operation complete or timeout