remove the quotation marks around $&run

whitespaces
This commit is contained in:
Holger Vogt 2018-07-02 23:10:59 +02:00
parent 1db4758ba8
commit bcdc47a43f
1 changed files with 8 additions and 8 deletions

View File

@ -51,11 +51,11 @@ R2 0 OUT 141
* measure bandwidth at -10 dB * measure bandwidth at -10 dB
meas ac bw trig vdb(out) val=-10 rise=1 targ vdb(out) val=-10 fall=1 meas ac bw trig vdb(out) val=-10 rise=1 targ vdb(out) val=-10 fall=1
* *
set run ="$&run" $ create a variable from the vector set run = $&run $ create a variable from the vector
set dt = $curplot $ store the current plot to dt set dt = $curplot $ store the current plot to dt
setplot $scratch $ make 'scratch' the active plot setplot $scratch $ make 'scratch' the active plot
let vout{$run}={$dt}.v(out) $ store the output vector to plot 'scratch' let vout{$run}={$dt}.v(out) $ store the output vector to plot 'scratch'
let bwh[run]={$dt}.bw $ store bw to vector bwh in plot 'scratch' let bwh[run]={$dt}.bw $ store bw to vector bwh in plot 'scratch'
setplot $dt $ go back to the previous plot setplot $dt $ go back to the previous plot
let run = run + 1 let run = run + 1
end $ loop ends here end $ loop ends here