AnsweredAssumed Answered

Help with AEL built-in write_var()

Question asked by mew2cc on Oct 17, 2014
Hi, just trying to get a really simple test program to spit out the values of freq and an output power in ADS. Have run through and built the schematic and simulated it.

I try to run the following macro:
/* Begin */
write_var_f=write_var("output_Pou3.txt","W","! Freq      real(Pou3)/imag(Pou3)"," ", "f", freq, Pou3);
/* End */

But get the following error:
freq variable undefined

Is there a trick to defining my Pou3 and freq variables? Seems like they should just be built in; they're easy enough to grab and plot in the GUI...

Any tips? Thoughts?  

Outcomes