Introduction

The complete documentation for the DAQ - DCS Communication package may be found at CERN/EDMS as https://edms.cern.ch/document/684955/5.5

General changes

The DIM library version 18 release 4 installed, where a series of DIM problems is fixed.

Changes in the Command Transfer

NT Command Server: Since this release the IS server DDC is used for the NT-commands. This server is included by default into the infrastructure of any TDAQ partition.
API changes:
The controller name, which a command addresses to, is introduced as a parameter std::string ctrlName into all public methods of the DdcCommander interface. This is strongly caused by the requirement that a controller should not accept the NT-commands addressed to other controllers.

    // For a command defined in the configuration
    bool ddcSendDaqCommand(Configuration* confDb, std::string ctrlName, std::string daqCommandName);
   
    // For "direct" command defined by known PVSS DIM-RPC-service
    bool ddcSendCommand(std::string ctrlName, std::string commandName, std::string commParameters,
                        unsigned int timeout, bool BM = false);

    // For "direct" command with receiving response (high level interface)
    int ddcExecCommand(std::string ctrlName, std::string command, std::string params,
                       unsigned int timeout, bool queued = false);
   
    // To remove last command from the RunCtrl IS server
    bool ddcRemoveCommand(std::string ctrlName, std::string cmdName);
  
    // To build the IS entry name for the command response
    std::string    makeResponseName(std::string ctrlName,std::string commandName);
    std::string    makeResponseName(Configuration* confDb, std::string ctrlName, std::string commandName);

Internal Improvements:
1. Fixed a bug in sending parllel non-transition commands.
2. Cleaning of "hanging" NT-commands moved from the FINAL transition to the start up of the DDC controller

No functional changes in the Data and Message Transfer applications

Fixed an internal synchronasation bug of dynamic subscribe/unsubscribe PVSS data by a TDAQ application