Script execution
This commit is contained in:
@@ -201,7 +201,7 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
|
||||
pass
|
||||
|
||||
def show(self):
|
||||
print ("\nThe current pixel detector settings are:")
|
||||
print "\nThe current pixel detector settings are:"
|
||||
print " The frame number: ", self.get_count_id()
|
||||
print " The file path is:", self.get_path()
|
||||
print " The file template is: ", self.get_image_format()
|
||||
@@ -210,7 +210,8 @@ class Pixel(DeviceBase, Readable, Readable.IntegerType):
|
||||
print " Exposure time = %5d sec" % (self.get_expose(), )
|
||||
print " Image dimensions: %d x %d pixels (total = %d)" % (self.PIX_XDIM, self.PIX_YDIM, self.PIX_XDIM*self.PIX_YDIM)
|
||||
print " Threshold values: Thresh1 = %d, Thresh2 = %d, Thresh3 = %d, Thresh4 = %d" % (self.PIX_THRESH1,self.PIX_THRESH2,self.PIX_THRESH3,self.PIX_THRESH4)
|
||||
|
||||
|
||||
print "\n\nThe current pixel detector status is:", pixel.get_status()
|
||||
def doUpdate(self):
|
||||
self.get_status()
|
||||
self.get_count_id()
|
||||
|
||||
Reference in New Issue
Block a user