Scripting Resources for DigitalMicrograph™ |
Struers Hardness Pattern Creator | |
Function |
Creates an xml file of the type used in Struers Durascan hardness systems for defining a pattern (grid) of test points for automated hardness testing. |
Version |
version:20140616, v1.0 |
Author |
D. R. G. Mitchell |
Acknowledgements |
- |
Comments |
Obviously this is a bit off the beaten track with respect to the normal TEM fare, but even if you don't want to make a grid pattern file (format .pat) for your hardness tester, this script may be a useful example of how to create customised text files. In this case it uses a dialog to set some parameters and then writes the text file directly to disk to recreate the xml format required for this task. It is trivial to modify this script to write in any format, add any header etc you require. |
System Requirements |
Should be compatible with all recent GMSes and Windows versions. Tested on GMS 2.3 running under Windows 7. The output text file is readable by the Struers Hardness testing software and has the extension .pat. The file itself is just plain text. |
Known Issues |
- |
Supported |
Yes. |
Included Files |
Script file. |
Source Code |
See attached script |