Class MeasurementImplementation
Implementation of the FDS, PDC and Combined Measurement.
Inheritance
Implements
Namespace: OmicronLab.MaterialAnalyzer.AutomationInterface
Assembly: OmicronLab.MaterialAnalyzer.AutomationInterface.dll (1.60.627.0)
Syntax
public class MeasurementImplementation : FrequencySweepMeasurement, ITestCell, IStoppableMeasurement, IDisposable
Properties
CorrectedResults
Gets the corrected results.
Declaration
public Results CorrectedResults { get; }
Property Value
Type | Description |
---|---|
Results | The corrected results. |
FrequencySweepSettings
Gets the frequency sweep settings allowing creation of settings of various types.
Declaration
public FrequencySweepSettings FrequencySweepSettings { get; }
Property Value
Type | Description |
---|---|
FrequencySweepSettings |
IsCompleted
Gets a value indicating whether this measurement is completed.
Declaration
public bool IsCompleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
MeasurementSettings
Gets the measurement settings.
Declaration
public MeasurementSettings MeasurementSettings { get; }
Property Value
Type | Description |
---|---|
MeasurementSettings |
PreMeasurement
Gets the pre measurement settings.
Declaration
public PreMeasurement PreMeasurement { get; }
Property Value
Type | Description |
---|---|
PreMeasurement | The pre measurement settings. |
ReferenceMeasurements
Gets the reference measurements.
Declaration
public ReferenceMeasurements ReferenceMeasurements { get; }
Property Value
Type | Description |
---|---|
ReferenceMeasurements | The reference measurements. |
Results
Gets the results.
Declaration
public Results Results { get; }
Property Value
Type | Description |
---|---|
Results | The results. |
TestCell
Gets the test cell.
Declaration
public TestCell TestCell { get; }
Property Value
Type | Description |
---|---|
TestCell | The test cell. |
TestCellSample
Gets the test cell sample.
Declaration
public TestCellSample TestCellSample { get; }
Property Value
Type | Description |
---|---|
TestCellSample | The test cell sample. |
Methods
ClearResults()
Clears the results.
Declaration
public void ClearResults()
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Declaration
public void Dispose()
Dispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
|
EstimateMeasurementTime()
Estimates the measurement time in seconds.
Declaration
public double EstimateMeasurementTime()
Returns
Type | Description |
---|---|
System.Double |
ExecuteMeasurement()
Executes the measurement.
Declaration
public ExecutionState ExecuteMeasurement()
Returns
Type | Description |
---|---|
ExecutionState |
ExecuteMeasurementAsync()
Executes the measurement asynchronous.
Declaration
public Task<ExecutionState> ExecuteMeasurementAsync()
Returns
Type | Description |
---|---|
Task<ExecutionState> |
Finalize()
Finalizes an instance of the MeasurementImplementation class.
Declaration
protected void Finalize()
ReconnectMeasurementToDevice()
Reconnects the measurement to an already running device.
Declaration
public ReconnectionState ReconnectMeasurementToDevice()
Returns
Type | Description |
---|---|
ReconnectionState |
ReconnectMeasurementToDeviceAsync()
Reconnects the measurement to an already running device asynchronous.
Declaration
public Task<ReconnectionState> ReconnectMeasurementToDeviceAsync()
Returns
Type | Description |
---|---|
Task<ReconnectionState> |
StopMeasurement()
Stops the measurement.
Declaration
public StopState StopMeasurement()
Returns
Type | Description |
---|---|
StopState |
StopMeasurementAsync()
Stops the measurement asynchronous.
Declaration
public Task<StopState> StopMeasurementAsync()
Returns
Type | Description |
---|---|
Task<StopState> |
UploadResultsFromDevice()
Uploads the results from the device.
Declaration
public UploadState UploadResultsFromDevice()
Returns
Type | Description |
---|---|
UploadState |
UploadResultsFromDeviceAsync()
Uploads the results from the device asynchronous.
Declaration
public Task<UploadState> UploadResultsFromDeviceAsync()
Returns
Type | Description |
---|---|
Task<UploadState> |
Events
ExecutionProgressUpdate
Occurs on every measurement progress update.
Declaration
public event FrequencySweepEventDelegates.ExecutionProgressUpdateDelegate ExecutionProgressUpdate
Event Type
Type | Description |
---|---|
FrequencySweepEventDelegates.ExecutionProgressUpdateDelegate |
NewFdsResultAvailable
Occurs when a new FDS result is available.
Declaration
public event FrequencySweepEventDelegates.NewFdsResultAvailableDelegate NewFdsResultAvailable
Event Type
Type | Description |
---|---|
FrequencySweepEventDelegates.NewFdsResultAvailableDelegate |
NewPdcResultAvailable
Occurs when a new PDC result is available.
Declaration
public event FrequencySweepEventDelegates.NewPdcResultAvailableDelegate NewPdcResultAvailable
Event Type
Type | Description |
---|---|
FrequencySweepEventDelegates.NewPdcResultAvailableDelegate |