Files
sf-op/script/scan_dv.py
2016-11-25 11:10:15 +01:00

13 lines
320 B
Python

knob = Channel("SARUN20-MCRX080:I-SET")
sensor1 = Channel("SINEG01-DICT210:B1_CHARGE")
sensor2 = Channel("SINEG01-DICT215:B1_CHARGE")
start = -0.6
stop = -0.4
nstep = 10
lat = 0.5
r = lscan(knob, (sensor1, sensor2), start, stop, nstep, lat)
#plot(r.getReadable(0), r.getReadable(1), xdata = r.getPositions(0))