LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph measurements

Solved!
Go to solution

Here I created a cursor point to locate the 40% of the maximum y value. Then for the relevant y value there so many x values. So I want to select 1st x value (which reach the particular y value initially). That is the x value which indicated using red color arrow in the screenshot.

 

Is it ok to lock the horizontal line in the particular y value and find the first x value by dragging it through the x axis. How can be it done?

 

Or are there any other methods to do the requirement?

X value.jpg

 

Download All
0 Kudos
Message 11 of 20
(1,698 Views)
Solution
Accepted by topic author samitha95

Hi Samantha,

 

again you hijacked a very old thread instead of keeping your questions in one place.

Please don't spread your discussion about several threads!

 

To set a cursor to a certain position you just need to write into a property node of the graph…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 20
(1,685 Views)

I'm really sorry @GerdW. I'm new to LabVIEW community and actually I thought it has to post on the relevant topic.

 

Thanks for your suggestion I will study about property nodes.

0 Kudos
Message 13 of 20
(1,673 Views)

Hi,

I'm not sure whether I connected the correct terminals in the integration part of my VI. That is x,dt, initial and final conditions in the integration function.

 

Integration equation is follows,

equation.png

I want to get a E vs t graph.

Could someone tell is my VI correct? or any suggestions?

Integration.png

 

 

 

Download All
0 Kudos
Message 14 of 20
(1,630 Views)
Solution
Accepted by topic author samitha95

Hi samitha,

 


@samitha95 wrote:

Could someone tell is my VI correct? or any suggestions?


Does your VI give the expected result? If yes, then it works correctly…

 

See this as suggestion:

Don't use Waveform functions when you are handling simple 1D arrays: use ArrayMinMax instead of WaveformMinMax!

Cleaning up the block diagram also helps to understand the code…

 

Btw. sending PMs just to beg for help on the already posted message in the forum is considered "not nice". This is a forum of volunteers, so please be patient until you get an answer!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 20
(1,612 Views)

@GerdW, Thanks a lot for your time and the suggestion

 

My VI give the similar result which I expected (Not 100% same as the expected result). But in the integration function initial and final limits are not working.

 

Thanks and best regards.

 

0 Kudos
Message 16 of 20
(1,600 Views)

Hi samitha,

 


@samitha95 wrote:

But in the integration function initial and final limits are not working.


In which way do they "don't work"?

Right now you use the default values for both limits as are described in the LabVIEW help for this function…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 17 of 20
(1,590 Views)

Hi GerdW,

 

Integration 2.jpg

I want to get the integrated graph (Energy vs time) by selecting the particular range of time axis (as an example: in here 0 to 600). But in the VI when selecting the range (as in the screenshot below), it does not give that integration part.

 

Integration new.jpg

 What's the wrong with that?

 

I looked that function in LabVIEW help. But still couldn't get an idea for this case.

 

Best regards..

0 Kudos
Message 18 of 20
(1,581 Views)
Solution
Accepted by topic author samitha95

Hi Samitha,

 


@samitha95 wrote:

But in the VI when selecting the range (as in the screenshot below), it does not give that integration part.

What's the wrong with that?


You only change the integration start/end conditions.

Did you read the LabVIEW help for the integration function? Why do you think you can select a certain range with theses inputs???

 

To select a certain range of your array data you should use the ArraySubset function!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 19 of 20
(1,577 Views)

Hi GerdW,

 

Yes I was read the integration function in LabVIEW help.

 

Thanks for your answer. I'll try to do it using ArraySubset function.

 

 

Best regards..

0 Kudos
Message 20 of 20
(1,571 Views)