export from ADS to a text file

Status
Not open for further replies.

hisa

Member level 4
Joined
Mar 13, 2006
Messages
68
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Activity points
1,692
I am simulating in ADS schematic and need results to do more in matlab, when extracting S parameters there is slash between amplitude and phase in the text file.
I do not know how to use this file!
extracting separately do not solve my problem.
 

From the data display ( simulation output ) window, you can select a table and export to an text file, do it manually.
 

thank you pancho_hideboo

but, how and where should I write these expressions?

---------- Post added at 12:36 ---------- Previous post was at 11:08 ----------

I found it how to write snp file,
but my new problem is with the Frequency swept in S parameters.
I am simulating LSSP (large signal S param) now I encounter the error of

Function "write_snp" : only supports 1 Dimensional Frequency data.

in small signal S param i have not this error.
 

anyway,LSSP works based on HB simulation.
here is my simulation: this may help.
 


text extracted from dataset is like below, for dB(S21) based on Freq

LSSP_Freq S(1,1)[0, ::]
1.00000000000000000E6 0 9.99999999805173980E-1 / -3.60005921838943800E-1

LSSP_Freq S(1,1)[1, ::]
2.00000000000000000E6 0 9.99999996882419850E-1 / -7.20047376542818540E-1

LSSP_Freq S(1,1)[2, ::]
3.00000000000000000E6 0 9.99999984214154840E-1 / -1.08015990613282950E0

when removing Freq from outputs it says multi dimension data is not supported! :-|

but here S21 is 2D data:
write var() - ADS 2009 -*Agilent EEsof Documentation Center
 
Last edited:

Why don't you use Data Export/Import Utility ??

tried every thing but every time a failure is occurring. this time: Invalid data element encountered


here is the variable information:

Independent Variables:
Name Type
------------------------------------------
LSSP_Freq Real
<NULL>

Dependent Variables:
Name Type
------------------------------------------
S[1,1] Complex
S[1,2] Complex
S[2,1] Complex
S[2,2] Complex
PortZ[1] Complex
PortZ[2] Complex
PortPower[1] Real
PortPower[2] Real

the error is with LSSP_Freq, but exporting only S is not possible too.
 

Set "write_snp()" like attached figure.
 

Attachments

  • LSSP1.png
    24.2 KB · Views: 132
Reactions: hisa

    hisa

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…