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

Syntax

Namespace: NationalInstruments.ECUTS.Pulser

public async Task ChargePulserAsync(double voltageInVolts=15, int timeoutInMilliseconds=5000)

Remarks

This method may throw a PulserSessionException with one of the following error codes:

Parameters

NameTypeDescription
voltageInVoltsdouble

Specifies the voltage to which the Pulser is charged, in volts. This parameter is optional and defaults to 15 V.

timeoutInMillisecondsint

Specifies the maximum wait time in milliseconds for the capacitor charging process to complete. This parameter is optional and defaults to 5000 ms.

Returns

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