Waits until the specified channel(s) have generated the specified event.

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

Note This VI should only be called when the specified channel(s) are in the Running state.
Note Refer to Supported VIs by Device for information about supported devices.

Related topics:

Programming States


icon

Inputs/Outputs

  • cdbl.png timeout (10.0)

    timeout (10.0) specifies the maximum time allowed for this VI to complete, in seconds. If the VI does not complete within this time interval, NI-DCPower returns an error.

    Note When setting the timeout interval, ensure you take into account any triggers so that the timeout interval is long enough for your application.
  • civrn.png instrument handle

    instrument handle identifies a particular instrument session.

  • cstr.png channel name

    channel name specifies the channel(s) to use. Specify the channel(s) using the form PXI1Slot3/0,PXI1Slot3/2-3,PXI1Slot4/2-3 or PXI1Slot3/0,PXI1Slot3/2:3,PXI1Slot4/2:3, where PXI1Slot3 and PXI1Slot4 are instrument resource names and 0, 2, and 3 are channels.

    If you do not wire this parameter, all channels in the session are used.

  • ci32.png event

    event specifies which event to wait for.

    Source Complete Event (1030)

    Waits for the Source Complete event.

    Measure Complete Event (1031)

    Waits for the Measure Complete event.

    Sequence Iteration Complete Event (1032)

    Waits for the Sequence Iteration Complete event.

    Sequence Engine Done Event (1033)

    Waits for the Sequence Engine Done event.

    Pulse Complete Event (1051)

    Waits for the Pulse Complete event.

    Ready for Pulse Trigger Event (1052)

    Waits for the Ready for Pulse Trigger event.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.