Example Programs

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple While Loop Counter Using LabVIEW

 

Overview
This VI is an example of how you can implement a counter using a while loop.

 
Description
The count value will either increase or decreases (based on selected enum control) its value each loop iteration. The count value will continue to increase or decreases unless the user resets the count, changes count direction, or stop the VI.

 
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the example
  2. Open the example in LabVIEW
  3. Examine the block diagram
  4. Run the example VI

 

Additional Information or References
VI Block Diagram

1.png 

 

 

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

 

Matthew R.
Field Applications & Systems Engineer
National Instruments

Certified-LabVIEW-Developer_rgb.jpg

Certified-TestStand-Developer_rgb.jpg