- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
Problem with using CST MWS vba scripting language to calculate Farfield
录入:edatop.com 点击:
Hi all,
I have a problem with the CST vba.
I use vba scripting language in CST MWS to design a model and run simulation. It's OK.
Next step, I want to get the far-field data in .txt file as the Code:
But this is not working.
Do you have any idea?
I have a problem with the CST vba.
I use vba scripting language in CST MWS to design a model and run simulation. It's OK.
Next step, I want to get the far-field data in .txt file as the Code:
Code:
SelectTreeItem("Farfields\farfield[1]")Dim dTheta As Double, dValue As DoubleOpen "C:\Data\mydata.txt" For Output As #1FarfieldPlot.SetPlotMode "directivity" For dTheta = 0 To 180 STEP 5 dValue = FarfieldPlot.CalculatePoint(dTheta, 0, "Abs", "farfield[1]") Print #1, CStr(dTheta) + " " + CStr(dValue) Next dThetaClose #1
Do you have any idea?
申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的CST视频培训教程。
上一篇:simulating 2 ports RFID tag antenna using CST
下一篇:Help me to solve an error in CST simulation.