22 lines
530 B
Python
Executable File
22 lines
530 B
Python
Executable File
tutorial_path = "src/main/assembly/help/Tutorial/"
|
|
run(tutorial_path+"00_devices")
|
|
|
|
|
|
|
|
class ArrayCalibrated(ReadableArray, ReadableCalibratedArray):
|
|
def read(self):
|
|
return wf1.read()
|
|
|
|
def getSize(self):
|
|
return wf1.size
|
|
|
|
def getCalibration(self):
|
|
return ArrayCalibration(5,1000)
|
|
|
|
ac1 = ArrayCalibrated()
|
|
|
|
#The data window never displays 3d data, but the 3d data can be accesses during the scan in the Data tab.
|
|
ascan((m1,m2), (ac1, wf1), (0.0,0.0), (2.0,1.0), (19,19))
|
|
|
|
|