New ScreenPanel
This commit is contained in:
21
script/test37.py
Executable file
21
script/test37.py
Executable file
@@ -0,0 +1,21 @@
|
||||
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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user