Source: https://www.lusas.com/webinars/handouts/LUSAS Programmable Interface (LPI) Customisation and Automation Guide.pdf