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.

ADS Does not recognize ael expression code

Status
Not open for further replies.

Ata_sa16

Full Member level 6
Joined
Mar 29, 2016
Messages
343
Helped
59
Reputation
118
Reaction score
58
Trophy points
28
Location
Milky Way Galaxy, 179° 56′ 39.4″
Activity points
2,221
Hi,

I am trying to run .ael expression file for a circuit simulation results.

1) I copy mycode.ael to expression/ael folder
2) I open user_defined_fun.ael and write load("mycode.ael")
3) I restart ADS

but still when I do run, in dds results window it does not recognize the function I have loaded.

Could anyone help me please ? Thank you.


user_defined_run


// Copyright 1999 - 2014 Keysight Technologies, Inc
// Do not add any function in this file.
// This is reserved for user defined functions.

load("area_curve");

//
// ***** DO NOT DELETE THE FOLLOWING!!!!! *****
//
// This obviously isn't a C++ file, but the C++ editing mode works.
//
// Local Variables:
// mode: c++
// header-comment-character: ?*
// header-prefix: "/* -*-C++-*-"
// header-suffix: "*/"
// End:
 
Last edited by a moderator:

1) I copy mycode.ael to expression/ael folder
2) I open user_defined_fun.ael and write load("mycode.ael")

There are different ways and places to load custom equations, so let's be more specific what files in what directories you changed. Do you refer to expression/ael/user_defined_fun.ael in the ADS installation directory?

In your example above, you show a call
load("area_curve");
Is this the actual name of your *.ael file?

Maybe there is a syntax error in your file, so that it fails when ADS tries to compile it. Check if ADS created the compiled *.atf for your file, otherwise there is some error in your file and then it doesn't load.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top