Hi everyone,
Is there a way to get a callback from a changed output value that has been externalized to Ventuz .Net Remoting? So if I move an axis, I could dynamically update an external running software that is connected via Remoting 2? I would get a notification whenever and which of the values has been modified and adjust my interface accordingly instead of polling the externalized values again and again.
The only way I see by now would be to attach an event to the output value that fires whenever the value itself changes. Or is there already an integrated mechanism?
Cheers, Florian
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Callbacks from externalized values
Moderator: Support
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: Callbacks from externalized values
Hi Florian
Yes you can get a callback from a scene via Remoting check the Ventuz.Remoting.chm helpfile for futher informations.
You can receive all events of the RemoteScene in one package via the Ventuz.Remoting2.Helpers.SceneCallbackHandler if you want to listen to certain events you should regeister your handlers at the Callback event of the IExternalEvent interface.
Cherio!
Yes you can get a callback from a scene via Remoting check the Ventuz.Remoting.chm helpfile for futher informations.
You can receive all events of the RemoteScene in one package via the Ventuz.Remoting2.Helpers.SceneCallbackHandler if you want to listen to certain events you should regeister your handlers at the Callback event of the IExternalEvent interface.
Cherio!
-
- Posts: 21
- Joined: 22 Mar 2012, 15:54
Re: Callbacks from externalized values
Thanks Daniel,
I already have the callback implementation for events . Now I was only wondering if I could get a notification whenever an externalized output value changes.
Or to put it into an example: I have an expression that processes the x and y coordinates of a touch input (in what way ever) and delivers a float value as output. This is the value I want to expose. The question now is if there is any way to get a callback in my remoting application that this exposed value changed? Except attaching another event to the value?
I already have the callback implementation for events . Now I was only wondering if I could get a notification whenever an externalized output value changes.
Or to put it into an example: I have an expression that processes the x and y coordinates of a touch input (in what way ever) and delivers a float value as output. This is the value I want to expose. The question now is if there is any way to get a callback in my remoting application that this exposed value changed? Except attaching another event to the value?
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: Callbacks from externalized values
Ok I got it. There is no global way to get a notification if one of the external values has changes but you can just use a float value node bind the result of your expression and externalize the Changed event of the float value node.
Cherio!
Cherio!