LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph

Hello,

 

I want to know how to fix a point in y-axis to get the corresponding x-axis value. For example when the y-axis value in graph reaches 50 i should get x-axis value and i want to display the same in the plot area.

 

Thanks in advance

0 Kudos
Message 1 of 7
(3,241 Views)

Hi kaush

It's not clear from your question what you're trying to achieve. Do you want to be able to detect when a plot line reaches a y-axis threshold level, for example the value 50, and report the current x-axis value when that occurs?

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 7
(3,218 Views)

Hi Thoric,

 

Yes i want to do the same. And also i want to display the same value inside the plot without any cursors

0 Kudos
Message 3 of 7
(3,195 Views)
Are you using a graph or a chart? Unless you have your own rolling buffer, the question doesn't make much sense with a graph since the data would be static. If you're using a chart, then you must be writing to the chart so you already know when the value exceeds some point, so you can simply update an indicator with the X value. As far as showing this on the chart, you can use annotations. TCheck the example, as there should be some dealing with annotations. Some have also been posted on this forum.
0 Kudos
Message 4 of 7
(3,184 Views)
Please see the image. I want to do something like that. Please guide me.
0 Kudos
Message 5 of 7
(3,180 Views)

It's clear that graph didn't come from LabVIEW. However, it would be quite easy to reproduce it. What parts are you having trouble with? Have you at least gotten the two curves on the graph? The points can be added by either adding another plot to the graph which consists of just those points. If you use an XY graph then you just need to have those points. If you use a waveform graph then you will need to use NaN as filler values between the points. The text can be added using annotations. You could also use the plot images to simply draw directly on the graph.

 

You should start by first putting the two curves on the graph. Where is the data coming from? Do you know how to make graphs? If not, take a look at the examples that ship with LabVIEW.

0 Kudos
Message 6 of 7
(3,148 Views)

---------------------------------------------------------------------------------

The points can be added by either adding another plot to the graph which consists of just those points. If you use an XY graph then you just need to have those points.

---------------------------------------------------------------------------------

 

I can plot two graphs. Please see the attached VI.  I will try to add the points today.

 

-------------------------------------------------------------------------------

It's clear that graph didn't come from LabVIEW.

------------------------------------------------------------------------------

The graph is generated using Labview

 

I am getting data from LVDT.

0 Kudos
Message 7 of 7
(3,116 Views)