Changing dynamic attributes needs to re-create existing devices
|
|
---|---|
Hi, I created devices with dynamic created attributes. Later I found that I need to change the attributes (removing some). Then when I run the newly built server program, it exits immediated when started. And gives no chance to arrive into my code. The assertion message is; Tango exception When I traced into the place where the assertion took place, it was at Util::polling_configure() in utils_polling.cpp
It seems that the poll_attr_list keeps the old dynamic attributes. Why is this happen and how to fix this? Or how to reset or remove existing poll_attr_list when dynamic attributes are changed for existing devices? All I can do now is deleting all the existing devices and creating new ones, which is quite inconvenient. |