Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Timer

LabWindows/CVI 8.5 Help
November 2007

NI Part Number:
370051K-01

»View Product Info

double Timer (void);

Purpose

Returns the number of seconds elapsed since the first call to Timer, Delay, or SyncWait, or the first operation on a timer control.

The value is never reset to zero except when you restart the program.

The resolution is normally 1 millisecond. However, if you set the useDefaultTimer configuration option to True, the resolution is 55 milliseconds.

Linux The resolution is 1 millisecond.

Parameters

None.

Return Value

Name Type Description
numSeconds double-precision Number of seconds since the first call to Timer or the first operation on a timer control.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit