The difference between timing functions in LabVIEW

Source: Internet
Author: User

First timer function (time delay): Inserts a time delay in VI, specifying the number of seconds to delay before running call VI. The default value is 1.000.

First timer function (Wait (MS)): waits for a specified length of milliseconds and returns the value of the millisecond timer. The function makes an asynchronous system call, but the function node is synchronous. Therefore, until the specified time is over, the function stops executing, and when LabVIEW calls VI, such as a millisecond time value of 112 milliseconds and a waiting period (milliseconds) of 10 milliseconds, the VI execution ends when the millisecond timer value is 122 milliseconds.

Waits until the value of the millisecond timer is an integer multiple of the specified value in milliseconds . This function is used to synchronize each operation. Call this function in a loop to control the rate at which the loop executes. However, the first cycle time may be short.

For example, LabVIEW calls a VI, such as a millisecond multiplier of 10 milliseconds, and a millisecond timer value of 112 milliseconds. VI waits 8 milliseconds until the millisecond time value is an integer multiple of 10 milliseconds, or 120 milliseconds to stop execution.

The difference between timing functions in LabVIEW

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.