ska-sa / tango-simlib

Generic data-driven device simulator generation for PyTango
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Run device server using file or real database #86

Closed kmadisa closed 6 years ago

kmadisa commented 6 years ago

Run device server using file or real database

The write_device_properties_to_db was creating an instance of the database by connecting to the real database server. This is not something we want to do everytime, as we want to run a tango device using a file as a database (for the mkat-rts configuration).

I also changed the get_file_name utililty function to get_database. It now returns the tango database instance.

JIRA: MT-145