- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
Reading 'design variables' in 'Data display'
I have to read few parameters from a file in to some component parameters and variables.
After simulation I want to verify if correct values are picked up from the file.
How to access the value of the variables that were defined in design file after simulation?
You need to export the value that you read from the file into the dataset when you run your simulation. How to do that depends on how you read in the file data into your schematic.
Scenario 1
-----------
Using a DataAccess component and assigning a variable in the schematic to a value from the file:
VAR
Rx = file{DAC1,"Rx"}
Then using this variable as a component value, something like this:
R
R1
R = Rx Ohm
To export the value of Rx to the dataset just do the following:
- Double-click on your simulation controller
- Select the Output tab
- Click on Add/Remove...
- Add the Rx variable and click OK
- Simulate the circuit again
Rx is now in the dataset and can be plotted/listed in the data display.
Scenario 2
-----------
Assume you use assign the value from the fil directly to a component parameter:
R
R1
R = file{DAC1,"Rx"} Ohm
Now you don't have any variable to export to the dataset. How to do now? You could of course change your schematic to use a variable as in Scenario 1 but there is a way to do this, which works in most cases. You can use the old Other=OutVar method:
- Double-click on your simulation controller
- Go to the Display tab
- Check Other to be displayed on the schematic
- Click OK to dismiss the edit dialog
- You should now see the "Other" parameter on the schematic. Use on-screen editing to enter the following syntax:
Other=OutVar="R1.R"
(Case Sensitive!)
This will send the resistance value of resistor R1 to the dataset.
If you want to send multiple variables to the dataset using this method then the syntax is as follows:
Other=OutVar="x1" OutVar="x2" OutVar="x3"
Note! This is the old method and is not fully supported. It will NOT work when doing optimization. The new Output tab's in the simulation controllers is the recommended way to send variable values to the dataset.
Thanks. I usually use scenario 1 of sending variables to data set by the output tab.
Although the sent variable is a single fixed number, it is saved for every single time point multiplied by all sweeps which blow off the data set size. any idea how to send it as a single value not a sweep over all dimensions?
Thanks
申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习易迪拓培训专家讲授的ADS视频培训课程。
上一篇:oscilloscope ADS
下一篇:Package component (artwork) not found for layout generation
国内最全面、最专业的Agilent ADS培训课程,可以帮助您从零开始,全面系统学习ADS设计应用【More..】
- Agilent ADS教学培训课程套装
- 两周学会ADS2011、ADS2013视频教程
- ADS2012、ADS2013射频电路设计详解
- ADS高低阻抗线微带滤波器设计培训教程
- ADS混频器仿真分析实例视频培训课程
- ADS Momentum电磁仿真设计视频课程
- ADS射频电路与通信系统设计高级培训
- ADS Layout和电磁仿真设计培训视频
- ADS Workspace and Simulators Training Course
- ADS Circuit Simulation Training Course
- ADS Layout and EM Simulation Training Course
- Agilent ADS 内部原版培训教材合集