LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[begginer] start button executing sub vi only once

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?

0 Kudos
Message 1 of 5
(2,760 Views)

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.

How to Learn LV

0 Kudos
Message 2 of 5
(2,749 Views)

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

0 Kudos
Message 3 of 5
(2,742 Views)

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?

0 Kudos
Message 4 of 5
(2,739 Views)

@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


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 5 of 5
(2,718 Views)