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.

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,125 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,092 Views)