04-02-2020 05:38 AM
Hi,
If I have around 100 files. Every file is an array in 1 D contains 1 column with 1000 lines (numbers).
I want to copy the contents of these 100 files and paste them in only one file. I want the new file also array 1D.
If I do it manually, it will copy the input files contents and paste it in the new file.txt one by one Down each other.
i tried to do something like the attached but till not give the expected results.
Solved! Go to Solution.
04-02-2020 06:04 AM - edited 04-02-2020 06:06 AM
Hi Baja,
@BaJa_2020 wrote:
I want to copy the contents of these 100 files and paste them in only one file. I want the new file also array 1D.
Simplified your VI:
Why do you work with 2D arrays in the loop when you need just 1D arrays?
(When you need to know the name of a function you should have the context help window open. No need to clutter a block diagram just to show the name of each and every function…)
04-02-2020 06:30 AM - edited 04-02-2020 06:30 AM
Do you have an example file you could share? Why not just read the entire file as a string and just write that to the new file?
04-02-2020 06:36 AM - edited 04-02-2020 06:59 AM
this is example of the input files
04-02-2020 06:45 AM
Hi Baja,
@BaJa_2020 wrote:
this is example of the input files
Where?
(Please ZIP files before attaching.)
04-02-2020 06:58 AM
Any way your way is working, I accept it as solution,, Thank you