03-09-2021 10:25 PM
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?
03-10-2021 12:50 AM
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…
03-10-2021 02:38 AM
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.
03-13-2021 06:10 PM - edited 03-13-2021 06:12 PM
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,
I want to get a E vs t graph.
Could someone tell is my VI correct? or any suggestions?
03-14-2021 12:47 PM - edited 03-14-2021 12:50 PM
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!
03-14-2021 08:29 PM
@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.
03-15-2021 02:37 AM
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…
03-15-2021 07:15 AM - edited 03-15-2021 07:20 AM
Hi GerdW,
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.
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..
03-15-2021 07:20 AM
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!
03-15-2021 07:29 AM
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..