Class RecorderImplementation
Implementation for single tests.
Inheritance
Implements
Namespace: OmicronLab.MaterialAnalyzer.AutomationInterface
Assembly: OmicronLab.MaterialAnalyzer.AutomationInterface.dll (1.60.627.0)
Syntax
public class RecorderImplementation : Recorder, ITestCell, IStoppableMeasurement, IDisposable
Constructors
RecorderImplementation(Spectano100)
Initializes a new instance of the RecorderImplementation class.
Declaration
public RecorderImplementation(Spectano100 device)
Parameters
| Type | Name | Description |
|---|---|---|
| Spectano100 | device | The spectano device. |
Properties
CurrentRecorderStatus
Gets the current recorder status.
Declaration
public RecorderState CurrentRecorderStatus { get; }
Property Value
| Type | Description |
|---|---|
| RecorderState | The current recorder status. |
IsRunning
Gets a value indicating whether this instance is running.
Declaration
public bool IsRunning { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
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
ApplyContinuousWaveSettings(Double, Double)
Applies the continuous wave settings.
Declaration
public ApplyState ApplyContinuousWaveSettings(double frequency, double amplitude)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | frequency | The frequency. |
| System.Double | amplitude | The amplitude. |
Returns
| Type | Description |
|---|---|
| ApplyState |
ApplyDepolarizationCurrentSettings()
Applies the depolarization current settings.
Declaration
public ApplyState ApplyDepolarizationCurrentSettings()
Returns
| Type | Description |
|---|---|
| ApplyState |
Remarks
During the first approx. 20 seconds no results will be available because an internal device calibration will be performed.
ApplyPolarizationCurrentSettings(Double)
Applies the polarization current settings.
Declaration
public ApplyState ApplyPolarizationCurrentSettings(double amplitude)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | amplitude | The amplitude. |
Returns
| Type | Description |
|---|---|
| ApplyState |
Remarks
During the first approx. 20 seconds no results will be available because an internal device calibration will be performed.
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 |
|
Finalize()
Finalizes an instance of the RecorderImplementation class.
Declaration
protected void Finalize()
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> |
StopRecording()
Stops the recording.
Declaration
public StopState StopRecording()
Returns
| Type | Description |
|---|---|
| StopState |
StopRecordingAsync()
Stops the recording asynchronous.
Declaration
public Task<StopState> StopRecordingAsync()
Returns
| Type | Description |
|---|---|
| Task<StopState> |
Remarks
This function is not visible via COM.
Events
FdsResultAvailable
Occurs when a new tan delta result is available.
Declaration
public event RecorderEventDelegates.FdsResultAvailableDelegate FdsResultAvailable
Event Type
| Type | Description |
|---|---|
| RecorderEventDelegates.FdsResultAvailableDelegate |
PdcResultAvailable
Occurs when a PDC result is available.
Declaration
public event RecorderEventDelegates.PdcResultAvailableDelegate PdcResultAvailable
Event Type
| Type | Description |
|---|---|
| RecorderEventDelegates.PdcResultAvailableDelegate |
RecorderStatusChanged
Occurs when the recorder status changed.
Declaration
public event RecorderEventDelegates.RecorderStatusChangedDelegate RecorderStatusChanged
Event Type
| Type | Description |
|---|---|
| RecorderEventDelegates.RecorderStatusChangedDelegate |