- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > CST > CST使用问答 > How to export CST eigenmode "Mode Frequencies" using VBA macro
How to export CST eigenmode "Mode Frequencies" using VBA macro
录入:edatop.com 点击:
Hi,
I have a problem with CST ascii export using VBA script. I have used CST Eigenmode solver to simulate a periodic structure for 20 number of modes. A parameter phaseY is used in parameter sweep with 80 number of iterations.
The results are OK but the problem arises with exporting the whole data set. I used both of the following methods
Method 1:
SelectTreeItem "1D Results\Mode Frequencies"
ExportPlotData "Output.txt"
Method2:
SelectTreeItem "1D Results\Mode Frequencies"
With ASCIIExport
.Reset
.FileName ("Output.txt")
.Mode ("FixedNumber")
.Step(80)
.Execute
End With
The Problem:
In parameter view I have a data set of 21 columns, which are including the folowing parameters
1. phaseY
2.Mode1
.
.
.
21. Mode20.
There are 80 number of rows correspond to the number of iteration. When I execute the above VBA macro, the Output.txt file contains only a few rows (25) out of all 80 rows.
I can't understand what is happening wrong.
Please help me
I have a problem with CST ascii export using VBA script. I have used CST Eigenmode solver to simulate a periodic structure for 20 number of modes. A parameter phaseY is used in parameter sweep with 80 number of iterations.
The results are OK but the problem arises with exporting the whole data set. I used both of the following methods
Method 1:
SelectTreeItem "1D Results\Mode Frequencies"
ExportPlotData "Output.txt"
Method2:
SelectTreeItem "1D Results\Mode Frequencies"
With ASCIIExport
.Reset
.FileName ("Output.txt")
.Mode ("FixedNumber")
.Step(80)
.Execute
End With
The Problem:
In parameter view I have a data set of 21 columns, which are including the folowing parameters
1. phaseY
2.Mode1
.
.
.
21. Mode20.
There are 80 number of rows correspond to the number of iteration. When I execute the above VBA macro, the Output.txt file contains only a few rows (25) out of all 80 rows.
I can't understand what is happening wrong.
Please help me
申明:网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的CST视频培训教程。
上一篇:Design of UHF RFID tag antenna with CST Mws?
下一篇:CST mesh size for resonator