First Steps with Tango / PyTango

Hi,

I managed to install Tango on my Windows machine and seem to get everything to run, but I feel to not have understood some basic concepts. So I have some questions, that will hopefully help me understand what to do next.

1.) When I start Jive, I have 4 Entries in the Server List (DataBaseds, Starter, TangoAccessControl, TangoTest). Are these Device Servers?

2.) I want to create a new Device and be able to control it. This device is physically connected to my Tango_host and I'm able to connect it with pythonic tools. I used POGO to create a class and created a Server using JIVE with the same name. In JIVE my Device is not exported.JIVE.PNG How do I do this?
So basically the question is: Which steps to take to properly register a device with the tango host?
Hi,

1) When you launch Jive, you are on the server tab, so what you see is the liste of devices servers already declared in the Database.

Databaseds –> aims to exchange with the MYSQL server
Starter –> aims to start devices servers on hosts
TangoAccessControl –> aims to add Access Control to the Tango CS
TangoTest –> Test device server for testing purpose

You can find details in the documentation.

2) It seems that you haven't started the device server.
Because you are starting, I recommend you to use the Server Wizard in Jive menu. The steps are easy to follow.

1) delete what you have created
2) use the Server Wizard
Server name : TestDevice
Instance name : MyInstanceName (Here MyInstanceName is just an example, you can call it like you want)
Click on next (just one time for the moment)
3) open a command prompt in the python directory
4) launch the device server :
TestDevice MyInstanceName -v4 (-v4 is just for forcing debug messages)
5) On the wizard, click on next and then you will see the device declaration wizard
Just follow the steps.
6) In jive, click on your created device and test it.

Good luck
Thanks a lot, that was exactly what I was looking for. If I understand correctly, I can now add several more devices to the same device server using the wizzard again with the (now) existing server.
If everything works as planned I am definitely going to write a simple step-by-step guide for dummies :)
Yes, you can
Congratulations for your first dance ;)
 
Register or login to create to post a reply.