• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > ADS > ADS FAQ > How to best access trace objects in .dds

How to best access trace objects in .dds

录入:edatop.com    点击:

As stated here Scripting Data Display, I need to filter out unneeded data by evaluating the datasets.

So I figured I would just work with the trace created in .dds:

traceID = get_new(goId0, "Trace", "time", "X Axis", "Y Axis");

How do you best interface with trace to programatically generate other objects using AEL in .dds? Maybe access the data points as arrays or matrices or lists? Or do I first have to convert it to those types? How?

Working with traces probably is roundabout way of doing this. I simply need to convert the Data to an AEL array. How do I do this?

There's this: http://edadocs.software.keysight.com/display/ads2009/Working+with+Data+Files , but it only deals with the saved files themselves (my data is produced at simulation) and no way to easily convert to arrays.

There is a dstoarray function. Also, if you use MeasEqns on a schematic, the results will be written into the dataset.

The first argument is supposed to be a Dataset variable. So I'll be needing the dsexpr(). Though I can't get dsexpr() to work.

Alright, say I have a schematic with a labelled wire "V_OUT" and I know it's a Dataset as it appears in the list of "Datasets and Equations" in "Plot Traces & Attributes" in the Data Display. So I try this code at cell1.dds:

decl datasetvar = dsexpr("V_OUT", "cell1.ds");
/*
I also tried specifying the full absolute path, both in Windows convention and "Linux-like" convention.
Also tried relative path with "/.data/cell1.ds"
*/

Then the compiler produces error. I really don't know what I'm doing wrong.

ren_zokuken01 on Apr 14, 2016 3:59 AM

In the documentations this is the only example provided:

S11Var=dsexpr("S(1,1)", "spar.ds");

Maybe this works on S-param simulation, but I'm doing transient.

I REALLY don't want to be wasting time anymore.

申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程

上一篇:Constellation ()
下一篇:re:HF rectifier simulation

ADS培训课程推荐详情>>

  网站地图