
/***************************************************************************
*  This script sweeps resistor R1 value and saves traces into the storage
*  Trace V(C1) should be added into transient data
*
*  To run the script:
*
*      drag and drop this file onto NL5 icon, 
*  or
*      open NL5
*      open script window (Tools/Script)
*      open script file script1.txt
*      run script
*  or
*      start NL5 from command line with "script8.txt" as a parameter	 
*
***************************************************************************/

open rc.nl5;              // Open schematic file "rc.nl5"

for( r1=1; r1<=10; r1+=1 ) {        // Sweep R1 value
  tran;                   // Run transient
  store r1;	          // Store 
}

