Closedown

This commit is contained in:
gac-x12sa
2023-01-05 14:19:05 +01:00
parent ea2ded832e
commit 62d238529d
2 changed files with 2 additions and 2 deletions

View File

@@ -419,7 +419,7 @@ public class Eiger extends Panel {
if (stddaq!=null){
int images = (Integer)spinnerImages.getValue();
String file = textFile.getText();
evalAsync("std_daq.start(n_images=" + images + ", output_file='" + file + "')");
evalAsync("std_daq.start(" + images + ", '" + file + "')");
}
} catch (Exception ex){
showException(ex);

View File

@@ -20,7 +20,7 @@ class StdDaq(DeviceBase):
def doInitialize(self):
pass
def start(n_images, output_file):
def start(self, n_images, output_file):
self.state.assertIs(State.Ready)
if not self.simulated:
data = {"sources":"eiger", "n_images":10, "output_file":"/tmp/test.h5"}