• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > CST > CST使用问答 > Problems with macros in CST Design Studio 2009

Problems with macros in CST Design Studio 2009

录入:edatop.com     点击:
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?

申明网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的CST视频培训教程

上一篇:cst manual
下一篇:how to reduce efficiency of vivaldi antenna using CST

CST培训课程推荐详情>>

  网站地图