drplGetMeas
drplGetMeas(t_measurement) =>o_waveform
Description
Returns the value of the specified measurement for simulation results of wireless envelope analysis. These measurements can be one of the following: error vector magnitude (EVM), bit error rate (BER), or frequency shift keying error (FSKerr). The x- and y-axis vectors of the waveform are frame index and frame values, respectively
Arguments
Value Returned
|
A waveform object that represents the values of the specified measurement. |
Examples
The following examples shows how to plot the waveform objects that represent the bit error rate and error vector magnitude of wireless probes, WPRB1 and WPRB2 from the simulation results of the wireless envelope analysis.
openResults("/home/user/envlpsim/WirelessLib/wireless_LTE_W_Modulator_and_DAC_12_bit/maestro/results/maestro/ExplorerRun.0/psf/Wireless/psf")
;Opens the simulation results of wireless envelope analysis stored in the specified directory.
results()
;Lists the results available in the currently open results directory.
selectResult('envlp_fd)
;Selects the results result 'envlp_fd'.
w1=drplGetMeas("WPRB1.ber")
;Creates a waveform object that represents the bit error rate of the wireless probe WPRB1.
w2=drplGetMeas("WPRB1.evm")
;Creates a waveform object that represents the error vector magnitude of the wireless probe WPRB1.
w3=drplGetMeas("WPRB2.ber")
;Creates a waveform object that represents the bit error rate of the wireless probe WPRB2.
w4=drplGetMeas("WPRB2.evm")
;Creates a waveform object that represents the bit error vector magnitude of the wireless probe WPRB2.
awvCreatePlotWindow()
;Creates a Waveform window.
awvPlotWaveform(
awvGetCurrentWindow()
list(w1 w2 w3 w4)
?expr list("WPRB1.BER" "WPRB1.EVM" "WPRB2.BER" "WPRB2.EVM")
?color list("y1" "y66" "y12" "y6")
?index list(1 2 3 4)
?lineType list("line" "line" "line" "line")
?lineStyle list("dash" "dot" "dash" "dot")
?lineThickness list("thick" "extraThick" "thick" "extraThick")
?showSymbols list(t t t t)
?dataSymbol list(4 5 4 5)
?stripNumber list(1 2 3 4)
)
;Plots waveforms "WPRB1.BER", "WPRB1.EVM", "WPRB2.BER", and "WPRB2.EVM" in the strips 1, 2, 3, and 4 of the current Waveform window.
=> "/home/user/envlpsim/WirelessLib/wireless_LTE_W_Modulator_and_DAC_12_bit/maestro/results/maestro/ExplorerRun.0/psf/Wireless/psf"
=>
(envlp_fd conste binary fwrls ccdf
avgwrls param model instance output
designParamVals primitives subckts variables
)
=> stdobj@0x37d23068
=> srrWave:0x3b45d020
=> srrWave:0x3b45d030
=> srrWave:0x3b45d040
=> srrWave:0x3b45d050
=> window:3
=> t

Return to top