08-16-2016 08:13 AM
Hello all,
I have just find a solution in the forum to select desired data from a waveform grap with cursors, however, I do not know how to synchronize waveform start time for the second graph. How can I extract start time from the waveform with index data?
Solved! Go to Solution.
08-16-2016 08:27 AM - last edited on 11-07-2024 03:17 PM by Content Cleaner
This can help you to start: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGxCCAW&l=en-US
08-16-2016 11:03 AM
Expand your Get Waveform components node to get the T0 and dt. Multiply you dt by the index (plus 1) and add that value to the T0 and then use that modified T0 in the build waveform where you are currently updateing you reduced Y array.
Ben
08-16-2016 11:38 AM - last edited on 11-07-2024 03:18 PM by Content Cleaner
Just use the Get Waveform Subset. It will do everything for you.
08-18-2016 08:29 AM - edited 08-18-2016 08:30 AM
Hello guys, thank you for your responses. However, I think I was not able to explain what exactly I want. I tried to explain what I want on the pic below. How can I find the time of first cursor time value and sync it with the second graph initial x-axis?
08-18-2016 09:02 AM - edited 08-18-2016 09:03 AM
Something like this? It is a bit crude, but does what I think you are asking for, should be able to use it as a starting point.
The Max-Min is to make sure that the cursor range is always valid.
08-19-2016 01:21 AM
Thank you Jon D. This is exactly what I am trying to do.
08-19-2016 07:52 AM
Excellent, good to hear.