The package daqctl is a part of the daqset. It is made of a library, several example programs and some applications. This is the version 2, part of daqset version 2. Several major modifications have been implemented; please read the release notes to have an overview on them.
The library daqctl contains both all the functions to implement the network part of the KLOE message system (ksnmplib.c) and a set of general functions (utilib.c) used in ksnmplib and in the related applications.
In version 2, both snmp session and remote process variable management can be completely hidden to the final user, a call to a single function performs, for instance, the retrieval of a remote process variable. The user has not to take care of the snmp session used or to search the snmp name corresponding to that variable.
ksnmplib has been divided in several files, each file containing the functions related to a task managed by this library. The documentation is organized following the same logic.
Library documentation:
Some simple examples can be used to learn how the system works.
The application part contains the standard applications for the data flow control. These applications are written using the KLOE DAQ process template and implementing the complete message system:
an event generator to simulate the first level of the KLOE DAQ and test all the trasmission chain from the data collection to the final event building.
the KLOE Data Flow Control. It receives commands from its daemon (dfcd) and changes the table containing the addresses of the event receivers.
the KLOE Data Flow Control Daemon. It receives messages (SNMP traps, QUE_ALMOST_FULL and QUE_AVAILABLE) from the data receivers and converts them in commands to the dfc.