10-29-2012 12:59 PM
Hi,
I am a labview beginner. Here is a screen shot of the program. It provides real time feedback for a patient when walking of their foot position, random target (point changes with each step) and a reference point (constant). Right now, the three data points are grouped together in the same plot on the XY graph. In the graph properities, when I change the colour for Plot 0, the colour of all the points change. I have tried connecting the XY graph to the array built above, but a broken wire error occurs (connected 2 clusters with different contents).
Any help would be great! Thanks
Solved! Go to Solution.
10-29-2012 01:43 PM
Each color needs to be it's own plot.
Alternatively, you could map your data into an intensity graph, where x and y determine the coordinates and Z maps into a color scale, for example similar to this.
A picture is pretty useless for troubleshooting, so please, if you can, attach a simplified version of the actual VI. (It is impossible to logically navigate your diagram picture, because lots of code is hidden outside the image boundaries or inside other cases. Also, all dataflow is broken and it suffers from serious sequencitis, localitis, and globalitis ;))
10-29-2012 01:57 PM
Thanks. I was trying to change the plots in the properties, but it didn't work.
Here is the original version of the program (exactly the same but without the random number) without sub vi's. It was previously built by someone else and I'm trying to make a few changes.
10-29-2012 02:05 PM - edited 10-29-2012 02:06 PM
OK, looking at what you labeled "XZ graph"
XY graphs can take many kinds of data.
Arrays of XY point clusters, cluster of xy and Y arrays, complex arrays, etc.
You are creating three points (cluster of two scalars, x and y). Building them into an array will create a simgle plot with one color.
Here's what you could do, buth there are many other ways.
10-29-2012 02:13 PM - edited 10-29-2012 02:13 PM
@Awalk wrote:
Thanks. I was trying to change the plots in the properties, but it didn't work.
Here's what you can do with very minor changes. It is basically the same as in my earlier example.
10-29-2012 02:20 PM
Or course since you are already using the "plot images" overlay feature, you could just draw your data as circles using the same. 😉
10-29-2012 02:50 PM
Thank so much, its works! I tip my hat to you 🙂