peppino3d Posted December 23, 2008 Share Posted December 23, 2008 Hello, I've got a little question about the correct syntax for referencing a channel: I've got two identical nodes plugged into a switch and the switch plugged in the third node. Depending on the switch status (0,1) I would like to have the third node channel referencing either the first or the second node (with suffix 0 or 1): graph null_0 null_1 switch1 (0,1) null3 current null3 expression: ch("../null_0/myvalue") theoretical new null3 expression: ch("../null_"`ch("../switch1/value")`"/myvalue") Any help on the correct syntax? thanks Peppino Quote Link to comment Share on other sites More sharing options...
rdg Posted December 23, 2008 Share Posted December 23, 2008 Cannot test currently, but I guess it's: ch("../null_" + ch("../switch1/value") + "/myvalue") Backticks is for evaluation expressions in string parameter fields. Quote Link to comment Share on other sites More sharing options...
peppino3d Posted December 26, 2008 Author Share Posted December 26, 2008 Cannot test either (back home on holiday) but will try as soon as I'm back to the office Thanks it makes sense! P Cannot test currently, but I guess it's: ch("../null_" + ch("../switch1/value") + "/myvalue") Backticks is for evaluation expressions in string parameter fields. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.