GeneratePulse(int)
- Updated2025-01-08
- 1 minute(s) read
Generates the pulse configured with ConfigurePulse method.
Syntax
Namespace: NationalInstruments.ECUTS.Pulser
public void GeneratePulse(int timeoutInMilliseconds=5_000)
Remarks
The Pulser state transitions to Configured after the pulse is generated if the following conditions are met:
This is method is called when no input channels have been created.
The Pulser remains fully charged.
This method is called when no input channels have been created.
The Pulser is no longer fully charged.
The Pulser state transitions to Running after the pulse is generated if there is at least one input channel configured before calling this method. You can call the StopDataAcquisition method to change the Pulser state to Configured or Unconfigured.
Parameters
| Name | Type | Description |
|---|---|---|
| timeoutInMilliseconds | int | Specifies the amount of time in milliseconds to wait for a pulse to generate. This parameter is optional and defaults to 5000 ms. |
Exceptions
| Type | Description |
|---|---|
| PulserSessionException | Thrown when one of the following error conditions occurs:
|