淘宝官方店 推荐课程 在线工具 联系方式 关于我们 | |
微波射频仿真设计 Ansoft Designer 中文培训教程 | HFSS视频培训教程套装 |
|
首页 >> Ansoft Designer >> Ansoft Designer在线帮助文档 |
Script Guide > GetOutputVariableValueUse: Gets the double value of an output variable. Only those expressions that return a double value are supported. The expression is evaluated only for a single point. Syntax: GetOutputVariableValue(<OutputVarName>, <VariationKey>, <SolutionName>, <ReportType>, <Context>) Return Value: Double value of the output variable . Parameters: <OutputVarName> Type: <string> Name of the output variable.
<VariationKey> Type: <string> Example: “ ’F=’20GHz’ x_size=’1.0in’ ”
<SolutionName> Type: <string> Name of the solution as listed in the output variable UI. For example: "Setup1 : Last Adaptive"
<ReportType> Type: <string> Possible values are: "Standard" - For most plot types. "Load Pull" - For load pull plots. "Constellation" - For constellation plots. "Data table" - For data tables. "Eye Diagram" - For eye diagrams. "Statistical" - For statistical plots.
<Context> Type: Array Context for the output variable. For more information see SimValueContext.
Example: ' ---------------------------------------------- ' Script used by Ansoft Designer Version 4.1.0 ' ---------------------------------------------- Dim oAnsoftApp Dim oDesktop Dim oProject Dim oDesign Dim oEditor Dim oModule Set oAnsoftApp = CreateObject("AnsoftDesigner.DesignerScript") Set oDesktop = oAnsoftApp.GetAppDesktop() oDesktop.RestoreWindow Set oProject = oDesktop.SetActiveProject("MyTransientProject") Set oDesign = oProject.SetActiveDesign("Nexxim1") Set oModule = oDesign.GetModule("OutputVariable") val1=oModule.GetOutputVariableValue("vout", "time='3.9462ns'", "MyTransientSetup", "Standard", _ Array("NAME:Context", "SimValueContext:=", Array(1, 0, 2, 0, false, false, -1, 1, 0, 1, 1, "", 0, 0))) MsgBox val1
Example: ' ---------------------------------------------- ' Script used by Ansoft Designer Version 4.1.0 ' ---------------------------------------------- Dim oAnsoftApp Dim oDesktop Dim oProject Dim oDesign Dim oEditor Dim oModule Set oAnsoftApp = CreateObject("AnsoftDesigner.DesignerScript") Set oDesktop = oAnsoftApp.GetAppDesktop() oDesktop.RestoreWindow Set oProject = oDesktop.SetActiveProject("MyLNAExample") Set oDesign = oProject.SetActiveDesign("Nexxim1") Set oModule = oDesign.GetModule("OutputVariable") val1=oModule.GetOutputVariableValue("magS", "F='1GHz'", "LinearFrequency", "Standard", _ Array("NAME:Context", "SimValueContext:=", Array(3, 0, 2, 0, false, false, -1, 1, 0, 1, 1, "", 0, 0))) MsgBox val1
HFSS视频教程 ADS视频教程 CST视频教程 Ansoft Designer 中文教程 |
Copyright © 2006 - 2013 微波EDA网, All Rights Reserved 业务联系:mweda@163.com |