Start/Stop Trigger Blocks - Having trouble matching up data
I am having trouble trying to plot out a localized max for two channels at the same time. Here is a picture of the data and the corresponding "maximums" that I have tried to get
As you can see, the maximums it is extracting are a little shifted from where they actually occur - more than I would like. There are also points on the top graph that are getting plotted at the bottom of the valley in some cases. Here is a picture of my setup:
I am having trouble understanding what the delta level/steeper than/ and delta time are describing for the slope mode.
Here is a zoomed in picture of the data and what I'm trying to accomplish
Any help to try and complete this task is very appreciated. Thank you!
would it be possible that you provide a data file so we can look into the calculation?
You can only add the signal which you need to calculate. If the data file is to delicate you can send it to our private forum or the FTP server. Attached are the instructions on how to upload data file.
I have uploaded to the FTP Server under the folder 'From Jon Arnason'. Thank you!
we looked into your issue.
Our Basic statistic works like that that the sample is always created at the end of the calculation block in your case the triggered area. So with basic statistic we can not present the samples at the corresponding place in time ( ex. maximum of the channel). You can calculate the time of maximum with the basic static or you can try to create your own calculation with the use of C++ script.
attached is the c++ script bundle which calculates time of max and place it at the correct timestamp. The bundle is open source sou you can look the script and modify it to your needs.