Example: Nested macros

A macro called
Draw
contains the following:
DI overview
DI detail /q1
and a macro called
OView
contains the following:
define DI Display
draw
set valve23 open
The
OView
macro displays a graphic called
overview
, then overlaps it with a graphic called
detail
in the upper right quadrant, then sets the data item
valve23
to its
open
state.
TIP:
In this example, the
Display
commands have been replaced by the symbol
DI
.
The single quotation mark (
'
) is a special character in
FactoryTalk View
and cannot be used in nested macros. Instead, use the double quotation mark (").
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal