Table of Contents

Class HighVoltageTest

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

Represents functions for an high voltage test.

public class HighVoltageTest : TestBase<HighVoltageTestConfiguration, HighVoltageTestResult>, INotifyPropertyChangedEx, INotifyPropertyChanged
Inheritance
PropertyChangedBase
HighVoltageTest
Implements
INotifyPropertyChangedEx
Inherited Members
PropertyChangedBase.Refresh()
PropertyChangedBase.IsNotifying
PropertyChangedBase.PropertyChanged

Methods

Configure(HighVoltageTestConfiguration)

Configures the high voltage test.

public override void Configure(HighVoltageTestConfiguration configuration)

Parameters

configuration HighVoltageTestConfiguration

Configuration for high voltage test.

Exceptions

ArgumentNullException

Thrown when configuration is null.

NotInitializedException

Thrown when InitializationState is not Initialized.

Run(CancellationToken)

Runs a high voltage test.

public override HighVoltageTestResult Run(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Cancellation token to cancel the method.

Returns

HighVoltageTestResult

High voltage 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.