04-17-2024 02:27 PM
Hi guys,
I have two different two dimensional array which I would like to write into two csv files in the same folder but with different names given by the user.
I can create the csv file but those different two dimensional arrays are getting merged in the same csv file. I would like to seperate them into two files.
The file creation is triggered by a event structure with a mouse click on an ok button.
Moreover, I would like to create new files rather than appending the array in a single file multiple times, if an user trigger the event structure multiple times.
Would anyone shead some light on this topic?
Thanks in advance.
04-17-2024 03:17 PM
04-17-2024 04:31 PM
Remember that in LabVIEW, data travels through Wires. Make one 2D Array travel through one Wire, send it to "Write Delimited Spreadsheet" with filename "Array 1.csv". Make the second 2D Array travel through a different Wire, send it to another "Write Delimited Spreadsheet" using a different Filename, say "Array 2.csv". You will have two files, each with a different 2D Array.
Bob Schor
P.S. -- if you attached your code (preferably using Save for Previous and specifying LabVIEW 2019 or 2021, I might be able to pinpoint the problem ...