Documentation ¶
Overview ¶
Package sdl10xx implements the IVI driver for the Signlent SDL1000X and SDL1030X DC electronic loads.
State Caching: Not implemented
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableCOMPorts ¶
func AvailableCOMPorts() []string
AvailableCOMPorts lists the avaialble COM ports, including optional ports.
func DefaultGPIBAddress ¶
func DefaultGPIBAddress() int
DefaultGPIBAddress lists the default GPIB interface address.
func DefaultSerialBaudRate ¶
func DefaultSerialBaudRate() int
DefaultSerialBaudRate returns the default baud rate for the RS-232 serial port.
func DefaultSerialDataFrame ¶
func DefaultSerialDataFrame() string
DefaultSerialDataFrame returns the default RS-232 data frame format.
func SerialBaudRates ¶
func SerialBaudRates() []int
SerialBaudRates lists the available baud rates for the RS-232 serial port from the fastest to the slowest.
func SerialConfig ¶
func SerialConfig() string
SerialConfig lists whether the RS-232 serial port is configured as a DCE (Data Circuit-Terminating Equipment) or a DTE (Data Terminal Equipment). Computers running the IVI program are DTEs; therefore, use a straight through serial cable when connecting to DCEs and a null modem cable when connecting to DTEs.
func SerialDataFrames ¶
func SerialDataFrames() []string
SerialDataFrames lists the available RS-232 data frame formats.
Types ¶
type Channel ¶
Channel models a SDL10xx load channel.
func (*Channel) MeasureCurrent ¶
MeasureCurrent takes a measurement on the output signal and returns the measured current.
MeasureCurrent implements the IviDCPwrMeasurement function Measure for the Current MeasurementType parameter described in Section 7.2.1 of IVI-4.4: IviDCPwr Class Specification.
func (*Channel) MeasureVoltage ¶
MeasureVoltage takes a measurement on the output signal and returns the measured voltage.
MeasureVoltage implements the IviDCPwrMeasurement function Measure for the Voltage MeasurementType parameter described in Section 7.2.1 of IVI-4.4: IviDCPwr Class Specification.