Asynchronously charges the Pulser to a specified voltage with a specified timeout.

Syntax

Namespace: NationalInstruments.ECUTS.Pulser

public async Task ChargePulserAsync(double voltageInVolts, TimeSpan timeout)

Parameters

NameTypeDescription
voltageInVoltsdouble

Specifies the voltage to which the Pulser is charged, in volts.

timeoutTimeSpan

Specifies the maximum wait time for the capacitor charging process to complete.

Returns

ChargePulserAsync(double,System.TimeSpan) returns a task that represents the asynchronous operation.

Exceptions

TypeDescription
PulserSessionException

Thrown when one of the following error conditions occurs: