MTDATA – Phase Diagram Software from the National Physical Laboratory







Training and Support 




Other Services 





Configuration files


The mtconfig.txt file contains the names of databases and their aliases, preferably listed in order of usefulness to the user. The alias name comes first. The list is preceded by a number that limits how many databases from the list can be accessed. Each work folder (the folder where generated files are stored) can have its own mtconfig.txt file, with its own list of databases. This is particularly useful for those creating their own data on diverse projects and for assigning different database priority orders in different work areas. If the file is not present, the mtconfig.txt file used is that in the folder where the MTDATA executable and other permanent files are stored.

The name of the database should include the full pathname but not the extension. In the case of permanent databases the path can be replaced by ‘mt-’, which is the mtdata prefix.
The alias is used internally within MTDATA, most particularly in the command line version. The user of the databases in the Windows version does not see either the name or the aliases but rather the database descriptions. The following provides a minimal example of an mtconfig.txt file.

4 Number of databases that can be opened, up to 18
sgte_sol=mt-sgsol alias & database in the folder where the permanent files are stored
sub_sgte=mt-sgsub ditto
newdata1=c:\mtdata\project1\newdata1 alias & database in the folder indicated by the path
newdata2 database in the same folder as the mtconfig.txt file
newdata3 currently inaccessible database because it is the 5th in the list.
When the create database facility is used to create a new non-temporary database, it is placed in the working folder and the mtconfg.txt file in that folder is updated by the insertion of the new name and an increase in the number databases that can be opened. If a new database is created in a folder that does not contain an mtconfig.txt file, the default mtconfig.txt file will be copied to that folder. Only the copied version will be updated to include the new database.

If you wish to move a database to a different folder or to copy the mtconfig.txt file to another working folder, full pathnames must be provided to your working databases that are not in the new folder, as in the example of newdata1 above. If it is edited, mtconfig.txt must be saved as text.


The mtsignon.txt file contains important configuration data that should not be modified by the user.


Other configuration files include mtpermit.txt which contains an authorisation code tied to a computer ID that is unique to your computer hardware and operating system. This file will be created for you, based on information that you supply, by the MTDATA manager. If you have changed or modified your computer MTDATA for Windows may not run and a new file will need to be issued. The information needed can be found by using the Tools|Permit Information menu item.

Back to WinMT Help start


Updated 7 May 2010