GOTO Value

TA Hurst

Posted on 05.04.2018 18:35
  1. I have looked high and low and cannot find a simple way to have cursor go to a specified Y value in analysis mode. Can anyone help?
DEWESoft Support
Technical support
Posted on 09.04.2018 08:52

Hi,

I believe that the same "Go-To" feature was requested by one of your colleagues not too long ago. Dewesoft doesn't really have a dedicated function for this, but I've put together a demo setup which can be used to in order to get as close as possible to simulating this function. Below you'll find my response to that request and I've attached the setup file and some pictures that were referenced in my reply. I haven't heard back from your colleague on this, but I hope you'll find this math useful.

"In the attached setup I've tried to simulate your original request. I have three DEMO channels, a sine, square and trian wave and am looking at where the sine wave signal crosses the zero threshold (positive edge). This can be done directly through the "Latch value math" setup. If you'd like to use a different triggering logic, then it would be a bit more complicated, but still doable.

As you can see on the image above, the criteria channel is the sine wave, while the latch function will return data from all three channels. I've used a "Tabular" values display to show the latched values and the recorder to show all of the original signals. In analysis, you can double click on any sample in the tabular values display, which will automatically move the yellow cursor to the correct destination. You can use the double click feature as sort of a "jump to next" functionality.

The only slight inconvenience that I've noticed in my testing was that sometimes the sample which you click on doesn't color yellow as expected. The reason for this is that the double click feature will move the yellow cursor to the nearest synchronous sample. Sometimes, the latched sample is just a bit delayed compared to the synchronous sample. As the tabular display will color the closest previous sample to the cursor, this means that the previous sample will still be colored. I've already shown this to the development team and they'll see what can be done to make the adjustment."


Attached files:
TA Hurst

Posted on 09.04.2018 17:53

So far so good for the positive edge, what about for the negative edge? We normally would locate where the triangle or sine wave crosses zero for both rising and falling signals.


DEWESoft Support
Technical support
Posted on 10.04.2018 06:48

Hi,

I've made some adjustments to the setup. The change I've made is that the triggering condition is now a separate math channel. In that channel, I output a 1 whenever the sine wave crosses over zero (either positive or negative edge), and stays at 0 at all other times. In the latch math, I then use this channel as the latch condition.


Attached files:
Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more