Hi devvvs,
quick question about the IPin2 event Changed
the specs say:
quote:
The changed event occurs when the pins data changed.
I am writing a plugin where I need to be notified when pin value changes.
I have an event CB that is connected to “Pin.Changed” on IOBOX (exposed outlet), but my CB does not get called.
I tried to hook up the pin “IOBOX.Y Input Value” as well as “IOBOX.Y Output Value” changed event, but when the pin value is changed I do not receive an event. Instead when I try to do a patch with IOBOX + Change, of course it works. Some suggestions? Why does not work inside a plugin?
@tonfilm: How one can be notified when some node changes its data/state, like hooking one of those events pluginspecs/html/Events_T_VVVV_PluginInterfaces_V2_Graph_INode2.htm? If this works, then I can get the data from the right pin and send it over OSC. (I am speaking only for the exposed nodes, of course)
I am sorry if I am splitting this thread https://discourse.vvvv.org/t/9239 in two, but my question here is rather technical question, no?
@joreg: Thanks! I see… I put some code in the “Evaluate” to iterate through the outlet IOBox-es and send their data. Of course this is not efficient, but as proof-of-concept it works. When there is an event to hook-up, I will re-write the code.