MTDATA – Phase Diagram Software from the National Physical Laboratory

 

 

 

Home 

News 

Products 


Training and Support 

FAQs 

Links 

Agents 

Other Services 

 

Services 

 

 

Instructions for Updating MTDATA Databases

Updating MTDATA Databases on Windows PCs

Please Note:
To simplify the process of updating databases on Windows PCs the self extracting files available from the the website now contain MTDATA databases ready for use (ie .DBS and .INX files) rather than portable databases.

Therefore these instructions are only suitable for PCs running Windows, ie using MTDATA for Windows and MTDATA for PC. For other systems eg Unix or Linux please see instructions below.

To update a database do the following

  • As a precaution make sure all your MTDATA files on the target computer are backed up, especially old versions of databases and files that you may have customised.
  • On the Download Page click the link for the database that you want to update. Some of the links are for multiple databases, eg all the aqueous databases are in one file.
  • Either save the file to your PC, or open it directly from the browser. If you select save then when it has finished downloading navigate to the file in Windows Explorer and double click it.
  • A window will now appear asking for the folder to which you want the files extracted. By default this is set to C:\MTDATA\WinMT, as this is the default install location for MTDATA for Windows. You should change this path if you installed MTDATA in a different location. Then click Extract.
  • The program will ask for confirmation that you wish to overwrite the existing files, you should select yes (but check just to be sure).
  • As the extracted files are .DBS and .INX files (rather than portable databases) they will now be available next time you run MTDATA.
  • The use of some databases may require amendments to your mtconfig.txt file(s) and possible additional database authorisations in the mtpermit.txt file. Please contact NPL if permit file modifications are required.

On Non-Windows Platforms, such as Unix or Linux

  • As a precaution it is a good idea to backup the databases (.DBS and .INX files) that you are planning to update.
  • Go to the data folder of the MTDATA FTP site : ftp.npl.co.uk/pub/software/mtdata/data
    • This folder contains ZIP files containing MTDATA portable databases (with extention .PRT).
  • Download the ZIP files for the databases that you require (ensuring that you use binary transfer mode).
  • Extract the portable databases from the ZIP files.
    • As portable databases are ASCII files it is important to extract them from the ZIP files using the ASCII text option to ensure the correct end-of-line characters are used. For example with GUNZIP the option -a should be used.
    • also once they have been extracted they must be transfered from machine to machine using ASCII mode.
  • Put the portable databases into the main MTDATA program folder.
  • Delete the existing MTDATA database files for the databases you are updating.
    • To do this, simply delete the relevant .DBS and .INX files for the database. These will have the same root filename as the .PRT file.
  • Run MTDATA. You should see a message that the databases are being converted.
  • When the conversion has finished the Which Module ? prompt will appear. You should now exit MTDATA to complete the database installation.
  • The databases should now be available for use. Run MTDATA in the normal way and test that the new databases can be accessed. When the installation has been verified you may delete or archive the portable database file (.PRT).
  • The use of some databases may require amendments to your mtconfig.txt file(s) and possible additional database authorisations in the mtpermit.txt file. Please contact NPL if permit file modifications are required.

Any problems?

If you have problems with any of the above, please contact Hugh Davies or Jim Robinson at NPL.


 

Updated 27 April 2010