06-25-2024 06:18 AM
I was expecting the "Trigger Detection for 1 Channel.vi" to return the time of the first rising edge, instead for the signal in the attached VI, it returns the time of the second falling edge.
I have manually placed cursor 0 on the expected result.
Cursor 1 is the actual result.
Thanks in advance for your suggestions.
Solved! Go to Solution.
06-25-2024 12:09 PM
First off, I would like to say that you did an A+ job of presenting the problem. Extremely easy to play with and try various things.
I can't find the exact reason but there was one thing I did find, and that is if you set it to something that has no trigger at all (like a level of 1.5, for instance), it outputs a trigger location of "2.2052E-6", which is almost exactly what your value is off by.
Changing it to "index" mode instead of location reveals that it is detecting the trigger correctly (index 282 is found, which is 112.8, almost exactly what your manual cursor is set to).
I still can't figure out why it does this and I can't spend more time on it, but somehow it's got an incorrect timing offset added.
06-25-2024 08:57 PM
Got it working by resetting the t0 to 0