From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

How to repeatedly iterate through an array of data, with timing at each element

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 example repeatedly iterates through a set of data, performing some operation at each element using timing before reading the next.


Description
A very quickly written peice of code which repeatedly iterates through a set of data, performing some operation at each element using timing before reading the next.


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Run the VI.

 

Additional Information or References
VI Block Diagram

 

5-519.png

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

 

 

Chris | Applications Engineer NIUK

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

Comments
jordankuehn
Member
Member
on

A For Loop with autoindexing makes much more sense here.

The Colex Group
Lead Software Engineer
Certified LabVIEW Developer