LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulate 2D data to work with one line by one line

Solved!
Go to solution

Hello,

sorry for my little english

On my VI, i have on the output a data like that :

43.PNG

This come from a database.

I need to know if it's possible to take line by line to work on them?

i tried to use "array to spreadsheet string" with ";" to delimiter.

but now it's like that : 

Capture.PNG

but i need to inject into a while one line by one line.

how i am suppose to do please?

thx

i have put 2 codes : one with the data outpout, one with the "array to spreadsheet string" but in test.

thank's

Download All
0 Kudos
Message 1 of 4
(2,811 Views)

Using the autoindexing functionality of a for loop allows you to get line by line results, meaning you can manipulate the data row by row.

 

I would start with the for loop help file and/or search for autoindexing and LabVIEW

0 Kudos
Message 2 of 4
(2,796 Views)
Solution
Accepted by topic author siwalex

LabVIEW has a nice feature that allows you to work with one line (row) of data at a time.

Instead of using the array to spread sheet, wire the output of the database directly to the while loop. Right click on the box and select autoindexing.

 

image.png

 

You now have one row of data as an array.

 

image.png

 

Hope this helps

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
Message 3 of 4
(2,794 Views)

ok i'll test it thank's

0 Kudos
Message 4 of 4
(2,791 Views)