Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

AWR MWO - How do you make a variable from Output Equations global ?

Status
Not open for further replies.

AnastasiaIvanova

Newbie level 2
Joined
Oct 1, 2018
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
16
I was wondering if somebody could help me with a problem.
First I am Assigning the Result of a Measurement to a Variable, then I want to make this variable global - to somehow transfer it into the Global Definitions field. Is that possible?
Couldn't find any information on that in User's Guide.
Thank you!
 

I suppose the measurement is a local variable by necessity? Then you need to create a second variable which is global from the start. Set that equal to the local variable as soon as the measurement is done.
 

error.PNG
Thank you for the answer.
Unfortunately, it doesn't work like that!
It says "variable not found"
 

MWO =Microwave Office. With most programming languages, it is customary to declare (or dimension) global variables at the beginning of a program. Often we add a command which sets each variable to a definite value (or else zero).

Looking at your error log, it appears that EQ1 is a variable which was not declared. Or perhaps you created it inside a local function? Therefore it only exists inside that function? And it is unrecognized outside that function.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top