LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Preplot lines on XY chart

Solved!
Go to solution

Hello there,

 

Can anybody tell me how to program for predefine preplot lines which are shown in attachment.  Such as top line is upper limit and bottom line is lower limit.  And middle line is actual data which being plot. So, the top and bottom line stays there.  I have attached couple of screen shots and code that does that.  But whatever reason, it would disappear the top and bottom line in program.  Thanks in advance.

Download All
0 Kudos
Message 1 of 2
(2,127 Views)
Solution
Accepted by topic author Amit4

Hi Amit4,

 

It is hard to tell from the example VI that you provided but I believe that the problem you are experiencing is because you have the upper and lower limits set as the default values.  Every time that you write data to the graph they are being overwritten.  To avoid this you should be wiring the upper and lower limits to the graph every time that you wire it new data, this way you will also be writing those limits.  Hope this helps!

 

Regards,

Kira T

0 Kudos
Message 2 of 2
(2,094 Views)