06-26-2017 04:13 AM
Hello,
I have a waveform from which I wish to extract each cycle and superimpose them and create a resultant graph.
It is a long process manually, using the band selection cursor for each cycle > copying the data points >plotting the copied channels, as shown below:
Original channel:Intended Result (showing 4 cycles only):
I would like to know how to automate this process, if possible.
Thank you,
Jesu
06-26-2017 09:50 AM - edited 06-26-2017 09:54 AM
Hey,
You can use Find Pattern in ANALYSIS which was added in DIAdem 2017.
Load Pattern_Example.tdm file for a demonstration:
C:\Program Files\National Instruments\DIAdem 2017\Examples
Then open ANALYSIS --> Channel functions --> Find pattern
Or start this example which ships with DIAdem 2017.
Regards
06-28-2017 01:20 AM
Hey Christian,
I am using Diadem 2015. I have been able to create a very rough workaround through scripting. Each cycle has a length of 23 data points. So I used a loop to extract each 23 point segment and store them in a new channel.
Thanks,
Jesu