Hi all!
I want to make a button which sends a NRPN event.
The value of this event should, however be set with another encoder.
Because using ngr scripts was a good choice in the past, i tried this:
EVENT_ENC id=116 hw_id= 14 type=Meta meta=runsection:206 range=map1 no_dump=1 enc_mode=Absolute label="^std_enc"
EVENT_BUTTON id=123 hw_id=123 type=NRPN nrpn= 45 nrpn_format=MsbOnly no_dump=1 button_mode=OnOnly label="^std_btn"
if ^section == 206
set Button:123 ^value
endif
But somehow it does not work like suspected.
1) Turning the encoder also triggers the button event but
it was intended that it set the button's value only.
Maybe i misunderstood the SET and TRIGGER commands?
2) Although MiosStudio reports ("show id button:123") a correct value after turning the encoder,
the button always sends value 127 and not the value of the encoder.
Thanks for any advice!
Best reragds
Marxon