Documentation ¶
Overview ¶
Package load provides the Defined Values and other structs, methods, etc. that are common among electronic loads, which is a class of equipment not included in the IVI standard.
Files are split based on the class capability groups.
Index ¶
- type Base
- type BaseChannel
- type Channel
- func (ch *Channel) Name() string
- func (ch *Channel) QueryBool(cmd string) (bool, error)
- func (ch *Channel) QueryFloat64(cmd string) (float64, error)
- func (ch *Channel) QueryString(cmd string) (string, error)
- func (ch *Channel) Set(format string, a ...interface{}) error
- func (ch *Channel) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseChannel ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
Channel represents the repeated capability of an output channel for a DC power supply.
func NewChannel ¶
func NewChannel(id int, name string, inst ivi.Instrument) Channel
NewChannel returns a Channel for an electronic load.
func (*Channel) Name ¶
Name returns the name of the output channel. Name is the getter for the read-only IviDCPwrBase Attribute Output Channel Name described in Section 4.2.9 of IVI-4.4: IviDCPwr Class Specification.
func (*Channel) QueryFloat64 ¶
QueryFloat64 queries the channel and returns a float64.
func (*Channel) QueryString ¶
QueryString queries the channel and returns a string. FIXME(mdr): Change to take a format string and ...interface{}