Hello @,
the vi is rather simple:
It uses "Read lines from file" from the file palette. First it reads the header (12 lines), then in a while loop one line after the other. These single lines are converted to numbers by "Scan from string" using the formatstring "%d %f %f %f" as you have 4 numbers per line (decimal index and 3 float numbers). By using autoindexing these numbers are collected in arrays and then displayed in a graph.
About stacking:
I had to look for this right now, as I forgot how to do this...
You have to use a waveform chart. Then switch plot stacking on. Then set the plot legend to show the number of plot you want to stack. Et voila...
In short: the number of entries in the plot legend equals the number of stacked plots in the chart.
Best regards,
GerdW
Best regards,
GerdW
using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019