Posted: 04 Oct 2009, 16:43
Hi,
when building a subpatch that contains several combo boxes I wondered whether it is possible to hide the input and output slots from the sub patch. This would be very handy as the output of the combo box is only an intermediate value that should not be directly accessible from outside the sub patch.
Another related question: For native modules parameters that can be read and written have in and out slots in the same line (so e.g. for the ComboBox module there are not two "text" lines for in and for out but a single line with both an input and an output). Is that also possible for user subpatches?
Perhaps it's easier to understand with an example.
Essentially I want to build a subpatch with a content like this:
ControllerNumber: Data In ------> SelectCtrlNum : Combobox ----VerifyControllerNumber : Subpatch--> ControllerNumber: Data Out
^ |
| |
-----------------------------------------------------------------------------------------------
where the VerifyControllerNumber subpatch normally just returns the the value it got as input but in some special states some controller numbers are not allowed, so the verifyer module would exchange the controller number with another one that is valid in the current state and update the SelectCtrlNum combobox appropriately.
The input and output slots of such a subpatch would look like that in Usine:
o--ControllerNumber (from Data In)
ControllerNumber (from Combobox Out)-o
ControllerNumber (from Data Out)-o
What I'd like to have is something like that though:
o-ControllerNumber-o
where the input comes from ControllerNumber :Data In and the output from ControllerNumber: Data Out
Is something like that possible with the current Usine version?
Thanks,
NaN
when building a subpatch that contains several combo boxes I wondered whether it is possible to hide the input and output slots from the sub patch. This would be very handy as the output of the combo box is only an intermediate value that should not be directly accessible from outside the sub patch.
Another related question: For native modules parameters that can be read and written have in and out slots in the same line (so e.g. for the ComboBox module there are not two "text" lines for in and for out but a single line with both an input and an output). Is that also possible for user subpatches?
Perhaps it's easier to understand with an example.
Essentially I want to build a subpatch with a content like this:
ControllerNumber: Data In ------> SelectCtrlNum : Combobox ----VerifyControllerNumber : Subpatch--> ControllerNumber: Data Out
^ |
| |
-----------------------------------------------------------------------------------------------
where the VerifyControllerNumber subpatch normally just returns the the value it got as input but in some special states some controller numbers are not allowed, so the verifyer module would exchange the controller number with another one that is valid in the current state and update the SelectCtrlNum combobox appropriately.
The input and output slots of such a subpatch would look like that in Usine:
o--ControllerNumber (from Data In)
ControllerNumber (from Combobox Out)-o
ControllerNumber (from Data Out)-o
What I'd like to have is something like that though:
o-ControllerNumber-o
where the input comes from ControllerNumber :Data In and the output from ControllerNumber: Data Out
Is something like that possible with the current Usine version?
Thanks,
NaN
