ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding lines on front panel

I was wondering how to add lines to my front panel of my Labview Program. Here is my front panel along with the lines that I want to put on the front panel of my vi

0 Kudos
Message 1 of 10
(4,172 Views)

Are you saying that you want to graph some lines?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 10
(4,161 Views)

I have my VI going to an excel file where I can graph some lines but on the Front Panel I was wanting to add some graph lines where I would now exactly where my points where before I graph it in excel

0 Kudos
Message 3 of 10
(4,149 Views)

I have my VI going to an excel file where I can graph some lines but on the Front Panel I was wanting to add some graph lines where I would now exactly where my points where before I graph it in excel

0 Kudos
Message 4 of 10
(4,149 Views)

Pretty vague.  Read the help for graphs so you can format your data into something the graph will like.  I think we could help you a lot more if you show us some code.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 10
(4,140 Views)

Here is my code

0 Kudos
Message 6 of 10
(4,134 Views)

The purpose of the graph on the front panel is to show this?  It looks like you are graphing data...

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 10
(4,121 Views)

Yes Im graphing data but I wanted to set lines on the front panel of the VI. So  when one runs the program they can see if the data stays within the specified lines.  I

0 Kudos
Message 8 of 10
(4,116 Views)

Hello word 505,

 

If I understand your question correctly, you need to add reference lines to the graph itself, rather than plotting data- is that what you're looking for?

 

If that is the case, you can change the appearance of the background grid by right-clicking on the graph and going to Properties>>Scales>>Grid Style and Colors.  You can adjust the color and spacing of the X- and Y-axis major and minor grids here, the example you provided has them set to transparent/invisible.

 

Untitled.png

Tom L.
Message 9 of 10
(4,103 Views)

Ahhh, limit lines!  Here's a search on limit lines.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 10 of 10
(4,102 Views)