LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to achieve this in waveform-chart?

I do use waveform chart in which 3 waveforms are stacked. My x-axis represent current time and y axis is a some quantity...Please look at the picture attached....is it possible to do this in waveform chart? Whenever mouse/cursor is on waveform it should display y-axis value corresponding to that point.......rediff-chart.png
0 Kudos
Message 1 of 6
(2,527 Views)

Hi msd,

 

use cursors and enable the cursor display...

 

And inline a smaller picture next time!

Message Edited by GerdW on 06-02-2010 09:08 AM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 6
(2,509 Views)

How to add this in waveform chart? I could not find that in chart...

0 Kudos
Message 3 of 6
(2,500 Views)

Hi msd,

 

so you may use a graph instead...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,498 Views)

Hey GerdW,

 

So far I know to display a subset of a larger set of data using cursor.. but no idea how to display the moving cursor Y value as per your suggestion.. I m using property node to get active plot information of X and Y scale and then .. formula i m using ..

 

Conv_X = (XScl_Max - XScl_Min)/PlotArea_Width;
Conv_Y = (YScl_Max - YScl_Min)/PlotArea_Height;

Graph_X = XScl_Min + Conv_X * (Mouse_X - (YScl_Left + YScl_Width));
Graph_Y = YScl_Max - Conv_Y * (Mouse_Y - (XScl_Top - PlotArea_Height));

 

inside formula node .... using above values I get the moving cursor value of Y scale.. as asked by thread author in starting ..

 

If there is some short way then i will like to learn it ..

 

Regards

HS

 

0 Kudos
Message 5 of 6
(2,471 Views)

Hi HS,

 

do you use 2 different logins? Smiley Wink

 

If you would enable/show the cursor palette of the graph you would actually see those values instantly...

 

When you want to calc with them you can use the properties of the cursor to get the x- and y-value! No calculation of graph size and so on needed...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,466 Views)