Adding function calls Open your layout project, for example, ARS121PF.dcproject. Double-click the first message (all of them need to be changed) in the layout. As an example, see ARS1210H. Right-click the corresponding Event and select Script. Uncomment Retrieved();. Select the Always check syntax when leaving editor check box to minimize the risk for errors. Click OK. Right-click the corresponding Message (connected to the previously selected Event), and select Script. Uncomment BeforeMsg();. Click Check Syntax to verify your code. In the Editor, select Trigger After. Uncomment AfterMsg(); Compile and ensure that no errors are shown.