Skip to content

Instantly share code, notes, and snippets.

@thomasaarholt
Created November 29, 2017 13:23
Show Gist options
  • Save thomasaarholt/2fb77e1c755c763688bf82fe1a0e2eba to your computer and use it in GitHub Desktop.
Save thomasaarholt/2fb77e1c755c763688bf82fe1a0e2eba to your computer and use it in GitHub Desktop.
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
<ipython-input-18-0e1e17072b32> in <module>()
----> 1 SED, SI = acquirer.start()
2 #plt.imshow(a)
<ipython-input-16-abe1af516896> in start(self)
197 '''
198 #SE = self.acquire_large_SE_image()
--> 199 SED, SI = self.acquire_cube()
200
201 return SED, SI
<ipython-input-16-abe1af516896> in acquire_cube(self)
127
128 # synchronize the two devices
--> 129 self.spect.data.synchronizedOn(self.escan.newPosition)
130
131 startt = time.time()
/usr/lib/python2.7/dist-packages/Pyro4/core.pyc in __call__(self, *args, **kwargs)
163
164 def __call__(self, *args, **kwargs):
--> 165 return self.__send(self.__name, args, kwargs)
166
167
/usr/lib/python2.7/dist-packages/Pyro4/core.pyc in _pyroInvoke(self, methodname, vargs, kwargs, flags)
331 if sys.platform=="cli":
332 util.fixIronPythonExceptionForPickle(data, False)
--> 333 raise data
334 else:
335 return data
ValueError: Cannot set synchronization while unsynchronised acquisition is active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment