LisRT Framework Manual
website·Indexed 31 days ago
https://manual.lisrt.deA highly modular framework for developing specific test applications. LisRT supports automated testing via Python scripting using the IronPython library, integrates the NLog framework for logging, and utilizes a results database compatible with SQLite. The documentation covers module configuration, type data inheritance, hardware adjustment for analog inputs, and user permission management.
What's inside LisRT
- LisRT is a highly modular framework designed for the development of specific test software. It provides essential base functions such as a messaging system and a multilingual user interface. The application is extended by creating test sequences, type management, result evaluation and storage, database connections, and operating modes using Python. Additionally, LisRT modules enable communication with hardware devices—including power supplies, multimeters, and oscilloscopes—as well as various Programmable Logic Controllers (PLCs) via multiple hardware and software interfaces.
Overview of the LisRT testing framework
LisRT is a modular framework designed for the development of custom testing software. It provides core functionality including reporting, a multilingual user interface, and result evaluation and storage. The framework supports test sequence creation using Python, type management, and database connectivity. It can be extended with modules to communicate with hardware devices such as power supplies, multimeters, oscilloscopes, and programmable logic controllers (PLCs) via various hardware and software interfaces.Understand the LisRT main window layout
The LisRT application main window consists of the following primary interface elements:
- Main Application Menu
- Active Notifications Display
- User Switcher
- Tabs (e.g., Service Window)
- Operating Mode Display and Selection (optional)
- Module Tree
- Status Bar
Understand the LisRT measurement result data hierarchy
LisRT organizes measurement data in a hierarchical structure to track the testing of physical objects. The hierarchy flows from the production context down to individual measurement values:
- Work Piece (Werkstück/DUT): The physical object being tested. It is identified by a unique ID (e.g., serial number) and can be associated with a production order, a batch, and one or more measurement cycles.
- Production Order (Fertigungsauftrag): An internal order to produce a specific quantity of work pieces. It can encompass one or more production batches.
- Production Batch (Produktionscharge): A production unit consisting of one or more production lots.
- Measurement Cycle (Messzyklus): A complete set of tests performed on a work piece. If a piece is re-tested (e.g., after repair), a new measurement cycle is created. A cycle's overall classification is derived from the classifications of its constituent measurement processes.
- Station: The specific LisRT station where the testing occurs.
- Measurement Process (Messprozess): A series of measurements based on a process defined in the type data. Only features marked as 'evaluation is required' contribute to the process's final classification.
- Result (Ergebnis): The individual measurement value for a specific feature. Results can be numeric (
value) or string-based (text).
Understand Type Data for workpiece testing
Type data are used to describe the special characteristics of different types of workpieces. They allow a single test program to be used to test specifications across different types of test items by defining the specific requirements and boundary conditions for each workpiece type.Understand LisRT operating modes
The LisRT application features two primary operating modes accessible via the mode switch on the right side of the main window:
- Manual Mode (Handbetrieb): The default mode upon program start. It allows for testing individual modules such as power supplies, multimeters, and scripts.
- Automatic Mode (Automatikbetrieb): Used to execute automatic program sequences. Switching to this mode brings the Automatic window to the foreground.
Program test sequences in LisRT using Python
LisRT allows test sequences to be programmed using Python via the IronPython library. This implementation supports Python 3.4 syntax and provides the ability to access any public .NET type (C# resource) and its members directly within the script.Understand and manage system messages in LisRT
The LisRT application uses three types of messages to communicate system status: Errors, Warnings, and Information. To view pending messages, click the messages display in the Gadget-Bar of the main window. This window displays the message type, the message text, and the associated module name.LisRT Result Database Overview
The LisRT result database supports the following database systems:
- Microsoft SQL Server
- PostgreSQL
- MariaDB
- MySQL
- SQLite (Note: SQLite is not suitable for production use).
In the result tables, the
Classificationcolumn is interpreted as follows:- 0: NotMeasured
- 1: Passed
- 2: Failed
- 3: NotEvaluated
- 4: Error
Understand the LisRT main window interface
The LisRT main window consists of several key functional areas used for navigation and system monitoring:
- Main menu: Primary application menu for global actions.
- Pending messages display: Shows currently active or pending system messages.
- User change: Interface for switching the active user profile.
- Tabs: Navigation tabs for different views, such as the Service window.
- Operating mode display/selection: An optional area to view and change the current system operating mode.
- Module tree: A hierarchical navigation structure for accessing different software modules.
- Status bar: Displays current system status and diagnostic information.
Understand the LisRT analog measurement chain
Analog inputs in LisRT process signals through a measurement chain to convert physical properties into digital values. The chain consists of:
- Sensor: Converts a physical quantity into an electrical signal.
- Signal Conditioning: Filters and amplifies the signal into a standardized format (e.g., 0-10V or 4-20mA).
- A/D Converter: Converts the analog signal into a digital bit value. For example, a 12-bit converter provides 4096 possible values (0-4095).
- Sensor Scaling: Maps the digital bit value to the physical unit (e.g., °C, bar, V).
- Adjustment: Minimizes deviations by comparing the measured value against a calibrated reference device.
Understand the Typdaten (Type Data) concept
Typdaten (type data) are used to describe the specific characteristics of different workpiece types. This allows a single test program to be used across various product types by referencing their specific specifications rather than hard-coding values for a single model.