04-14-2017 02:23 PM
Hi everyone
In a class I must graph the behavior of a Nikan MT-GN100 module (control module of a DC motor). The graphs I intended to get them from Labview (XY graph or Waveform graph), but when I get the data from a csv file I get this:
At first I thought it was the format of the XY graph, but even with a Waveform graph shows the same. I tried to change the format of the graphs, but it still shows a change of thickness after 1 second (1000 ms in the horizontal axis). I was expecting 4 lines, what am I doing wrong?
04-14-2017 03:13 PM
The graph and chart shows exactly what you have ordered. If you will zoom in the chart, you will see "oscillations":
This is result of array's reshaping. Not sure why you need this. If you just need to show each column of the csv file on separate curve on the graph - just use Index Array.
04-14-2017 03:15 PM
First of all, if you look at the data file, there are 5 columns of numbers, all going from 0 to 5 at various times. To me, this looks like 5 channels of data, possibly sampled at equal time intervals.
Assuming this was true, I wrote a one-function routine that produced the following Waveform Graph -- does this look more reasonable?Since you are doing this for a class, I'm not going to show you the one function that does this. However, I will give you two hints -- you know this function already, and if you read the Help carefully, you can avoid all the other functions in your VI.
Bob Schor