niDCPower Wait For Event VI

NI DC Power Supplies and SMUs Help (NI-DCPower)

Edition Date: January 2018

Part Number: 370736U-01

View Product Info

DOWNLOAD (Windows Only)


NI-DCPower (English | Japanese)
Installed With: NI-DCPower

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 VI or the niDCPower Initiate 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 in the Running state. Refer to the Programming States topic in the NI DC Power Supplies and SMUs Help for more information.
Note  Refer to Supported VIs by Device for information about supported devices.

niDCPower Wait For Event

/images/reference/en-XX/help/370736U-01/cio.gif

instrument handle identifies a particular instrument session. instrument handle is obtained from the niDCPower Initialize With Channels VI.

/images/reference/en-XX/help/370736U-01/ci32.gif

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.

/images/reference/en-XX/help/370736U-01/cdbl.gif

timeout (sec) 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.
/images/reference/en-XX/help/370736U-01/cerrcodeclst.gif

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

/images/reference/en-XX/help/370736U-01/cbool.gif

status is TRUE (X) if an error occurred before this VI ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI ran. The default is FALSE.

/images/reference/en-XX/help/370736U-01/ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370736U-01/cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning. The default is an empty string.

/images/reference/en-XX/help/370736U-01/iio.gif

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

/images/reference/en-XX/help/370736U-01/ierrcodeclst.gif

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

/images/reference/en-XX/help/370736U-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370736U-01/ii32.gif

code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370736U-01/istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI that produced the error or warning.

WAS THIS ARTICLE HELPFUL?

Not Helpful