Documentation
¶
Index ¶
- func QueryID(q Querier) (string, error)
- func Set(sw StringWriter, format string, a ...interface{}) error
- type Inherent
- func (inherent *Inherent) Clear() error
- func (inherent *Inherent) Disable() error
- func (inherent *Inherent) FirmwareRevision() (string, error)
- func (inherent *Inherent) InstrumentManufacturer() (string, error)
- func (inherent *Inherent) InstrumentModel() (string, error)
- func (inherent *Inherent) InstrumentSerialNumber() (string, error)
- func (inherent *Inherent) Reset() error
- type InherentBase
- type Instrument
- type Querier
- type StringWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
func Set(sw StringWriter, format string, a ...interface{}) error
Set formats according to a format specifier and then writes the resulting string to the given StringWriter interface.
Types ¶
type Inherent ¶
type Inherent struct { InherentBase // contains filtered or unexported fields }
Inherent provides the inherent capabilities for all IVI instruments.
func NewInherent ¶
func NewInherent(inst Instrument, base InherentBase) Inherent
NewInherent creates a new Inherent struct using the given Instrument interface and the InherentBase struct.
func (*Inherent) Disable ¶
Disable places the instrument in a quiescent state as quickly as possible. Disable provides the method described in Section 6.4 of IVI-3.2: Inherent Capabilities Specification.
func (*Inherent) FirmwareRevision ¶
FirmwareRevision queries the instrument and returns the firmware revision of the instrument. FirmwareRevision is the getter for the read-only inherent attribute Instrument Firmware Revision described in Section 5.18 of IVI-3.2: Inherent Capabilities Specification.
func (*Inherent) InstrumentManufacturer ¶
InstrumentManufacturer queries the instrument and returns the manufacturer of the instrument. InstrumentManufacturer is the getter for the read-only inherent attribute Instrument Manufacturer described in Section 5.19 of IVI-3.2: Inherent Capabilities Specification.
func (*Inherent) InstrumentModel ¶
InstrumentModel queries the instrument and returns the model of the instrument. InstrumentModel is the getter for the read-only inherent attribute Instrument Model described in Section 5.20 of IVI-3.2: Inherent Capabilities Specification.
func (*Inherent) InstrumentSerialNumber ¶
InstrumentSerialNumber queries the instrument and returns the S/N of the instrument.
type InherentBase ¶
type InherentBase struct { ClassSpecMajorVersion int ClassSpecMinorVersion int ClassSpecRevision string GroupCapabilities []string SupportedInstrumentModels []string IDNString string }
InherentBase provides the exported properties for the inherent capabilities of all IVI instruments.
type Instrument ¶
type Instrument interface { Read(p []byte) (n int, err error) Write(p []byte) (n int, err error) StringWriter Querier }
Instrument provides the interface required for all IVI Instruments.
type Querier ¶
Querier provides the interface to query using a given string and provide the resultant string.
type StringWriter ¶
StringWriter provides the interface to write a string.
Directories
¶
Path | Synopsis |
---|---|
Package com provides information about communication ports (Ethernet, serial, etc.) for various IVI devices.
|
Package com provides information about communication ports (Ethernet, serial, etc.) for various IVI devices. |
Package dcpwr provides the Defined Values and other structs, methods, etc.
|
Package dcpwr provides the Defined Values and other structs, methods, etc. |
keysight/e36xx
Package e36xx implements the IVI driver for the Agilent/Keysight E3600 series of power supplies.
|
Package e36xx implements the IVI driver for the Agilent/Keysight E3600 series of power supplies. |
kikusui/pmx
Package pmx implements the IVI driver for the KIKUSUI PMX series of regulated DC power supplies.
|
Package pmx implements the IVI driver for the KIKUSUI PMX series of regulated DC power supplies. |
fluke/fluke45
Package fluke45 implements the IVI driver for the Fluke 45 DMM.
|
Package fluke45 implements the IVI driver for the Fluke 45 DMM. |
keysight/key3446x
Package key3446x implements the IVI Instrument driver for the Keysight 3446x family of DMM.
|
Package key3446x implements the IVI Instrument driver for the Keysight 3446x family of DMM. |
Package dsa provides the Defined Values and other structs, methods, etc.
|
Package dsa provides the Defined Values and other structs, methods, etc. |
Package fgen provides the Defined Values and other structs, methods, etc.
|
Package fgen provides the Defined Values and other structs, methods, etc. |
keysight/key33220
Package key33220 implements the IVI Instrument driver for the Agilent 33220A function generator.
|
Package key33220 implements the IVI Instrument driver for the Agilent 33220A function generator. |
srs/ds345
Package ds345 implements the IVI driver for the Stanford Research System DS345 function generator.
|
Package ds345 implements the IVI driver for the Stanford Research System DS345 function generator. |
keysight/esa
Package esa implements the IVI driver for the Agilent ESA series spectrum analyzers.
|
Package esa implements the IVI driver for the Agilent ESA series spectrum analyzers. |
Package swtch provides the Defined Values and other structs, interfaces, methods, etc.
|
Package swtch provides the Defined Values and other structs, interfaces, methods, etc. |
keysight/u2751a
Package u2751a implements the IVI driver for the Keysight U2751A 4x8 2-wire switch matrix.
|
Package u2751a implements the IVI driver for the Keysight U2751A 4x8 2-wire switch matrix. |