04-24-2017 05:41 PM
Dear Friends,
I have for loop which is connected to an array and thanks to auto indexing I expect to execute it for the size of array and it only executes once.
Attached is my VI and wondering how can I run it more
what makes it stop?
04-24-2017 05:59 PM - last edited on 10-16-2024 04:27 PM by Content Cleaner
Please solve 1 problem before starting to work on another.
All 3 of your threads look like you are trying to apply the same overly complicated code to solve different problems
The problem is that you have not save any data your controls. You start out with an empty 1-D array. It has zero elements. Then you build that into a 2-d array. That gives you 1 row which is why your For Loop auto-index once. But in reality, you have a 1 x 0 element array.
It seems like you still need to take some tutorials on LabVIEW.
04-24-2017 06:08 PM
I really appreciate your comment and link, but I think it would be better to give some hint to help me to get the solutions
04-24-2017 06:12 PM
I got your point now, I made 2d array with only one element, do you know any example that I can go through and learn auto indexing of array using for loop?
04-24-2017 06:59 PM
@arvin1947 wrote:
I do you know any example that I can go through and learn auto indexing of array using for loop?
Take your pick
3 Hour Introduction
6 Hour Introduction
LabVEW Basics
Self Paced training for students
Self Paced training beginner to advanced, SSP Required
LabVIEW Wiki on Training
Learning NI
Getting Started with NI Products