Hello midiBoxers
,
I posted this problem on “MidiBox NG Release + Feedback” topic…but no reply.
So, here it is again…
I’ve been testing this firmware for many weeks. I does work but is not very stable and there are some problems as well…which maybe only happen to me ![]()
First issue:
Here is a part of my code:
EVENT_BUTTON id= 1004 button_mode=OnOnly fwd_id=LED:1004 range=1:1 radio_group=3 lcd_pos=1:21:1 type=meta meta=setSnapshot meta=LoadSnapshot meta=DumpSnapshot label="REGISTRATION: %S "
EVENT_BUTTON id= 1005 button_mode=OnOnly fwd_id=LED:1005 range=2:2 radio_group=3 lcd_pos=1:21:1 type=meta meta=setSnapshot meta=LoadSnapshot meta=DumpSnapshot label="REGISTRATION: %S "
EVENT_BUTTON id= 1006 button_mode=OnOnly fwd_id=LED:1006 range=3:3 radio_group=3 lcd_pos=1:21:1 type=meta meta=setSnapshot meta=LoadSnapshot meta=DumpSnapshot label="REGISTRATION: %S "
EVENT_BUTTON id= 1007 button_mode=OnOnly fwd_id=LED:1007 range=4:4 radio_group=3 lcd_pos=1:21:1 type=meta meta=setSnapshot meta=LoadSnapshot meta=DumpSnapshot label="REGISTRATION: %S "
EVENT_BUTTON id= 1008 button_mode=OnOnly type=meta meta=DumpSnapshot meta=SaveSnapshot
If I press these buttons very quickly for example changing between 1004 and 1005 then very often I can see on the MIOS Studio:
[42560.531] [MBNG_FILE_S] loading snapshot #2 from /DEFAULT.NGS
[42561.063] [MBNG_FILE_S] loading snapshot #2 from /DEFAULT.NGS
[42561.309] [MBNG_FILE_S] loading snapshot #2 from /DEFAULT.NGS
[42561.573] [MBNG_FILE_S] loading snapshot #2 from /DEFAULT.NGS
[42561.630] [FILE] FAILURE: tried to open file ‘/DEFAULT.NGS’ for reading, but previous file hasn’t been closed!
[42561.644] [FILE] FAILURE: tried to open file ‘/DEFAULT.NGS’ for reading, but previous file hasn’t been closed!
[42561.873] [MBNG_FILE_S] loading snapshot #2 from /DEFAULT.NGS
And also - This is really frustrating:
[42707.287] [MBNG_FILE_S] loading snapshot #3 from /DEFAULT.NGS
[42707.314] [MBNG_FILE_S] loading snapshot #3 from /DEFAULT.NGS
[42707.346] [MBNG_FILE_S] loading snapshot #1 from /DEFAULT.NGS
[42707.380] [MBNG_FILE_S] loading snapshot #3 from /DEFAULT.NGS
[42707.417] [MBNG_FILE_L] ERROR: failed while reading label ON_OFF in .BIN file
[42707.418] [MBNG_FILE_L] ERROR: failed while reading label ON_OFF in .BIN file
[42707.420] [MBNG_FILE_L] ERROR: failed while reading label ON_OFF in .BIN file
[42707.422] [MBNG_FILE_L] ERROR: failed while reading label ON_OFF in .BIN file
[42707.425] [MBNG_FILE_L] ERROR: failed while reading label P_SL_FA in .BIN file
[42707.427] [MBNG_FILE_L] ERROR: failed while reading label P_SO_NO in .BIN file
[42707.429] [MBNG_FILE_L] ERROR: failed while reading label P_2_3 in .BIN file
[42707.444] [MBNG_FILE_L] ERROR: failed while reading label ON_OFF in .BIN file
With above situation - all Conditional labels go “bananas” - I need to reset the whole NG box.
My NGL file is not very small - I have more than 260 conditional labels - file size is 8259 bytes.
Second issue - also related to Meta Events.
I can see that when Meta even is executed it “refreshes” all events and their labels as well. Problem is that I never know what label will be displayed on the screen - in case different labels use this same position of the screen.
Example:
EVENT_BUTTON id= 1058 fwd_id=LED:1058 button_mode=toggle type=CC cc=87 chn= 14 range= 0:127 offset= 0 ports=00001000000000000000 lcd_pos=1:21:2 label="PERCUSSION:^ON_OFF
EVENT_BUTTON id= 1059 fwd_id=LED:1059 button_mode=toggle type=CC cc=88 chn= 14 range= 0:1 offset= 0 ports=00001000000000000000 lcd_pos=1:21:2 label=“PERCUSSION DEC.:^P_SL_FA”
EVENT_BUTTON id= 1060 fwd_id=LED:1060 button_mode=toggle type=CC cc=89 chn= 14 range= 0:1 offset= 0 ports=00001000000000000000 lcd_pos=1:21:2 label=“PERCUSSION LEV:^P_SO_NO”
EVENT_BUTTON id= 1061 fwd_id=LED:1061 button_mode=toggle type=CC cc=95 chn= 14 range= 0:1 offset= 0 ports=00001000000000000000 lcd_pos=1:21:2 label=“PERCUSSION TYPE: ^P_2_3”
If I execute:
EVENT_BUTTON id= 1004 button_mode=OnOnly fwd_id=LED:1004 range=1:1 radio_group=3 lcd_pos=1:21:1 type=meta meta=setSnapshot meta=LoadSnapshot meta=DumpSnapshot label="REGISTRATION: %S "
then any of the above Labels can appear on the screen - completely random.
This same rule applies to AINSER and ENC events.
Am I missing something again?
Regards,
Bartosz