To create an entry using a custom script:
- Double-click the schedule you want to add the entry to in the system tree. The schedule appears in the iFIX WorkSpace.
- Right-click a row in the schedule and select Add New Event Entry from the pop-up menu. The Add Event Entry dialog box appears.
- Or -
Right-click a row in the schedule and select Add New Timer Entry from the pop-up menu. The Add Timer Entry dialog box appears.
- Enter the Schedule and Trigger information and click the VB Editor button. The Visual Basic Editor (VBE) appears.
- Write your custom script in the VBE and click the Save Project button on the toolbar.
- Exit the VBE and click OK.
NOTES:
- Although the Multiple Command Script Wizard's purpose is to fully automate the VBA command scripting process, you can manually edit scripts generated by the wizard with the VB Editor. You may add or edit VBA scripts anywhere before the Scripts Authoring Tool header line (***** Scripts Authoring Tool *****), or directly between a "WizardEnd" and a “Wizard[x]=” statement. Do not edit any of the commented areas in the wizard-generated script. If the Multiple Command Script Wizard detects an improperly customized VBA script, you may encounter an error.
- The Multiple Command Script Wizard does not check the command sequence to make sure commands occur in a logical order.