Issues.00412 - lordmundi/wikidoctest GitHub Wiki
00412: doug.node command in manager not marking node as modified
Summary: doug.node command in manager not marking node as modified
Created: 2012–03–05 08:39
Status: Released
Category: Bug
From: frankie
Version: 2.2
Released_In: 2.3
Description:
when using TCL scripts inside a manager (via the TCL block in the config file), the doug.node command works, but callbacks associated with the modification of that node do not fire. It is as if the command is not marking the node as being modified.
The following script shows the bug in the manager, and runs correctly in standalone or client mode:
doug.callback add timer -delay 5.0 {
puts -nonewline "Modifying node ... "
set current_x [doug.node ISS_SIM_POS get -x]
doug.node ISS_SIM_POS set -x [expr $current_x + 0.1]
puts "done"
}
doug.callback add update -nodes "ISS_SIM_POS" {
puts "ISS_SIM_POS was modified!"
}
Comments
brad April 06, 2012, at 12:51 PM: This has been fixed.
Associated Commits
| commit | 4582c6d83dc542163b2d9c84c2bcf4c36c9362ac
link6 |
||
| Author: | Brad Bell
|
| Date: | Fri Apr 6 12:49:21 2012 -0500
|
| Message: | [@Issue 00412: fixed problem where DOUG runing as a manager would not trigger
TCL scripts that monitor nodes updates @] |
Affected Files:
bin_Darwin/doug | Bin 1851384 -> 1849000 bytes
bin_Linux_FC3/doug | Bin 681977 -> 667607 bytes
bin_Win32/doug.exe | Bin 1824953 -> 1842203 bytes
3 files changed, 0 insertions(+), 0 deletions(-)
| commit | c11dff2b97dd70674fdb32a0046ee0f1140e1ed0
link7 |
||
| Author: | Brad Bell
|
| Date: | Fri Apr 6 12:41:28 2012 -0500
|
| Message: | [@EDGE Issue: 00412, fixed problem where DOUG runing as a manager does not fire
tcl update callbacks on nodes that have changed @] |
Affected Files:
src/doug/doug.c | 18 +++++++++++±-----
1 file changed, 12 insertions(+), 6 deletions(-)