Table of Contents

Class InsulationTest

Namespace
Loehnert.Lisrt.HighVoltageTester.SpsElectronic
Assembly
Loehnert.Lisrt.HighVoltageTester.SpsElectronic.dll

Represents functions for testing insulation.

public class InsulationTest : TestBase<InsulationTestConfiguration, InsulationTestResult>, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
InsulationTest
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Methods

Configure(InsulationTestConfiguration)

Configures the insulation test.

public override void Configure(InsulationTestConfiguration configuration)

Parameters

configuration InsulationTestConfiguration

Configuration for insulation test.

Exceptions

ArgumentNullException

Thrown when configuration is null.

NotInitializedException

Thrown when InitializationState is not Initialized.

Run(CancellationToken)

Runs an insulation test.

public override InsulationTestResult Run(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation token to cancel the method.

Returns

InsulationTestResult

Insulation measurement result data.

Remarks

Check the CancellationReason property whether measurement was canceled.

Exceptions

NotInitializedException

Thrown when InitializationState is not Initialized.

OperationCanceledException

Thrown when the test is canceled by one of these reasons: HardwareError, NoGeneratorPowerOrShortCircuit, CanceledByRemoteControl, SafetyContactReleased, TemperatureError, or StopButton.