Example Code

Check Time Functional Global Variable

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

 

Overview
This functional global variable is commonly used to verify the amount of elapsed time.


Description
The initial time in seconds is stored as a DBL datatype and subtracted from future times to get the net-time that has elapsed since reset.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Click run and view the results

 

Additional Information or References
VI Block Diagram

 block diagram.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

 

 

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.