2 General Description > 2.1 Software

2.1.3 Calculation Dispatcher program (RExeTris)

Numerical calculations can be performed in two ways: synchronously and asynchronously in respect to the main program. Which of these modes is used a user decides by checking the While-U-Wait check box on the Spectrum folder or corresponding button on the Main form. The synchronous calculations mean that the main program suspends all its activities and waits for the calculations to be completed and the results on the main graph displayed. In this mode no temporary files are created and all information between the main application and the numerical libraries is exchanged via the computer memory. The Calculation Dispatcher program is started by the main program when the first file for an asynchronous calculation is sent for processing by the user. It runs in the background and communicates with the main application via a file (RExeTBuf.ini in the Windows directory). This file needs to be inspected only in the case that the asynchronous numerical calculations do not start. The RExeTris program shuts down when the queue is empty and the main application is not running. This program can be forced to shut down despite the queue not being empty, however, this may not be instantaneous if intensive computations are being performed. The program can be started separately later on to resume the calculations according to the status of the queue. The asynchronous numerical calculations performed by the RExeTris program do not affect the measuring process.