rs

package
v0.0.0-...-b8a4e1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HMC804

type HMC804 struct {
	opennetzteil.NetzteilBase
	// contains filtered or unexported fields
}

func NewHMC804

func NewHMC804(target, name string) *HMC804

func (*HMC804) GetChannels

func (nt *HMC804) GetChannels() (int, error)

func (*HMC804) GetCurrent

func (nt *HMC804) GetCurrent(channel int) (float64, error)

func (*HMC804) GetMaster

func (nt *HMC804) GetMaster() (bool, error)

func (*HMC804) GetOCP

func (nt *HMC804) GetOCP(channel int) (bool, error)

func (*HMC804) GetOVP

func (nt *HMC804) GetOVP(channel int) (bool, error)

func (*HMC804) GetOut

func (nt *HMC804) GetOut(channel int) (bool, error)

func (*HMC804) GetVoltage

func (nt *HMC804) GetVoltage(channel int) (float64, error)

func (*HMC804) Probe

func (nt *HMC804) Probe() error

func (*HMC804) SetBeep

func (nt *HMC804) SetBeep(enabled bool) error

func (*HMC804) SetCurrent

func (nt *HMC804) SetCurrent(channel int, current float64) error

func (*HMC804) SetMaster

func (nt *HMC804) SetMaster(enabled bool) error

func (*HMC804) SetOCP

func (nt *HMC804) SetOCP(channel int, enabled bool) error

func (*HMC804) SetOVP

func (nt *HMC804) SetOVP(channel int, enabled bool) error

func (*HMC804) SetOut

func (nt *HMC804) SetOut(channel int, enabled bool) error

func (*HMC804) SetVoltage

func (nt *HMC804) SetVoltage(channel int, voltage float64) error

func (*HMC804) Status

func (nt *HMC804) Status() (interface{}, error)

type Status

type Status struct {
	ChannelMode string
	Output      bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL