Paper
26 May 2023 Implementation of script system based on recording and playback with EventBus in industrial software
Author Affiliations +
Proceedings Volume 12700, International Conference on Electronic Information Engineering and Data Processing (EIEDP 2023); 1270034 (2023) https://doi.org/10.1117/12.2682264
Event: International Conference on Electronic Information Engineering and Data Processing (EIEDP 2023), 2023, Nanchang, China
Abstract
In large-scale engineering experiments, such as fluid mechanics and aerodynamics experiments, a large number of parameters and experimental data need to be recorded and managed in Computer-Aided Engineering (CAE) software by using finite element analysis to simulate physical fields. In the traditional way of dealing with tedious data, users need to repeatedly enter dozens or even hundreds of sets of data each time they conduct an experiment. In order to improve work efficiency and accuracy, recording user operations in GUI into a script file using some Domain Specific Languages (DSL) such as Python and playing that script file back to reproduce those user's operations are widely adopted by CAE software. A common script module ScriptSystem that supports recording and playback functions was introduced in this paper. It can be embedded into any CAE software, even other software that need this feature. By running scripts, those CAE software can automatically complete mesh partitioning, flow field calculation, pre-processing and post-processing. In addition, a demonstration program was developed to embed ScriptSystem into an open-source software FastCAE. The results showed that replaying scripts recorded by ScriptSystem module could obtain the same results as users do. ScriptSystem can be used as a general script module for any CAE software and other desktop software that requires recording and playback funtions. Furthermore, a message subscription module EventBus was proposed to decouple the ScriptSystem from underlying interfaces and implement the function of remote invoke.
© (2023) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Chengjie Fu, Shurong Zhou, and Tiejun Wang "Implementation of script system based on recording and playback with EventBus in industrial software", Proc. SPIE 12700, International Conference on Electronic Information Engineering and Data Processing (EIEDP 2023), 1270034 (26 May 2023); https://doi.org/10.1117/12.2682264
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Human-machine interfaces

Open source software

Operating systems

Software development

Engineering

Systems modeling

Visualization

Back to Top