02-03-2009 08:09 AM - edited 02-03-2009 08:18 AM
I don't understand why my limit lines are disappearing on my xy chart. They should follow the green signal which starts from 0,0 up to 12,12, then back down to -12,-12, then back to 0,0. This is hard to see because the data points overlap. As soon as the limit lines reverse, they disappear. I am using part of an example code for tolerance checking. Any constructive criticism is welcome as I am trying to learn many aspects of LV. Thanks!
02-03-2009 08:24 AM
I attached a video and photos.
02-03-2009 10:32 AM
There is no way to tell, without seeing the code and the subVI. Who wrote it? Can you attach them?
Can you just place a normal cluster indicator next to the xy graph to see what data goes to the graph? What is the data structure of the purple wire?
Why do you limit the iterations to 5. SInce you are autoindexing, this should not be necessary.
02-03-2009 02:32 PM
02-03-2009 03:45 PM
NaN is "not a number". A lot of your code makes very little sense.
Can you put reasonable values in all the controls, then make all current values default, save the VI, and attach once more.
02-04-2009 05:48 AM
OK... before I try to make this example work for me, maybe I should start from scratch. This is a simple current vs flow chart. All I want to do is plot 2 xy lines (limit lines), then plot the actual xy line from my analog inputs. Once all three are plotted, show points that are out of tolerance. Sounds simple, but I what I end up with is...a lot of code that makes little sense. I will work on the new code and attach a copy of it in a post. Any suggestions will be helpful.