The application is designed to generate alarm frames in XML format based on a given set of triggers and messages. It provides a convenient way to create and manage alarm configurations for specific tags or data points.
- Alarm Frame Generation: The application can generate alarm frames with triggers and messages based on the number of alarms specified.
- Tag Identification: The application extracts information about the tag type and its associated bit value to construct the alarm frames accordingly.
- XML File Output: Users can choose to print the generated alarm frames in the console or save them to an XML file for later use.
- Updating Existing Files: The application allows users to read and update existing alarm frames from XML files.
- CSV Data Import: Users can import tag and message data from CSV files, enabling bulk configuration.
- Menu-Driven Interface: The application offers a user-friendly menu-driven interface to interact with various functionalities easily.
- Clone the repository to your local machine.
- Compile and build the application using a suitable C++ compiler.
- Run the executable to start the application.
- Choose from the available options in the menu to perform different actions:
- Option 1: Print alarm frame in the console and copy it manually to an XML file.
- Option 2: Select a file name then the alarm frame will be printed to an XML file.
- Option 3: Read and update alarm configurations from an existing XML file.
- Option 0: Exit the application.
- Follow the on-screen prompts to proceed with your chosen option.
The application has no external dependencies and can be run on any platform with a C++ compiler.