ArrayArrayArrayArray BrainModular BrainModular Users Forum 2022-11-20T15:58:34+02:00 https://brainmodular.org/forums/app.php/feed/topic/7067 2022-11-20T15:58:34+02:00 2022-11-20T15:58:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44487#p44487 <![CDATA[Re: IML working for text fader, but not button]]> https://www.brainmodular.com/manuals/hh ... ne-objects

Statistics: Posted by senso — 20 Nov 2022, 14:58


]]>
2022-11-18T09:00:20+02:00 2022-11-18T09:00:20+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44475#p44475 <![CDATA[Re: IML working for text fader, but not button]]>
Always helpful to figure out how to explain your problem to someone else!!

Statistics: Posted by woodslanding — 18 Nov 2022, 08:00


]]>
2022-11-18T08:00:58+02:00 2022-11-18T08:00:58+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44474#p44474 <![CDATA[Re: IML working for text fader, but not button]]>

CODE:

process msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_STRING_VALUE INST 1 Reaktor  Set String Value INST 1 Reaktorprocess msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_VALUE INSTMOUSE 1 1  Set Value INSTMOUSE 1 1process msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_VALUE INSTMOUSE 1 0  Set Value INSTMOUSE 1 0
If I change the name of the control, I get an error saying it can't be found. However, with the inspector on the out cable of the button, I am not seeing any changes:
iml_button_issue.png
I am calling both from a processIdle thread in a script like so:

CODE:

if gLoadInst then    begin        debug('sending inst load                       @@@@@@@@@@@@@@@   INST: '  + instToLoadIN.asString);        sendText('INST',instToLoadIN.asString);         gMouseName := 'INSTMOUSE';        sendVal(gMouseName,'1');        gMouseDown := TRUE;        gLoadInst := FALSE;    end;    if gMouseDown then     begin        sendVal(gMouseName, '0');        gMouseDown := FALSE;    end;
edit: okay, I changed the above code to 'else if gMouseDown' so the two would be sent on separate passes, and now the mouse button sometimes triggers.... I guess I'll try putting more space between IML events.

oh yes, I see, the mouse down and mouse up events ended up being sent simultaneously, so that makes sense....

Statistics: Posted by woodslanding — 18 Nov 2022, 07:00


]]>
2022-11-18T07:35:10+02:00 2022-11-18T07:35:10+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44473#p44473 <![CDATA[IML working for text fader, but not button]]>

CODE:

    SendUsineMsg('SET_TARGET_PATCH','PARENT_PATCH');    SendUsineMsg('SET_STRING_VALUE',control,'1',data);
but this code does not seem to be changing the value of a button, for control = 'MYBUTTON' and data = '1':

CODE:

    SendUsineMsg('SET_TARGET_PATCH','PARENT_PATCH');    SendUsineMsg('SET_VALUE',control,'1',data);
I can't figure out why one is working and the other is not.... do I have this syntax right?

Statistics: Posted by woodslanding — 18 Nov 2022, 06:35


]]>
BrainModular BrainModular Users Forum 2022-11-20T15:58:34+02:00 https://brainmodular.org/forums/app.php/feed/topic/7067 2022-11-20T15:58:34+02:00 2022-11-20T15:58:34+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44487#p44487 <![CDATA[Re: IML working for text fader, but not button]]> https://www.brainmodular.com/manuals/hh ... ne-objects

Statistics: Posted by senso — 20 Nov 2022, 14:58


]]>
2022-11-18T09:00:20+02:00 2022-11-18T09:00:20+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44475#p44475 <![CDATA[Re: IML working for text fader, but not button]]>
Always helpful to figure out how to explain your problem to someone else!!

Statistics: Posted by woodslanding — 18 Nov 2022, 08:00


]]>
2022-11-18T08:00:58+02:00 2022-11-18T08:00:58+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44474#p44474 <![CDATA[Re: IML working for text fader, but not button]]>

CODE:

process msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_STRING_VALUE INST 1 Reaktor  Set String Value INST 1 Reaktorprocess msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_VALUE INSTMOUSE 1 1  Set Value INSTMOUSE 1 1process msg SET_TARGET_PATCH PARENT_PATCH    SET_VAR patch 4928425519550224534 = D:\WINDOWS_MOON\Desktop\HH 5\gui.patprocess msg SET_VALUE INSTMOUSE 1 0  Set Value INSTMOUSE 1 0
If I change the name of the control, I get an error saying it can't be found. However, with the inspector on the out cable of the button, I am not seeing any changes:
iml_button_issue.png
I am calling both from a processIdle thread in a script like so:

CODE:

if gLoadInst then    begin        debug('sending inst load                       @@@@@@@@@@@@@@@   INST: '  + instToLoadIN.asString);        sendText('INST',instToLoadIN.asString);         gMouseName := 'INSTMOUSE';        sendVal(gMouseName,'1');        gMouseDown := TRUE;        gLoadInst := FALSE;    end;    if gMouseDown then     begin        sendVal(gMouseName, '0');        gMouseDown := FALSE;    end;
edit: okay, I changed the above code to 'else if gMouseDown' so the two would be sent on separate passes, and now the mouse button sometimes triggers.... I guess I'll try putting more space between IML events.

oh yes, I see, the mouse down and mouse up events ended up being sent simultaneously, so that makes sense....

Statistics: Posted by woodslanding — 18 Nov 2022, 07:00


]]>
2022-11-18T07:35:10+02:00 2022-11-18T07:35:10+02:00 https://brainmodular.org/forums/viewtopic.php?t=7067&p=44473#p44473 <![CDATA[IML working for text fader, but not button]]>

CODE:

    SendUsineMsg('SET_TARGET_PATCH','PARENT_PATCH');    SendUsineMsg('SET_STRING_VALUE',control,'1',data);
but this code does not seem to be changing the value of a button, for control = 'MYBUTTON' and data = '1':

CODE:

    SendUsineMsg('SET_TARGET_PATCH','PARENT_PATCH');    SendUsineMsg('SET_VALUE',control,'1',data);
I can't figure out why one is working and the other is not.... do I have this syntax right?

Statistics: Posted by woodslanding — 18 Nov 2022, 06:35


]]>