08-20-2023 05:23 AM - edited 08-20-2023 05:24 AM
hi all,
i'm learning labview recently 2week :((
This problem stuck with me for a long.
i have a lot of csv files, and i want to combine these data into an excel .
how can i improve or some samples could give me reference.
regard.
Solved! Go to Solution.
08-20-2023 06:02 AM
Bob Schor
08-20-2023 10:06 AM - edited 08-20-2023 10:08 AM
I cannot read your diagram comments (unicode?), but all you probably need to do is use an array of paths and a FOR loop to read them all. Of course you also need to decide how to combine them (e.g. append rows or columns, etc.), before writing the excel file.
Is your current example working correctly? You can use "list folder" with a pattern of *.csv to create an array of all file names, then follow the suggestion above.
To keep code organized, never name a vi "untitled x.vi". Always give a unique name that describes the function.
08-20-2023 10:23 AM - edited 08-20-2023 10:27 AM
Asking specific questions in a technical forum and getting a simple example back is an excellent way to learn LabVIEW. Feel free to ask again whenever you get stuck!
Here's a very simple draft of how it could be done. Study it well, then expand* to suit your needs.
*examples