LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Incrementing index number of row

Solved!
Go to solution
Hi. I am using Report Generation and I wanted to insert data into a new row each time the time loop is completed, but i dont know how to do it. I was thinking in increasing the row number, because what happens is that when the vi runs, it puts the new data in the 1,0 cell, and that makes that the first data acquired goes to the last cell of the column, so at the time that i plot it, the graph is backwards. Here in the pic you can see that the vi shows how the correct graph is, and the excel graph shows it backwards. And that is beacuse the row inserted is going on 1,0. I need it to go like 2,0 .. 3,0 .. 4,0 and so on. Any suggestions would be wonderful!
0 Kudos
Message 1 of 5
(3,193 Views)

Are you wanting your VI to do this?

 

 

 

Message 2 of 5
(3,172 Views)

Bundle by name and replace the row index from your cluster with the loop index+1.

You can also use the excel specific function 'get last row', but I have not tested this.

 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 5
(3,170 Views)
Solution
Accepted by topic author jszarra
Message 4 of 5
(3,165 Views)
Thanks zenthoef! That was exactly what I needed! I knew it was possible to do it, just that I dont know too much about LabView. Wich I could learn some more, there are so many basic things I dont know. I also wanted to make a plot like the classic waveforms, just that instead of a waveform, I want the graph to show only the points of the values measured. Well, thanks mate!
0 Kudos
Message 5 of 5
(3,119 Views)