微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > How to export CST eigenmode "Mode Frequencies" using VBA macro

How to export CST eigenmode "Mode Frequencies" using VBA macro

时间:03-30 整理:3721RD 点击:
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

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

网站地图

Top