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

digraph inheritancee854f93244 { bgcolor=transparent; rankdir=TB; size=""; "herosdevices.core.templates.serial.SerialDeviceTemplate" [URL="../../../autoapi/herosdevices/core/templates/serial/index.html#herosdevices.core.templates.serial.SerialDeviceTemplate",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Template (base class) for devices which are controlled or read out through a serial interface."]; "herosdevices.hardware.aimtti.pl_series.GenericPSU" [URL="../../../autoapi/herosdevices/hardware/aimtti/pl_series/index.html#herosdevices.hardware.aimtti.pl_series.GenericPSU",color="#5fabe8",fillcolor="#5fabe827",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,penwidth=2,shape=box,style="rounded,filled",target="_top",tooltip="Device driver for a generic network capable AimTTI Power Supplies."]; "herosdevices.core.templates.serial.SerialDeviceTemplate" -> "herosdevices.hardware.aimtti.pl_series.GenericPSU" [arrowsize=1,color="#5fabe8",dir="back",penwidth=2,style="setlinewidth(0.5)"]; }