微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Problems with macros in CST Design Studio 2009

Problems with macros in CST Design Studio 2009

时间:03-31 整理:3721RD 点击:
Hi everybody, I have problem. I am trying to get x a y values from Mix0D results in CST Design Studio by using macro. I can easily get x values. But I have a problem to get y values. Here is the code

Set res = CreateObject("CSTStudio.DSTable")
res.Load("path to Mix0D.tab")
With objName
iV = .GetVaryingParameter
nData = .GetNumberOfDataItems
k = .GetParameterNameFromIndex(iV)
For iData=0 To nData-1
sarray(iData) = sarray(iData) + CStr(.GetParameterValueOfDataItem(iData,iV))
varray(iData) = CStr(.Get0DDataItem(iData)) 'here is error, "unknown" data type instead of "0D real"
Next iData
End With

Please, can anybody help me?
上一篇:hfss matlab
下一篇:最后一页

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top