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.
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.