NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerOutputPulseCompleteEvent.WaitForEvent Method

  • Updated2024-01-04
  • 2 minute(s) read
DCPowerOutputPulseCompleteEvent.WaitForEvent Method

DCPowerOutputPulseCompleteEventWaitForEvent Method

Waits until the specified channel(s) have generated the PulseCompleteEvent. The session monitors whether each type of event has occurred at least once for the specified channel(s) since the last time this method or the Initiate method was called. If an event has only been generated once, and you call this method successively, the method times out. Individual events must be generated between separate calls of this method.

Namespace:  NationalInstruments.ModularInstruments.NIDCPower
Assembly:  NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023

Syntax

public void WaitForEvent(
	PrecisionTimeSpan timeout
)
Public Sub WaitForEvent ( 
	timeout As PrecisionTimeSpan
)

Parameters

timeout
Type: NationalInstrumentsPrecisionTimeSpan
Specifies the maximum time allowed for this function to complete, in seconds. If the function does not complete within this time interval, NI-DCPower returns an error.

Remarks

Note Note
This method must only be called when the specified channel(s) are in the Running state. Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for information about the specific NI-DCPower software states.

See Also

Log in to get a better experience