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.
09-10-2009 09:23 AM
Need to graph three lines.
X vs Y curve
X+1 vs Y+1 upper limit curve
X-1 vs Y-1 lower limit curve
Attempt attached, but I always get broken wire when trying to complete.
Looked at many examples here, but cannot seem to find fix.
Solved! Go to Solution.
09-10-2009 09:40 AM
09-10-2009 09:55 AM
To plot one array versus another, you need to use an XY Graph - not a waveform graph.
If you go to the block diagram with context help turned on and move your mouse over the XY Graph terminal, you will see how to correctly format data to pass to an XY Graph. You should be using a bundle instead of a build array for each plot and then a build array to get all three plots onto a single graph.
09-10-2009 09:55 AM
Thank you, however I do need all three to be overlayed on same grid.
But even overlay chart results in broken wire when I attemp to connect.
09-10-2009 10:02 AM
DN, tried that, and still get broken wire going to graph.
Will keep trying different formating approaches.
09-10-2009 10:15 AM
I have no problem with broken wires.
.
09-10-2009 12:27 PM
Thank you. I had to delete the bundles and arrays that I had, then replace them in order to get the wires solid.
The bundles feeding the array feeding the graph gets me a plot, and good progress.
However, I still need to get the graph to essentially show three curves together.
The upper and lower limit curves with the main curve, need to result in three parallel curves.
Right now it is building out from zero in both directions for some reason.
I will look at While Loop and consider changin format of data feed to graph.