07-30-2015 03:23 PM - edited 07-30-2015 03:25 PM
Hi all,
I am working on a VI that takes column data from mutliple .txt files and concatenates them into a 2D array with two columns each with 20000+ elements. Numbers in the frist column run, say 1-200 and then repeat themselves. I would like to plot the first 200 X,Z pairs at Y=1, the next 200 pairs at Y=2, and so on. If that wasn't clear, my 2d array looks something like this
1 2
2 4
. .
. .
200 7
1 5
2 9
. .
So I would like to plot these sets of 200 XZ pairs at a y-interval of 1. Each set of 200 is measured (X is constant but Z is measured) once every second, so plotting at a y-intterval of 1 would create the timscale I want. I just don't have an array of time data and am hoping to bypass creating one.
The way the VI is running now, it plots 11 distinct peaks when viewing the XZ plane. It should show one peak in the XZ plane, extended 11 units in the y-direction. I think the problem is due to not wiring a y-array to the Plot Helper node, but I don't see a way of getting around this.
Thanks,
M
Edit: I am using LabView 2011
07-30-2015 06:11 PM - edited 07-30-2015 06:13 PM