Start Device Server in Astor

Hello,
when i would to start the device server in Astor without command line i’ve got ( Device server not found in ‘StartDsPath’ property. (see the attachments)
Thanks

Hello Remotle,
the StartDsPath parameter is used by TANGO to to find the Device Server program.
For instance, DS are by default into /usr/lib/tango directory into debian/ubuntu OS.
However, if you have a Device Server elsewhere, you should add this path to StartDsPath to let TANGO know where ot find your DS program.

This StartDsPath can be found using jive, into the Starter configuration, into “Properties” of the concerned device.
Hoping this will help.

You can edit this path via Astor, when right-clicking on your host and selecting “Edit properties”.

hi Reynald,
how to write a cases hot usage and Device servers PATH ?

Hello philippeg,
where i can add This StartDsPath into “Properties” of the concerned device in jive(see the attachments)

Host usage is just a custom comment which will appear in parenthesis near your host name (mehdi in your case) in Astor main window which could help you to identify easily what is running on your host for instance. You can put whatever you want in there. This is just to help you. Just try it…

The Device Servers PATH is what you should edit in your case. If you edit it there, you don’t need to edit the Starter properties as Philippe was suggesting in jive.
Simply add in there the directories (one directory per line) where your device server executables are located on the host you want to control.

Do not click “Manage notifd”, you probably don’t need it in your case if you are using a recent Tango version using ZMQ instead of the notifd for the event system.

Hi Reynald,
I ADD in the device servers PATH where the device server are located but i’ve got the same error(see the attachments)

Please put the following string in the device server PATH:
/home/Temperature/bin

You should put only the list of directories where your device servers executables are located, not the command line to start it.

I ADD /home/Temperature/bin in the device servers PATH but the same error

It looks like you forgot a “/” in front of /home/Temperature/bin (?) We cannot see on your second screenshot.
If you didn’t forget the “/”, is your executable really in /home/Temperature/bin?

Yes now I ADD /home/Temperature/bin and the same error

And on a shell on this machine, if you type

ls /home/Temperature/bin 

You can see your device server called Temperature ?

Hi pascal
Now it works fine thank you so much for your help

As a reminder, you can get an output like

Device server not found in 'StartDsPath' property.

in case of a Python Device server.

Indeed, DEVICE_SERVER.py and DEVICE_SERVER is not the same so Starter will not find DEVICE_SERVER in StartPath if the DS is named DEVICE_SERVER.py.

To solve this issue, you can rename it.
Under GNU/Linux :

cd PATH && mv DEVICE_SERVER.py DEVICE_SERVER