tango-controls/pytango

Are DynamicCommands not suported in python / pythonHL? (Pogo says so)

sergirubio opened this issue · 3 comments

Hi,

I am not sure whether it is a PyTango or a Pogo issue.

When generating a Python device server with Dynamic Commands in Pogo, this message appears:

  "Dynamic Commands are not supported in python" 

If PythonHL is selected instead then no warning appears, but commands are not added to the generated source.

Sergi

Hi @sergirubio

They are supported. See a PyTango example here for high level API. In that example, I notice the from tango.server import DispLevel must be changed to from tango import DispLevel.

Another place we used it is in tango-simlib.

I'm not sure if it can be used with the classic API.

Hi Anton,

So, it seems that is not a PyTango bug but a Pogo bug instead; it should generate dynamic commands templates for PythonHL

You can close the ticket and I'll open a new one in Pogo queue,

Sergi

Just for tracking: I added the issue in Pogo queue

tango-controls/pogo#103