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

DCPowerSequenceEngineDoneEventWaitForEvent Method
Waits until the device has generated the specified event.
The session monitors whether each type of event has occurred at least once 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 method to complete, in seconds. If the method does not complete within this time interval, NIDCPower returns an error.
Remarks
![]() |
---|
This method must only be called 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. |