Get Final Time Value VI

Owning Palette: Waveform VIs and Functions

Requires: Base Development System

Returns the ending time value of waveform in. The formula used is xf = x0 + duration of waveform in. Wire data to the waveform in input to determine the polymorphic instance to use or manually select the instance.

Example

Use the pull-down menu to select an instance of this VI.

 Add to the block diagram  Find on the palette

WDT Get Final Time Value DBL

open interval? defines the interval over which the input waveform extends. The default is TRUE, which selects an open interval. For example, assume an input waveform contains 3 data elements at t = {0, dt, 2dt}. An open interval defines the waveform as extending over the time interval 0 t < 2dt, and a closed interval defines the waveform as extending over the time interval 0 t < 3dt.
waveform in is the analog waveform for which you want to retrieve the final time value.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
waveform out returns waveform in unchanged.
tf is the time value when the final data value was acquired.
error out contains error information. This output provides standard error out functionality.

DWDT Get Final Time Value

open interval? defines the interval over which the input waveform extends. The default is TRUE, which selects an open interval. For example, assume an input waveform contains 3 data elements at t = {0, dt, 2dt}. An open interval defines the waveform as extending over the time interval 0 t < 2dt, and a closed interval defines the waveform as extending over the time interval 0 t < 3dt.
waveform in is the digital waveform for which you want to retrieve the final time value.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
waveform out returns waveform in unchanged.
tf is the time value when the final data value was acquired.
error out contains error information. This output provides standard error out functionality.

Example

Refer to the Waveform - Get Final Time and Duration VI in the labview\examples\Waveform directory for an example of using the Get Final Time Value VI.

 Open example  Find related examples