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.

Problems with macros in CST Design Studio 2009

Status
Not open for further replies.

xwolan00

Newbie level 3
Joined
Mar 1, 2010
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Brno University of Technology
Activity points
1,305
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?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top