GenericPSU

From: AimTTI Class: herosdevices.hardware.aimtti.pl_series.GenericPSU

Driver Quality Index: beta

Device driver for a generic network capable AimTTI Power Supplies.

Bold arguments are mandatory. For more information on the listed arguments refer to the class documentation: herosdevices.hardware.aimtti.pl_series.GenericPSU If parameters appear in this list but not in the class definition, please recursively check the linked base classes for the definition of the parameter.

Argument

Type

Default Value

Description

address

<class ‘str’>

IP address of the device.

port

<class ‘int’>

9221

Socket port of the device. Default (9221) should be correct for all PSUs.

timeout

<class ‘float’>

1.0

timeout for read operations.

The following JSON strings can be used to start a HERO device representation of GenericPSU using BOSS.

{
    "_id": "AimTTI_test",
    "classname": "herosdevices.hardware.aimtti.GenericPSU",
    "arguments": {
        "address": "192.168.50.42"
    }
}

from examples/aimtti/pl_series.json

{
    "_id": "my_GenericPSU",
    "classname": "herosdevices.hardware.aimtti.pl_series.GenericPSU",
    "arguments": {
        "address": "192.168.1.20",
        "port": 9221,
        "timeout": 1.0
    }
}

generated from signature

Inheritance diagram of herosdevices.hardware.aimtti.pl_series.GenericPSU