beautypg.com

Factorytalk view se client object model, Factorytalk view se client, Object model – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 664

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

C–4

• •

Project Explorer window

For each graphic display, a VBA project named DisplayCode is created. The Project
Explorer
shows the VBA project for each graphic display that is open in the Graphics
editor.

Each project contains a FactoryTalk View Studio Objects folder. This folder contains a
module called ThisDisplay, which represents the graphic display.

The module called ThisDisplay contains the code that interacts with objects on the
display. It can contain any number of procedures.

You can create additional VBA modules and user forms. To use the procedures in these
modules, you must call them from procedures that exist in the module called ThisDisplay.

Properties window

This window lists the property settings for the code modules, class modules, and the VBA
user forms and the objects on those forms.

Procedure or code window

This window is where you write and modify VBA procedures.

In ThisDisplay, any FactoryTalk View SE Client objects that raise events are listed in the
drop-down list at the upper left of the window. When an object is selected in the list, the
object’s events are listed in the drop-down list on the right.

FactoryTalk View SE Client

object model

The FactoryTalk View SE Client object model contains objects that represent the features
of the SE Client. Using these objects, you can interact with an SE Client by writing code
that is run when an object event occurs.

VBA can interact with the following objects in the FactoryTalk View SE Client Object
Model:

This object in the model

Represents this feature, collection, or graphic object

ActiveXControl

Properties and methods implemented by FactoryTalk
View graphics, with those of an ActiveX object.

AlarmSummary

The HMI tag alarm summary.

Application

The FactoryTalk View SE Client container program.
Use this object to gain access to the FactoryTalk View
graphics object model.

Arc

The arc object.

Arrow

The arrow object.