Description of the problem
For a long term measurement there is a need to simultaneously measure and export data when using multifile storing. For example, for measurements that cannot be interrupted.
Description of the solution
The solution is to use a sequencer while running two instances of DewesoftX. We will use one instance for multifile storing. The second instance will run the sequence, which will monitor the storing folder and export every new datafile. See the instructions below.
First, in the settings, choose the option "Allow multiple instances of Dewesoft".
Download the files from our Google Drive.
Start the first instance and set up the multifile storing.
Start the second instance and open the downloaded sequence and save two batch files to a folder. The sequence will monitor the folder that the multifiles will be saved in and export the files immediately after they are generated.
In the sequence, some paths have to be edited to point to your data folder:
Change path to the script called "test_used.bat". The script returns 1 if the datafile, that is stored in the variable "File-1", is used, i.e. DewesoftX writes to the datafile. Once it's completed the script will return 0 and the sequence will continue to load that datafile and then exports it.
The parameter "File-1" has double quotation marks as well as single quotation marks that indicates variable name.
Change path to the script called "test.bat". The script compares whether the count of datafiles in the folder "C:\MultiFileFolder" is the same as the "cnt" variable. This is a check if a new file was stored. When the new file appears in the folder the "NewFile" variable will get a value of 1.
Additionally, export parameters need to be defined for desired requirements, according to the manual: https://manual.dewesoft.com/x/setupmodule/extensions/auto-export
In the first instance, start the storing.
In the second instance, start the sequence. When observing the local Export folder (for example: "C:\DewesoftX\Exports"), you should see the export files being generated.