Adding new entries to cmd_list

Dear all,

Is it possible, during the running of a device server, to add, at runtime, new entries to cmd_list (i.e. dynamically add new commands that have not been previously defined).

I can’t seem to find a way to access cmd_list and add entries to the dictionary programmatically.

Thanks.

Hi Drea,

For C++ Tango class, this feature has been added in Tango 9 (available soon). Therefore, for Python Tango class, it will
be available with a future PyTango release supporting Tango 9. It is already available for Java Tango class.

Cheers

Hi Manu,

Thanks for your reply. Is there no way to “hack” into it for the time being, even in a not so clean manner. I just need it for prototypical purposes (in Python).

Regards.

Hi Drea,

I don’t think there is a way to ‘hack’ things here. I am afraid you have to wait..

Regards