To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This simple program allows a user to step through a predefined set of values in an array using a while loop. The array values are then sequentially available for any operations. This structure can also be used for simple custom profile creation.
Description:
The input array is populated with values of the users choosing which define the
Inside the while loop, the loop counter is used to index the array, and provides the value for further operations.
The stop condition for the loop is wired to the array size, and also the index number, so the loop stops when the count reaches the maximum dimension of the array.
A Wait timer is included as both good programming practice and to allow the execution to be watched.
Steps to implement or execute code
To implement this example:
To execute this example:
Requirements
Software
LabVIEW 2012 or compatible
Hardware
-
**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.