To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example is a functional global variable (FGV) within a loop that is called only once. Each time user call the subVI, user can input a enum state in order to start the timer, get the elapsed time.
Description
This example can use as subvi to get the time elapsed.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Block Diagram
**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.
Bonus tip: you can use this vi as a sub vi in a custom error line probe. Makes it super easy to place and remove.