08-19-2021 06:14 AM
Hi all.
So my issue is, that I want to make a .csv file with some recorded values, and I need to place a timestamp with date and time in it as well.
1) So my input 2D array which looks like this:
2) And my output array looks like this:
I am not sure if the approach is correct, but anyway you can try to see the .vi files.
So what I want is basically this result:
Because from there, I would like to generate the final .csv file like this:
08-19-2021 06:30 AM - edited 08-19-2021 06:31 AM
08-19-2021 06:44 AM
@GerdW wrote:
Hi Christian,
using InsertIntoArray almost always is the wrong tool…
See this:
Use BuildArray to build an array - or ReplaceArraySubset to replace elements in a predefined array…
Thanks a lot, that was very simple... However there is just the last small details.
With this one, we are overwriting the header.
So I would like to get the output 2D array like this:
Any good idea to get that aligned? 🙂
08-19-2021 06:46 AM
08-19-2021 06:53 AM
Ahh, so just like this? 🙂
08-19-2021 10:23 AM
@ChristianLiinHansen wrote:
Ahh, so just like this? 🙂
I'd just use a Build array and add it in front, but yes.