rnd

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: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChannelModeCC = 1 << iota
	ChannelModeVC
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RND320

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

func NewRND320

func NewRND320(path, name string) (*RND320, error)

func (*RND320) GetChannels

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

func (*RND320) GetCurrent

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

func (*RND320) GetMaster

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

func (*RND320) GetOCP

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

func (*RND320) GetOVP

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

func (*RND320) GetOut

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

func (*RND320) GetVoltage

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

func (*RND320) Probe

func (nt *RND320) Probe() error

func (*RND320) SetBeep

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

func (*RND320) SetCurrent

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

func (*RND320) SetMaster

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

func (*RND320) SetOCP

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

func (*RND320) SetOVP

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

func (*RND320) SetOut

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

func (*RND320) SetVoltage

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

func (*RND320) Status

func (nt *RND320) 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