<< Click to Display Table of Contents >> Navigation: The System Automation Tab > Automatic XYZ Acquisition > Table Macro programming |
Table Macro programming
The position table can easily be modified manually. The smarter way is to do it automated by writing a specialized macro. Advanced operations and transformations can be performed.
The macro language is C# - and writing a macro requires some programming skills.
Open the macro editor. The button name ‘MyCaption’ can change programmatically in the macro to a more intuitive name.
|
|
Please contact [email protected] for help with your specific macro programming – if necessary.
Click the ‘Edit’ button to enter edit mode. The text window will turn yellowish.
As example we change the Caption function – this will change the macro button name.
Click ‘Build’ – and hopefully the build is successfully.
The button name will reflect the macro change.
Macro error
In case of a syntax error, the line number and some text is displayed in the upoper right window. In this example there is a trailing ‘m’ character problem in line 10.