GeneratePulse(TimeSpan)
- Updated2025-01-08
- 1 minute(s) read
Generates the pulse configured with ConfigurePulse method.
Syntax
Namespace: NationalInstruments.ECUTS.Pulser
public void GeneratePulse(TimeSpan timeout)
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 |
|---|---|---|
| timeout | TimeSpan | Specifies the wait time for a pulse to generate. |
Exceptions
| Type | Description |
|---|---|
| PulserSessionException | Thrown when one of the following error conditions occurs:
|