Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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

Status
Not open for further replies.

susovan0010

Junior Member level 2
Joined
Oct 11, 2010
Messages
20
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,281
Activity points
1,435
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
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top