Posted: 23 Sep 2009, 18:06
Hi All,
After searching the forum archives, there was mention of a global variable module but usine seems to no longer have one.
I have been using the following approach but it doesn't seem to work. Can anyone point out what is wrong with this method?
I created a patch with a ''set variable'' bus coming in and a ''get variable'' bus going out. Inside the patch is a variable module with the ''set variable'' bus going in to the input pin and a ''has changed'' module coming from the ''set variable'' bus going into the affect pin. The output of the variable module goes to the ''get variable'' bus.
I am writing to my global variable by sending the output from a pass module to the "set variable'' bus whenever I want to change the value... however the value in the global variable patch doesn't change.
Any ideas as to what's wrong with this approach or a better way of doing it I would be glad to hear.
Thanks
After searching the forum archives, there was mention of a global variable module but usine seems to no longer have one.
I have been using the following approach but it doesn't seem to work. Can anyone point out what is wrong with this method?
I created a patch with a ''set variable'' bus coming in and a ''get variable'' bus going out. Inside the patch is a variable module with the ''set variable'' bus going in to the input pin and a ''has changed'' module coming from the ''set variable'' bus going into the affect pin. The output of the variable module goes to the ''get variable'' bus.
I am writing to my global variable by sending the output from a pass module to the "set variable'' bus whenever I want to change the value... however the value in the global variable patch doesn't change.
Any ideas as to what's wrong with this approach or a better way of doing it I would be glad to hear.
Thanks

