完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
您好,在ADS2012.08中,如何才能将自定义AEL代码仅针对给定工作区进行编译?
我是否需要将.ael文件放在工作空间位置并使用LOCAL_AEL变量指向它们?通常,我是AEL代码编写的新手。 我一直在线阅读安捷伦文档,但是我在工作区内编译和调试AEL代码时遇到了问题。安捷伦是否提供AEL培训?有没有人有一个好的地方可以选择简单的例子?我想创建自定义变量方程式( 功能)在原理图中,以及在数据显示中。谢谢。 以上来自于谷歌翻译 以下为原文 Hello, In ADS2012.08, how can I get my custom AEL code to compile only for a given workspace? Do I need to place the .ael files in a workspace location and point to them using the LOCAL_AEL variable? In general, I am new to AEL code writing. I have been reading the Agilent documentation online, but I am having trouble with compiling within a workspace and debugging AEL code. Does Agilent offer AEL training? Does anybody have a good place to go for simple examples? I want to create custom variable equations (functions) in schematics, as well as in the data display. Thanks. |
|
相关推荐
10个回答
|
|
|
|
|
|
***5 发表于 2018-12-4 12:14 安迪,感谢你的文件链接。 这是非常翔实的。 我会详细阅读。谢谢。 以上来自于谷歌翻译 以下为原文 Andy, Thanks for the link to your document. It is very informative. I will read in detail. Thanks. |
|
|
|
你问过AEL培训:你在哪里?
去年9月,安捷伦在其Gent / Belgium办事处提供为期2天的“ADS AEL和PDL开发”培训。 有很多PDK内容,但这也涵盖了AEL和一般的定制。 强烈推荐!最好的问候沃尔克 以上来自于谷歌翻译 以下为原文 You asked about an AEL training: Where are you located? Last September, Agilent offered a 2 day training "ADS AEL and PDL development" in their Gent/Belgium office. There was a lot of PDK content, but this also covered AEL and customization in general. Highly recommended! Best regards Volker |
|
|
|
lmksa 发表于 2018-12-4 12:41 沃尔克,我位于美国芝加哥西北郊区。 我已经联系了当地的销售人员以获取更多信息。戴夫 以上来自于谷歌翻译 以下为原文 Volker, I am located in the U.S. in northwest Chicago suburbs. I have contacted my local sales person for more information. Dave |
|
|
|
对于“原理图中的自定义变量方程(函数)”,您需要提供更多信息。
您对此要求的具体考虑是什么?对于数据显示,它更直接。 你在这里处理的是Measurement Expressions。 可以开发的自定义功能,以支持模拟数据的后处理。 这些最好是作为自定义AEL文件创建的,通过user_defined_fun.ael文件加载,所有内容都保存到您的主目录中(在$ HOME / hpeesof / expressions / ael中)。 配置完成后,随后添加的任何自定义都将自动用于使用ADS 2012.08的任何工作空间。这在“设计工具”>“测量表达式”>“度量表达式简介”>“用户定义函数”下的“帮助”>“主题和索引”中有说明。 .Measurement Expressions并非旨在配置为特定工作空间的一部分,但可以将它们添加到库(设置为PDK),并且可以为特定工作空间启用该库,但如果涉及到该过程,则可以启用该库。 最好开发上述功能,一旦工作,可以根据需要重新配置。在$ HPEESOF_DIR / expressions / ael中有许多Measurement Expressions AEL文件的例子,如果需要可以读取并用于参考。 以上来自于谷歌翻译 以下为原文 For "custom variable equations (functions) in schematics" you need to provide a bit more information. What exactly are you thinking about for this requirement? For the data display it is a bit more straight-forward. What you are dealing with here are Measurement Expressions. Custom functions that can be developed to support post-processing of simulation data. These are best created as custom AEL files, loaded via the user_defined_fun.ael file and everything is saved into your Home Directory (in $HOME/hpeesof/expressions/ael). When this is configured then any customization added there will automatically be available to use for any workspace you work with using ADS 2012.08. This is documented in Help > Topics and Index under Design Tools > Measurement Expressions > Introduction to Measurement Expressions > User-Defined Functions. Measurement Expressions are not intended to be configured as part of a specific workspace but they can be added to a library (set up as a PDK) and that library can be enabled for specific workspaces but that process if quite involved. It is better to develop the function as above and once working they can be reconfigured as necessary. There are many examples of Measurement Expressions AEL file in $HPEESOF_DIR/expressions/ael that can be read and used for reference if required. |
|
|
|
411easdd*** 发表于 2018-12-4 13:07 根据您的意见,我想我可能想要使用可用于给定工作空间而不是整个ADS用户会话的PDK。 我想为其他同事提供一个工作区,但我不想让他们将文件放在他们的主目录中(在$ HOME / hpeesof / expressions / ael中,以使工作区正常运行。我认为PDK会更清洁, 只激活我提供它们的工作空间的AEL代码。图像我有一个包含400个方程式的数据显示。这可能会使数据显示缓慢操作。我想将这些方程式移动到AEL文件中并获得可变结果 如果我可以将这些方程式移动到AEL中,我可以通过利用AEL中的“while循环”功能来压缩方程式。我不想将这些方程式放入原理图中,因为这将使 模拟需要更长时间才能运行(例如在'测量方程'中)。任何想法?戴夫 以上来自于谷歌翻译 以下为原文 Based on your comments, I think I may want to use PDKs which can be used for a given workspace and not for the entire ADS user session. I want to provide a workspace to other colleagues, but I do not want to have them placing files within their Home Directory (in $HOME/hpeesof/expressions/ael to get the workspace to run properly. I think a PDK would be cleaner and only activate the AEL code for the workspace that I provide them. Image I have a data display that contains 400 equations. This can make the data display slow to manipulate. I want to move these equations into an AEL file and have the variable results available for plotting within the same data display. If I can move these equations into AEL, I can condense the equations by making use of the 'while loop' capabilities in AEL. I do not want to place these equations into tho schematic since this will make the simulation take longer to run (such as in a 'measurement equation'). Any thoughts? Dave |
|
|
|
www032 发表于 2018-12-4 13:25 嗨Dave,这里有一些尝试:如果要使用AEL数据显示表达式自定义数据显示,文件名为+ dk_defined_fun.ael +,文件路径在库的+ eesof_lib.cfg +文件中使用变量EXPRESSIONS_DIRECTORY指定。 示例:EXPRESSIONS_DIRECTORY = .. / expressions / ael这将是您为PDK方法所做的,我认为它也可以用于工作区库。 要编辑+ eesof_lib.cfg +,请右键单击ADS工作区树中的库(在库视图模式下),然后选择“配置库”。 这将打开一个多页对话框。 您要编辑的设置是“自定义AEL”选项卡上的“表达式目录”。如果您搜索EXPRESSIONS_DIRECTORY,可以在ADS在线帮助中找到更多详细信息。祝您好运,并告诉我们这是否适用于“正常工作空间” 案件。 对于PDK,它是已知的工作。最好的问候沃尔克 config_library.PNG39.0 KB 以上来自于谷歌翻译 以下为原文 Hi Dave, here is something to try: If you want to customize data display with AEL data display expressions, the file name is +dk_defined_fun.ael+ and the file path is specified with variable EXPRESSIONS_DIRECTORY inside the library's +eesof_lib.cfg+ file. Example: EXPRESSIONS_DIRECTORY=../expressions/ael That is what you would do for the PDK approach, and I think it might also work for a workspace libray. To edit +eesof_lib.cfg+, right click the library in the ADS workspace tree (in Library View mode) and select "Configure Library". This will bring up a multi-page dialog. The setting you want to edit is "Expressions directory" on the "Custom AEL" tab. More details are found in the ADS online help if you search for EXPRESSIONS_DIRECTORY. Good luck, and let us know if this works for the "normal workspace" case. For PDK, it is known to work. Best regards Volker 附件
|
|
|
|
lmksa 发表于 2018-12-4 13:40 嗨,戴夫,我刚刚测试了我上面提出的方法,它运行正常。 因此,您确实可以在工作空间库中定义自定义方程(表达式),而无需使用单独的PDK。 我的示例工作区已附加。 最好的问候沃尔克 Equation_Test_wrk.7zads5.9 KB 以上来自于谷歌翻译 以下为原文 Hi Dave, I've just tested the method that I proposed above, and it works fine. So you can indeed define custom equations (expressions) inside the workspace library, without using a separate PDK. My example workspace is attached. Best regards Volker 附件
|
|
|
|
嗨Dave,你是对的,我确认稍后加载到同一会话中的其他工作区将“看到”自定义表达式,尽管它只在第一个工作区中本地定义。 似乎表达式一旦加载,就不会从内存中清除。 但是,打开您遇到的工作区时,我没有看到错误。 这可能与您的代码有关,您应该能够解决这个问题。 这条消息看起来很奇怪。 在数据显示中使用AEL表达式时,是否显示/报告任何错误? 您是否尝试使用控制台输出调试AEL代码(fputs到stderr)? 最好的问候Volker 以上来自于谷歌翻译 以下为原文 Hi Dave, you are right, I confirm that other workspaces loaded later into the same session will "see" the custom expression, although it was only defined locally in that first workspace. It seems that expression, once loaded, are not cleared from memory. However, I do not see the error upon opening the workspace that you have experienced. This might be related to your code and you should be able to fix that. The message looks weird. When you use your AEL expression in the data display, does that show/report any errors? Have you tried debugging your AEL code with console output (fputs to stderr)? Best regards Volker |
|
|
|
您好,如果您对定制的AEL培训课程感兴趣,请联系您当地的Agilent EEsof现场工程师。
我们目前没有标准的AEL培训课程。 但我们可以提供定制培训课程作为咨询服务.Edwin YeungAgilent EEsof技术支持 以上来自于谷歌翻译 以下为原文 Hello, Please contact your local Agilent EEsof field engineer if you are interested in a custom AEL training class. We do not have a standard AEL training class at the moment. But we can provide a custom training class as a consulting engagement. Edwin Yeung Agilent EEsof technical support |
|
|
|
只有小组成员才能发言,加入小组>>
1226 浏览 0 评论
2348 浏览 1 评论
2159 浏览 1 评论
2024 浏览 5 评论
2906 浏览 3 评论
972浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
705浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
806浏览 0评论
1228浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 09:27 , Processed in 1.521467 second(s), Total 67, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号