Update diagram with another thread

I have a timer (which method creates another thread) that calculates a value that i want to use to update a node in my diagram but it’s not working because doesn’t update. In the examples provided the timer used is the DispatcherTimer that runs in UI thread and because that there are no problems. Can someone help me with this problem? Thanks a lot.

The Logic Circuit sample includes an example use of a DispatcherTimer.

One difference between it and what you might want is that that sample’s changes are meant to be transient. You might need to wrap a transaction around all of your model/data changes.

I will try to use a DispatcherTimer to see if it works. Thanks Walter