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
-
PropertyChangedBaseB2900SourceMeasureUnitModule
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Constructors
B2900SourceMeasureUnitModule(string, ICommunication)
Initializes a new instance of the B2900SourceMeasureUnitModule class.
public B2900SourceMeasureUnitModule(string name, ICommunication communication)
Parameters
name
stringName of the module.
communication
ICommunicationCommunication 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
InstanceID
Gets or sets the instance ID.
public int InstanceID { get; set; }
Property Value
Output
Gets the output sub system.
public B2900Output Output { get; }
Property Value
Sense
Gets the source sub system.
public B2900Sense Sense { get; }
Property Value
Source
Gets the source sub system.
public B2900Source Source { get; }
Property Value
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()