This section is intended for system integrators, OEMs, and process control engineers responsible for customizing their DeltaV Operate software automation solution using Visual Basic for Applications. The manual assumes that you are familiar with Windows and the Visual Basic programming language.
The first few sections of the book provide some background on Microsoft Visual Basic for Applications (VBA), but the intent of this manual is to describe the implementation of VBA within DeltaV Operate, not to explain how to program in Visual Basic.
Starting with Optimizing Your VBA Project Development, the topics show, mostly by example, how to write VBA code for DeltaV Operate objects. Often the best explanation of the sample code lies within the commented lines (lines that begin with an apostrophe — these lines are for explanatory remarks and are ignored by the VBA compiler). Because each section is dedicated to a different object, you can find the information you need quickly and easily.
Several of the VBA scripting examples were added based on feedback that we received from DeltaV Operate users. Check the section names in the Table of Contents for the task that best describes what you want to do through scripting. If you find one that matches what you're looking for, click it to jump to the related section in this manual. If you don't find a match, browse the section that most closely fits your needs, as there are several examples or related topics within each section.
If you are new to the Visual Basic language, you may want to consult one of several sources of information on the basics of VB programming, which are beyond the scope of this book. If you are a novice VB programmer, check out Finding More Information to learn where to find information on general VB programming topics.