niDMM Configure Trigger

niDMM VIs

niDMM Configure Trigger

Configures the DMM trigger source and trigger delay.

niDMM Configure Trigger

cio.gif

instrument handle identifies a particular instrument session.

You obtain the instrument handle parameter from niDMM Initialize or niDMM Initialize With Options. The default is None.

cenum.gif

Trigger Source specifies the trigger source that initiates the acquisition.

NI-DMM sets the Trigger Source property to this value. NI-DMM configures the DMM to wait until niDMM Send Software Trigger is called before triggering the DMM.

cdbl.gif

Trigger Delay (sec) specifies the time the DMM waits after it has received a trigger before taking a measurement.

NI-DMM sets the Trigger Delay property to this value. By default, Trigger Delay is -1, which means the DMM waits an appropriate settling time before taking the measurement. On the NI 4060, if you set Trigger Delay to 0, the DMM does not settle before taking the measurement. The NI 4065 and NI 4070/4071/4072 use the value specified in Trigger Delay as additional settling time.

Note   When using the NI 4050, Trigger Delay must be set to auto delay (-1).
ccclst.gif

error in (no error) describes error conditions that occur before this VI runs. If an error occurred before this VI runs, the VI passes the error in value to error out. This VI runs normally only if no error occurs before this VI runs. If an error occurs while this VI runs, it continues and sets its own error status in error out. Use niDMM Error Message to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.

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.

ci32.gif

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

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.

iio.gif

instrument handle out returns a handle that you use to identify the instrument in all subsequent instrument driver VI calls.

icclst.gif

error out contains error information. If error in indicates that an error occurred before this VI ran, error out contains the same error information. Otherwise, it describes the error status that this VI produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.

ibool.gif

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

ii32.gif

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

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. The default is an empty string.