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.

The Pulser state transitions to Unconfigured after the pulse is generated if the following conditions are met:
  • 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

NameTypeDescription
timeoutInMillisecondsint

Specifies the amount of time in milliseconds to wait for a pulse to generate. This parameter is optional and defaults to 5000 ms.

Exceptions

TypeDescription
PulserSessionException

Thrown when one of the following error conditions occurs: