ChargePulser(double, int)
- Updated2025-01-08
- 1 minute(s) read
Charges the Pulser to a specified voltage with a specified timeout in milliseconds.
Syntax
Namespace: NationalInstruments.ECUTS.Pulser
public void ChargePulser(double voltageInVolts=15, int timeoutInMilliseconds=5000)
Parameters
| Name | Type | Description |
|---|---|---|
| voltageInVolts | double | Specifies the voltage to which the Pulser is charged, in volts. This parameter is optional and defaults to 15 V. |
| timeoutInMilliseconds | int | Specifies the maximum wait time in milliseconds for the capacitor charging process to complete. This parameter is optional and defaults to 5000 ms. |
Exceptions
| Type | Description |
|---|---|
| PulserSessionException | Thrown when one of the following error conditions occurs:
|