LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disappearing tolerance lines on xy chart

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!

Message Edited by JWT on 02-03-2009 08:18 AM
0 Kudos
Message 1 of 6
(3,436 Views)

I attached a video and photos.

Download All
0 Kudos
Message 2 of 6
(3,428 Views)

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.

0 Kudos
Message 3 of 6
(3,394 Views)
I used the "Limit testing for Unevenly Sampled Data Measurement example VI (LV 8.6), then modified it a little. I have attached mine. I put an indicator in the for loop after the vi. It looks like the first cluster is ok, but the other clusters have "NaN" for the Y value. I am not familiar with that value. I changed the iteration to 1. The data on the purple wire is three sets of xy coordinates.
0 Kudos
Message 4 of 6
(3,383 Views)

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.

0 Kudos
Message 5 of 6
(3,376 Views)

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.

0 Kudos
Message 6 of 6
(3,363 Views)