reference elements/values from another module | Intech Studio
💬 general Grid

reference elements/values from another module

alex
alex · · 7 replies

Hi there,
as far as I understand, variables only work on the module itself eg. bu16. However is there any other way I can access button_value() of a fader of my ef44 from the connected bu16? I got my desired code working on my bu16 "self:button_min(element[12]:button_value())" but I want button_min to be defined by a fader.
Thanks in advance

Replies (7)

kkerti kkerti ·

It's a bit more complex, the send_immediate call should be used:
https://docs.intech.studio/wiki/more/immediate-send-explainer/

kkerti kkerti ·

There is an example here which you can follow through to get the hang of it.

alex alex ·

Thank you, I must've missed that in the documentation. However I can't quite get it to work. When inputing "immediate_send(nil, nil, 'element[4]:potmeter_value()')" I get the correct values in the debug monitor (I tested that with print). But how do I get these values into my element on bu16? Or how do I get these values into a local variable (.fader1) so that I can simply input self:button_min(fader1) on my en16.
I don't quite get that last part in the documentation.

Greg-Orca Greg-Orca ·

Fader

Screenshot_2025-11-04_at_12.31.14.png
Greg-Orca Greg-Orca ·

need to delete the button mode on the button trigger, instead put it on the button>Setup

Screenshot_2025-11-04_at_12.31.38.png
Greg-Orca Greg-Orca ·
Screenshot_2025-11-04_at_12.32.27.png
alex alex ·

thank you so much!!! it works flawlessly 👍

Discord

View on Discord

This post is from the Intech Studio Discord community.

Open thread →