clock (MathScript RT Module Function)

LabVIEW 2012 MathScript RT模块帮助

版本日期:June 2012

产品编号:373123C-0118

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

Owning Class: time

Requires: MathScript RT Module

Syntax

c = clock

Description

Returns current date and time information.

Examples

Outputs

Name Description
c Returns the current year, month, day, hour, minute, and second. c is a vector of 6 numbers.

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

A = clock
for i = 1:1000 sqrt(pi);
end
B = clock
C = B-A

date_to_str(clock)

Related Topics

cputime
date_to_num
etime
now
timerstart
timerstop

文章是否对您有帮助?

没有帮助