On 2/24/2017 11:41 AM, Matteo Facchinetti wrote: > > I created a parameter for each flags/property that user can control > and in my driver I like to call a control function that update the > control word each time user update value of the related parameter with > setp command. > > Is possible to associate a function to the update parameter event?
Using the 0mq based haltalk you can subscribe to change notifications, but I don't think any such facility exists for raw HAL pins (and parameters which are now the same thing). Now that there are specific pin accessor functions, it might be possible to add, as long as you can guarantee anything that changes the value only uses the new accessor functions. -- Charles Steinkuehler [email protected] -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed to the Google Groups "Machinekit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/machinekit. For more options, visit https://groups.google.com/d/optout.
