summaryrefslogtreecommitdiffstats
path: root/tango/Uca
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-03-17 14:14:18 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2015-03-17 14:14:18 +0100
commitd7a2099d51b535dbce6b68f2021f6fc0f37adc00 (patch)
treeef46de40022c7189ac547c28e269d096ee0c7303 /tango/Uca
parentf83189da7a96f19d7186e623426b39bafed0c714 (diff)
downloaduca-d7a2099d51b535dbce6b68f2021f6fc0f37adc00.tar.gz
uca-d7a2099d51b535dbce6b68f2021f6fc0f37adc00.tar.bz2
uca-d7a2099d51b535dbce6b68f2021f6fc0f37adc00.tar.xz
uca-d7a2099d51b535dbce6b68f2021f6fc0f37adc00.zip
tango: add Trigger() command
Diffstat (limited to 'tango/Uca')
-rwxr-xr-xtango/Uca4
1 files changed, 4 insertions, 0 deletions
diff --git a/tango/Uca b/tango/Uca
index 4ba7108..baf6a93 100755
--- a/tango/Uca
+++ b/tango/Uca
@@ -126,6 +126,10 @@ class Camera(Device):
else:
np.savez(open(path, 'wb'), frame)
+ @command
+ def Trigger(self):
+ self.device.trigger()
+
def read_image(self):
return self.grab()