Class HighVoltageTest
- Namespace
- Loehnert.Lisrt.HighVoltageTester.Etl
- Assembly
- Loehnert.Lisrt.HighVoltageTester.Etl.dll
Represents a high voltage test function.
public class HighVoltageTest : TestBase<HighVoltageTestConfiguration, HighVoltageTestResult>, INotifyPropertyChangedEx, INotifyPropertyChanged
- Inheritance
-
PropertyChangedBaseHighVoltageTest
- Implements
-
INotifyPropertyChangedEx
- Inherited Members
-
PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
Methods
Run(HighVoltageTestConfiguration, CancellationToken, int)
Runs a high voltage test.
public override HighVoltageTestResult Run(HighVoltageTestConfiguration configuration, CancellationToken cancellationToken, int startTimeoutInMS = 10000)
Parameters
configurationHighVoltageTestConfigurationConfiguration of the test.
cancellationTokenCancellationTokenCancellation token to cancel the method.
startTimeoutInMSintTimeout in milliseconds used to wait for test to start. This is relevant if the test is started by the test probe, for example. -1 disables the timeout.
Returns
- HighVoltageTestResult
High voltage measurement result data.
Exceptions
- NotInitializedException
Thrown when InitializationState is not Initialized.
- ArgumentNullException
Throw when
configurationis null.- TimeoutException
Thrown when the test does not start within
startTimeoutInMS
-or- the test is not finished within the configured timeout.