• 0

Mouse wheel zoom in logic analyzer


Question

I'm pleased with the digital discovery but zooming using the mouse wheel in the Waveforms logic analyzer works in the opposite way to virtually every other Windows application. Normally when the wheel is rolled towards the screen it zooms in and when it is rolled back you zoom out but in Waveforms it is the opposite way round. Is there any chance this could be changed. Every time I use the zoom I zoom in the wrong direction first.

Also, does anyone have an example of the code for a custom trace that is the result of a logical expression on other traces? For example "New trace = /CS OR /WR".

Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi @PhilFriday

The WF beta version adds option to change the mouse wheel direction:
https://forum.digilentinc.com/topic/8908-waveforms-beta-download/

image.png.a4e7944b430c539bffec3219193a1bcf.png

 

c = rgData.length

for(var i = 0; i < c; i++){
   //           not DIO-0 or not DIO-1
   rgValue[i] = !(rgData[i]&1) || !(rgData[i]&2); 
   // set flag other than zero for valid data
   rgFlag[i] = 1;
}

image.png.828b73870739ca39b39f924f566f4aa5.png

 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now