etime (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

»查看产品信息
下载帮助
(仅限Windows)

Owning Class: timing

Requires: MathScript RT Module

Syntax

e = etime(t1, t0)

Description

Returns an elapsed time in seconds.

Examples

Inputs

Name Description
t0 Specifies the beginning year, month, day, hour, minute, and second. t0 is a vector of 6 integers.
t1 Specifies the ending year, month, day, hour, minute, and second. t1 is a vector.

Outputs

Name Description
e Returns the elapsed time, in seconds, between t0 and t1.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

E = etime([2004, 10, 18, 0, 0, 0], [2003, 10, 18, 0, 0, 0])

Related Topics

clock
cputime
timerstart
timerstop

文章是否对您有帮助?

没有帮助