LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array -> Excel (CSV), but dont overwrite the existing values

Solved!
Go to solution

Hey!

 

i have a new question.

i've created an array which i wrote into an csv file (just 1,2,3...9).

 

now i've created a second array which i want to write in a copy of the first csv file (not the original one).

but i dont want to overwrite the first numbers. i dont care if they are in the same gap or in a new one.

 

how can i do this?

i have no clue. sorry for this stupid question. 😞

Download All
0 Kudos
Message 1 of 6
(1,698 Views)
Solution
Accepted by topic author kalle69

There's an input for "Append to file"

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 2 of 6
(1,691 Views)
Solution
Accepted by topic author kalle69

Yes, there is an append to file input., wire a true to it. (You also need to decide if the first write should start a new file)

So why do you have two path controls if everything should go to one file?

You probably want some data dependency to ensure which part is written first (currently there is no guarantee which part writes first).

 


@kalle69 wrote:

i dont care if they are in the same gap or in a new one.


What's a "gap"? Do you want columns or rows? How should the data be arranged?

Message 3 of 6
(1,679 Views)

thank you! my bad english was the biggest problem here.

i didnt knew what "append" means so i didnt even tried it...

0 Kudos
Message 4 of 6
(1,665 Views)

thank you altenbach.

as i wrote, i didnt knew what "append" means. my english is not very good.

 

why i have two paths?

we are currently trying labview in technical school so my teacher gave us some tasks to try out the functions of labview and how things work.

 

and with "gap" i tried to translate (thanks google):"cell". (the cells from excel).

0 Kudos
Message 5 of 6
(1,655 Views)

Currently, each write operation will write a row. You can transpose if you want all data appended as one long column.

Message 6 of 6
(1,602 Views)