<< Click to Display Table of Contents >> Navigation: Macros > Macro commands and parameters > Macro reporting commands > Macro write to an object > Macro command View |
Purpose:
Write macro resulting text next to an object in the one-line network diagram
General notation:
View ( Object, value1 [ , value2 [ , value3 ... ] ] )
Example:
Write P1, Q1 and I1 on one line next to each branch:
loadflow ( 0 , , true , false )
for(branch,a)
view(a,'P=',a.P1,'MW, Q=',a.Q1,'MW, I=',a.I1,'A')
end
The example prints text variable b next to each branch. In the next example for two branches of the demo-network:
See also:
Back to reporting commands.