05-03-2019 02:26 AM
Dear All,
I have a question, I would like to read two values from a chart graph.
The total measurement has a duration of 25 seconds.
I would like to see the first value after 3 seconds and the second value after 22 seconds, as in the example image I drew.
But after many experiments and attempts I have not succeeded
Can anybody help me with this?
Maarten
05-03-2019 03:22 AM
Hi Dandy,
I would like to read two values from a chart graph.
There are several problems in this sentence:
I would like to see the first value after 3 seconds and the second value after 22 seconds, as in the example image I drew.
When the x coordinate is fixed ("after 3s and after 22s") then all you need to do is to index the corresponding Y value to your x coordinate.
When there is a different condition/algorithm to determine those samples you need to define that algorithm before you can implement it in software!
05-03-2019 03:38 AM
Hi GerdW,
Thank you for your answer, I mean "Waveform Chart, of course and not "Chart Graph", my mistake...
There are probably mulitple solutions possible for what I want and If indexing the corresponding Y value to the x coordinate also
works, that fine with me.
I have only no idea to do this...could you maybe show me this in a example vi?
05-03-2019 03:49 AM
05-03-2019 04:51 AM - edited 05-03-2019 04:52 AM
Thank you GerdW,
For you fast response, I tried to get it to work, but I don't understand
what value I have to connect to the "Get Wave Form XY" vi (see attachment)
I tried different values but it seems to samples only the last value...?
05-03-2019 05:46 AM
05-03-2019 07:09 AM - edited 05-03-2019 07:10 AM
Hi GerdW,
I have 2500 samples, I tried your solution in a separate test vi, and then it worked
However when I placed it into my main setup, then it only shows the last value..
I think it has maybe something to do with the core "Run Time Relative Time" vi that I'm using?
(I found this vi on the NI Forum)
05-03-2019 07:55 AM
Bob Schor
05-03-2019 09:20 AM - edited 05-03-2019 09:20 AM
Hi Bob,
Thank you for your advices, I will certainly apply them if I see the possibility.
but I am a Labview newbee, and I fear that I am not yet at the level to fully understand all of your advices
But thanks, I appreciate your feedback!