LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

my vi is writing just the same data into spreadsheet even after changing the loop iteration time. hw can I change this mode ?

My VI is writing the same amount of data into spreadsheet file even after changing the for-loop iteration time
0 Kudos
Message 1 of 12
(2,764 Views)

Could you futher clearify? How is the loop iteration time affecting your data? Please post vi or .jpeg of it at least.

0 Kudos
Message 2 of 12
(2,757 Views)
I have 2 as the number of times the vi should run, it actually write data into spread sheet. But after changing the 2 to 4, ( making the for loop to run 4 times), it writes the same data the 2 times wrote into spread sheet. I have attached the vi
0 Kudos
Message 3 of 12
(2,738 Views)
...I have also attached the spread sheet file. The vi is writing the same data into spread sheet, regardless of the number of loop iteration.
0 Kudos
Message 4 of 12
(2,734 Views)
I have also attached the spread sheet file. The vi is writing the same data into spread sheet, regardless of the number of loop iteration.
0 Kudos
Message 5 of 12
(2,728 Views)

Your attachments are not making it through.

 

Instead of waiting to see the code, let me blindly guess that you have an autoindexed array input to the Loop which is two elements long so the loop spins twice regardless of what you wire to N (unless you wire 1 or 0).

0 Kudos
Message 6 of 12
(2,724 Views)
That could be the problem. Anyway,I have been struggling with this issue for quite a while now.I can attach and resend the vi to an email address if you could provide one or make print screen, so that you could have a close look at it. If that is the road map the solution of the issue.
0 Kudos
Message 7 of 12
(2,717 Views)

You should post the VI (with appropriate values saved as default) to this thread.  (At least a JPEG or PNG screenshot).

 

Inside the For Loop, right-click on the N terminal and create Indicator.  Run the VI and you will see how many times the Loop spins.

 

Further guessing:  You may have a 2D array with two rows and many columns feeding the For Loop.

0 Kudos
Message 8 of 12
(2,712 Views)
I just don't know what else to do
0 Kudos
Message 10 of 12
(2,687 Views)