LabWindows/CVI

Content Type
Programming Language
Current manual

Delay

Delay

void Delay (double numberOfSeconds);

Purpose

Waits the number of seconds that numberOfSeconds indicates.

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

(Linux) The resolution on Linux is 1 millisecond.

Parameters

Input
Name Type Description
numberOfSeconds double Number of seconds to wait.

Return Value

None.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Examples

Refer to the following examples that use the Delay function:

  • networkstreams\cnsGUI.cws

    Open example
  • userint\GraphAnnotations.cws

    Open example
  • userint\splash.cws

    Open example
Was this information helpful?

Previous

Timer

Previous

Timer