Table of Contents

Class B2900SourceMeasureUnitModule

Namespace
Loehnert.Lisrt.SourceMeasureUnit.Keysight
Assembly
Loehnert.Lisrt.SourceMeasureUnit.Keysight.dll

Represents a LisRT module for Keysight B2900B/BL Series precision source measure unit.

public class B2900SourceMeasureUnitModule : InitializableCompositeModule, ICompositeModule, ILisrtModule, IInitializable, INotifyPropertyChangedEx, INotifyPropertyChanged, IHasServiceView, IHasDeviceLabel
Inheritance
PropertyChangedBase
B2900SourceMeasureUnitModule
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Constructors

B2900SourceMeasureUnitModule(string, ICommunication)

Initializes a new instance of the B2900SourceMeasureUnitModule class.

public B2900SourceMeasureUnitModule(string name, ICommunication communication)

Parameters

name string

Name of the module.

communication ICommunication

Communication instance, must be of type VisaModule.

Exceptions

ArgumentNullException

Thrown when an argument is null.

Properties

DeviceLabel

Gets or sets the device label.

[Configuration("")]
public string DeviceLabel { get; set; }

Property Value

string

InstanceID

Gets or sets the instance ID.

public int InstanceID { get; set; }

Property Value

int

Output

Gets the output sub system.

public B2900Output Output { get; }

Property Value

B2900Output

Sense

Gets the source sub system.

public B2900Sense Sense { get; }

Property Value

B2900Sense

Source

Gets the source sub system.

public B2900Source Source { get; }

Property Value

B2900Source

Methods

FetchData()

Fetches an array of data.

public IReadOnlyList<MeasurementResult> FetchData()

Returns

IReadOnlyList<MeasurementResult>

A readonly list containing the data.

GetCommandBuilder()

Gets a SCPI command builder.

public ScpiCommandBuilder GetCommandBuilder()

Returns

ScpiCommandBuilder

An instance of a command builder.

Initialize()

Initializes the module.

public override void Initialize()

Measure()

Executes a measurement.

public MeasurementResult Measure()

Returns

MeasurementResult

The measured values.

Reset()

Resets the device.

public void Reset()

ShowServiceView()

Shows the service window.

public void ShowServiceView()