Database re-initialization

  • Hello,


    We try to have an automatic database re-initialization when new dicom file are sending to the server repository by ftp.
    Conquest DICOM is configured with MySQL server database and connected with ODBC MySQL native client.
    We have tried to use dgate.exe (--regen: ; --initialize...) but it seems that any dgate command success (even --quit:...) and the GUI Conquest DICOM server still opens and nothing happens.


    How can we automatize the re-initialize database process (Windows scheduler + script) ?


    Is it possible to script these process (via MYSQL or ?) :
    Regen Database
    Step 1: Re-intialize SQL Tables
    Step 2: Load / Add DICOM Object files


    thank you for your exprtise and help. :idea:
    Regards,
    Khai HOUANG

  • Hi,


    dgate -- commands address a running server.


    So in the same dir:


    cd c:\dicomserver
    conquestdicomserver
    dgate --regen:


    will do a full regeneration.


    The dgate -- executable uses dicom.ini to know which port to use. Running it from another directory may not work.


    Marcel

  • Hello Marcel,


    Yes, we can regenerate the database with the command.
    In fact, we need to start a new conquestdicomserver GUI instance and then regenerate the database with --regen:


    Do you know how can we close one of the existing GUI instance ? Indeed, we have 2 running instance at the same time.
    We have tried C:\dicomserver\DGATE --quit: with no success yet.


    thank you for your help.
    Khai HOUANG
    Belgium

  • Hello,


    In fact, we need to let open a Conquest GUI interface to be able to transfer data from remote location to the database (query, copy to destination...). Then we schedule a batch with the command "conquestdicomserver + dgate --regen:" to be able to synchronize the database with the new data.


    Problem is when the batch execute conquestdicomserver command, a second Conquest GUI instance is opened. The database is well re-initialize but we have 2 Conquest GUI.
    And just using the dgate --regen: command in the batch doesn't re-initialize the database :-(


    Is it a solution to close properly a Conquest GUI instance wihtout killing the process ? or using dgate --quit: to close the GUI?


    thank you :idea:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!