I got some difficulty to export datafile in ADS simulation.
My hardware:
I have ADS2005A installed on a HP Windows XP workstation.
Software installation: following prompt instruction with ADS installed at C:\ADS2005A, and projects are lumped in C:\ADS_users.
I tried two examples, ID 142322 and ID 218849, and none of them went through.
I followed the instruction "How do I install custom AEL expressions in ADS?". My system setup doesn't has the search path for "C:\ADS2005A\expressions\ael" directory. I tried to load the "writepara.ael" with full pathname and put this file in my current project directory followed by loading it. The loading looks normal.
Then I run "dsp_sim" design by clicking the "Simulate" icon on toolbar, I always got following error, "Unable to resolve variable(s) or function(s) in expression 'Export = writepara2d(FileName, "W", Header, Delimiter,N1, N2, NBits)' writepara2d ".
It seems to me something is not interpreted correctly.
I looked at the code of "writepara.ael",
the definition of fuction, "defun writepara2d(Filename, WriteAppend, HeaderText, Delimiter)", has less input parameters than in schematic MeasEqn. Does it matter?
Did I miss some steps or my ADS system setting need to be changed?
Thanks,
Xu
My hardware:
I have ADS2005A installed on a HP Windows XP workstation.
Software installation: following prompt instruction with ADS installed at C:\ADS2005A, and projects are lumped in C:\ADS_users.
I tried two examples, ID 142322 and ID 218849, and none of them went through.
I followed the instruction "How do I install custom AEL expressions in ADS?". My system setup doesn't has the search path for "C:\ADS2005A\expressions\ael" directory. I tried to load the "writepara.ael" with full pathname and put this file in my current project directory followed by loading it. The loading looks normal.
Then I run "dsp_sim" design by clicking the "Simulate" icon on toolbar, I always got following error, "Unable to resolve variable(s) or function(s) in expression 'Export = writepara2d(FileName, "W", Header, Delimiter,N1, N2, NBits)' writepara2d ".
It seems to me something is not interpreted correctly.
I looked at the code of "writepara.ael",
the definition of fuction, "defun writepara2d(Filename, WriteAppend, HeaderText, Delimiter)", has less input parameters than in schematic MeasEqn. Does it matter?
Did I miss some steps or my ADS system setting need to be changed?
Thanks,
Xu
Anyway, you could use the new built-in function write_var instead of writepara. The write_var function works in a similar way as writepara - but doesn't have to be loaded in a special way since it is a built in function. writepara was written as a workaround before the write_var function was included as a built-in function.
If you still want to use writepara then you need to put the writepara.ael file in
 Â
$HOME/hpeesof/expressions/ael   (User config)
or
   Â
$HPEESOF_DIR/custom/expressions/ael (Site config)
(Create the subfolders if they don't already exist)
Then you need to create a new file user_defined_fun.ael in the same directory, if it doesn't already exist.
Add this line in the user_defined_fun.ael file:
load("writepara");
Restart ADS.
This is all explained in the AEL Expression installation document.