#! /bin/csh alias sleep1 'sleep 1' caput 8ide:asyn_17.TMOD "Write" sleep1 caput 8ide:asyn_17.AOUT "*RST" sleep1 caput 8ide:asyn_17.AOUT ":SENS:FUNC:CONC OFF" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:FUNC VOLT" sleep1 caput 8ide:asyn_17.AOUT ":SENS:FUNC 'CURR:DC'" sleep1 caput 8ide:asyn_17.AOUT ":SENS:CURR:PROT 100E-6" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:VOLT:START -4.0" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:VOLT:STOP 4.0" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:VOLT:STEP 10E-2" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:VOLT:MODE SWE" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:SWE:RANG AUTO" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:SWE:SPAC LIN" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:SWE:POIN 81" sleep1 caput 8ide:asyn_17.AOUT ":TRIG:COUN 81" sleep1 caput 8ide:asyn_17.AOUT ":SOUR:DEL 0.1" sleep1 #caput 8ide:asyn_17.AOUT ":OUTP ON" # The following line should turn the output on/off automatically # when a sweep is initiated and is meant to replace the ":OUTP ON" command caput 8ide:asyn_17.AOUT "SOUR:CLE:AUTO ON" sleep1 caput 8ide:asyn_17.AOUT ":FORM:ELEM VOLT,CURR" sleep1