From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-24-2011 12:13 PM
Probably an easy question for the experienced users......( I am totaly new).
I have a bunch of large csv files and I have to plot particular columns (y-axis) vs time (x-axis).
The first column in the csv file is in timestamp which I `ve managed to convert to human readable time.
I have also managed to get rid of the headers because Labview includes them in the graphs. For example, it reads the label “Timestamp” as 0 and that converted to time shows 31 of December 1899. Considering the fact that this is my x-axis I got a graph with data starting 111 years back.
Now I have inserted new column (next to the timestamp using Insert Into Array Function) and my problem is to display the converted timestamp into the new column but I got stuck. If someone can help me with this problem the next step which is selecting particular columns to create multi-plot waveform graphs should be easy for a newbie like me (or not?)
Please, see the attached files and if you have any suggestions I will be more than happy to discuss them.
Thanks!
11-24-2011 05:23 PM
Here's a quick way, replacing the time column with the adjusted time column. probably needs a few tweaks.
11-25-2011 02:02 PM
Hello altenbach,
Thanks for the quick response but I am having hard time with this code.
Actually two problems have arisen.
Is there any way to use the timestamp array and bundle it with particular columns from a different array in the code (where I could pick columns from) in order to plot them? Maybe there isn`t but you are experienced user so I guess you will know.
Thanks for your time. I really appreciate your help.