The following example demonstrates how to create a DPD model from a user-supplied Ideal Waveform file and a DPD Model file. The Model will be applied to the Ideal Waveform to create a Modeled DPD Waveform.
See Other SCPI Example Programs
*idn? syst:fpr disp:wind1:stat on calc:cust:def 'ch1_PIn1','Modulation Distortion','PIn1' disp:wind1:trac1:feed 'ch1_PIn1' calc:cust:def 'ch1_POut2','Modulation Distortion','POut2' disp:wind1:trac2:feed 'ch1_POut2' syst:conf:edev:stat "Device0", on sens:dist:mod:sour "Device0" sour:mod:load "c:\users\instrument\desktop\16QAM.mdx" sour:mod:stat on sens:dist:swe:carr:freq 5e9 sens:dist:swe:pow:carr:lev:port DOUT2 sens:dist:swe:pow:carr:lev 0 sens:dist:path:dut:nom:gain 20.0 sens:dist:path:sour:nom:ampl -9.0
sour:dpd:proc appl sour:dpd:proc? sour:dpd:file:load:ide "c:\users\instrument\desktop\16QAM.mdx" sour:dpd:file:load:ide? sour:dpd:file:load:mod "c:\users\instrument\desktop\16QAM.mdpd" sour:dpd:file:save "c:\users\instrument\desktop\16QAM_Applied.mdpd" sour:dpd:file:save?
sour:dpd:corr:coll:pow:enab 1 sour:dpd:corr:coll:pow:enab? sour:dpd:corr:coll:pow:span? sour:dpd:corr:coll:pow:iter 5 sour:dpd:corr:coll:pow:iter? sour:dpd:corr:coll:pow:tol 0.05 sour:dpd:corr:coll:pow:tol?
sour:dpd:corr:coll:lo:fthru:enab 0 sour:dpd:corr:coll:lo:fthru:enab? sour:dpd:corr:coll:lo:fthru:iter 6 sour:dpd:corr:coll:lo:fthru:iter? sour:dpd:corr:coll:lo:fthru:tol -80 sour:dpd:corr:coll:lo:fthru:tol?
sour:dpd:corr:coll:dist:enab 1 sour:dpd:corr:coll:dist:enab? sour:dpd:corr:coll:dist:type TOT sour:dpd:corr:coll:dist:type? sour:dpd:corr:coll:dist:span 159e6 sour:dpd:corr:coll:dist:span? sour:dpd:corr:coll:dist:iter 5 sour:dpd:corr:coll:dist:iter? sour:dpd:corr:coll:dist:tol -60 sour:dpd:corr:coll:dist:tol?
sour:dpd:mod:appl sour:dpd:mod:stat? sour:dpd:mod:type? sour:dpd:mod:memp:ord? sour:dpd:mod:memp:mem:past? sour:dpd:mod:memp:mem:fut? sour:dpd:mod:memp:cros?
sour:dpd:mod:cal sour:dpd:mod:stat?
|