Invoke – Rockwell Automation RSView32 Runtime Users Guide User Manual

Page 61

Advertising
background image

A–30

RSView32 Runtime User’s Guide

Examples: The Identify command

Identify Hopper1\Divider

Runs the Identify command or macro for the

tag Hopper1\Divider

, whether or not the tag is in alarm.

Identify [tag]

Runs the Identify command or macro for the selected tag in the
active graphic display.

Identify

Runs the Identify command or macro for the most recent, most
severe unacknowledged alarm.

Invoke

Invoke <parameter>

Use this command with ActiveX objects. Use the command to:

call an object’s method

assign the value returned by a method to a tag

set an object’s property to a tag value or a constant

set a tag to the value of an object’s property

The easiest way to specify the <parameter> string for the Invoke
command is to use the Command Wizard.

The syntax for this command has four variations:

file.object.method(parameter1, parameter2, . . .) calls an object’s method

file

The name of the graphic display that contains the
ActiveX object

me

An alternative to using file. At runtime it resolves to
the graphic file that has focus.

Advertising