06-08-2010 12:36 PM
I am trying to apply posted solution to extract a portion of waveform displayed on a waveform graph.
The segment extracted seems to have no relation to the portion of the graph between the cursors.
I am using my sampling rate as an x scale multiplier (= 1/dt).
Screenshot1: is the original waveform with cursors.
Waveform segment: is a shot of vi section in question
There ir no shot of the resultant autput since that display is usually blank.
Kuchean
06-08-2010 11:32 PM
06-09-2010 12:58 AM
06-09-2010 11:34 AM
I tried the cursor index properties and essentially got nothing!, probes placed on the indexes read zero at every cursor position. So I went back to the x and y cursor positions and anyway I needed to be able to read out the cursor deltas
for both axis. I tried a different approach: the get waveform subset .vi again wiring just to the cursor x positions to save time for a test. The results weren't better but I have screen captures of both the source waveform (screenshot2) and the displayed subset (screenshot3). Waveform subset is a shot of the section of code.
Kuchean
03-01-2011 04:02 PM
The example works for me only if the cursor is set to single plot. Free cursor does not work, gives zero index. That may fix your problem.
Buddy
10-15-2018 10:16 AM - edited 10-15-2018 10:39 AM
Free cursor does not work, gives zero index!
Set the cursor to single plot
(e.g. in the graphs right-click property menu in the cursors tab)
That should be findable a lot easier and made more prominent, at least somewhere.
some more tags for all the searching folks: