SysEx timeouts

Discussions of any related software

Moderator: Related software moderators

Re: SysEx timeouts

Postby dmitri » Wed Dec 30, 2015 3:47 pm

Just to explain MDM logic when sending Sysex to MegaDrum.

1. First MDM sends a single Sysex with a config item (Misc settings, one input, one 3rg zone and etc).
2. Then MDM sends a Sysex config request for the same item.
3. If it receives a response from MegaDrum for the same item, MDM compares it to the config which was sent to MegaDrum. If they match, then it is flagged as OK.
4. If it receives a response from MegaDrum for the same item, MDM compares it to the config which was sent to MegaDrum. If they match, then it is flagged as Sysex Error.
5. If it doesn't receive a response from MegaDrum within a timeout, then MegaDrum flags a Sysex Timeout, even if it was just for one item out of the whole lot of config items.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: SysEx timeouts

Postby halifax30 » Wed Dec 30, 2015 9:35 pm

Hi Dmitri,
This is very useful info, thank you. I'm determined to understand your code and perhaps add logging messages and see where the process fails.
Until then, can you tell me how long delay do you regard as 'too long' and flag it as a timeout? Is it hard-coded? I'm asking because sometimes I get a timeout even when I send only a single pad, and it happens after one second, or even less. Is the timeout so short?
I haven't even mentioned, yet, but after I upgraded from firmware 20151104 to 20151207 I again start to get timeouts for single Pads.
Pearl Rhythm Pod converted to electronic with DIY foam cones and crossbar design. Using Drum-Tec mesh heads. 56-input MegaDrum with color LCD. Yamaha PCY135, PCY155, and some DIY cymbals. DIY Hall Sensor hihat pedal with PCY135 as top-hat.
halifax30
 
Posts: 57
Joined: Wed Jul 23, 2014 7:43 pm
Location: Hungary

Re: SysEx timeouts

Postby dmitri » Thu Dec 31, 2015 11:06 am

I don't have code with me at the moment. If I remember right timeout is hard coded but I don't remember the value. This must be Windows 10 specific because I hardly ever get timeouts on Mac OS.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Re: SysEx timeouts

Postby angr77 » Thu Dec 31, 2015 4:47 pm

Hi!

I gave it a go on my Windows 10 system (Surface Pro 3) with MDM 20151104 and FW 20151207. I get system timeouts at 96% when doing send all and if the "ConfignamesEN" checkbox is unchecked...If I enable the checkbox the errors goes away. (The checkbox enables the custom config names on each slot - which is a good function..)

Best Regards

ANGR77
Sonor, Drum-Tec heads, Roland CY14, CY12&15R, 2x BT-1 & VH11, 12, 13, Triggera D11, 2xD14, Pintech Dingbat, Letric Moo, Quartz triggers, 2xARM based MegaDRUM, PS Board, M-Audio FT Ultra 8R, Addictive Drums 2.1.6, Surface Pro 5 http://zourman.com
angr77
 
Posts: 622
Joined: Tue Nov 29, 2011 10:42 pm
Location: Stockholm, Sweden

Re: SysEx timeouts

Postby halifax30 » Sat Jan 02, 2016 9:06 pm

Thanks for doing the test. Unfortunately, I did not have luck with the "ConfignamesEN" checkbox. I tried to do SendAll several times both with checked and unchecked checkbox, but I always got a timeout.
Pearl Rhythm Pod converted to electronic with DIY foam cones and crossbar design. Using Drum-Tec mesh heads. 56-input MegaDrum with color LCD. Yamaha PCY135, PCY155, and some DIY cymbals. DIY Hall Sensor hihat pedal with PCY135 as top-hat.
halifax30
 
Posts: 57
Joined: Wed Jul 23, 2014 7:43 pm
Location: Hungary

Re: SysEx timeouts

Postby angr77 » Sun Jan 03, 2016 10:48 am

I did the same test on my MacBook PRO with el capitan installed..and i get system time-outs if not the ConfigNamesEN is checked.

Best Regards

Angr77
Sonor, Drum-Tec heads, Roland CY14, CY12&15R, 2x BT-1 & VH11, 12, 13, Triggera D11, 2xD14, Pintech Dingbat, Letric Moo, Quartz triggers, 2xARM based MegaDRUM, PS Board, M-Audio FT Ultra 8R, Addictive Drums 2.1.6, Surface Pro 5 http://zourman.com
angr77
 
Posts: 622
Joined: Tue Nov 29, 2011 10:42 pm
Location: Stockholm, Sweden

Re: SysEx timeouts

Postby dmitri » Wed Jan 20, 2016 7:44 pm

I just tested MDM on my daughter's laptop with Windows 10 and there were no timeouts doing GetAll or SendAll.
dmitri
Site Admin
 
Posts: 8709
Joined: Fri Aug 03, 2007 8:05 pm

Previous

Return to Related Software

Who is online

Users browsing this forum: No registered users and 31 guests