Files
sf-op/script/test/example1_dv.py
2017-06-19 11:07:40 +02:00

13 lines
319 B
Python

knob = Channel("SARUN20-MCRX080:I-SET")
sensor1 = Channel("SINEG01-DICT215:B1_CHARGE")
sensor2 = Channel("S10DI01-DICT025:B1_CHARGE")
start = -1.0
stop = 1.0
nstep = 10
lat = 0.5
r = lscan(knob, (sensor1, sensor2), start, stop, nstep, lat)
plot(r.getReadable(0), name = 'plotname', xdata = r.getReadable(1))