Closed rb25 closed 7 years ago
Hey Brooks, if I bypass the dac_cal, and just run scope.reset() and then t,y = scope.get_trace(1) I get another type of unit error:
In [12]: scope.reset()
In [13]: t, y = scope.get_trace(1)
---------------------------------------------------------------------------
Error Traceback (most recent call last)
<ipython-input-13-cff87653ae86> in <module>()
----> 1 t, y = scope.get_trace(1)
/usr/local/google/home/barends/.virtualenvs/pyle/local/lib/python2.7/site-packages/labrad/client.pyc in __call__(self, *args, **kw)
63 "Use setting.future(...) instead.")
64 f = self.future(*args, **kw)
---> 65 return f.result() if wait else f
66
67 def future(self, *args, **kw):
/usr/local/google/home/barends/.virtualenvs/pyle/local/lib/python2.7/site-packages/concurrent/futures/_base.pyc in result(self, timeout)
427 raise CancelledError()
428 elif self._state == FINISHED:
--> 429 return self.__get_result()
430 else:
431 raise TimeoutError()
/usr/local/google/home/barends/.virtualenvs/pyle/local/lib/python2.7/site-packages/concurrent/futures/_base.pyc in __get_result(self)
379 else:
380 exception_type = type(self._exception)
--> 381 raise exception_type, self._exception, self._traceback
382 else:
383 return self._result
Error: (12345) Could not flatten (ValueArray(array([-499.99725952, -499.97225952, -499.94725952, ..., 499.97774048,
500.00274048, 500.02774048]), 'ns'), ValueArray(array([-0.03055391, -0.01948842, -0.00947679, ..., 0.0469045 ,
0.02951588, 0.03162359]), 'V')) to (*v[ns]*v[V]).
Setting ID 201. [payload=None]
It was pylabrad all along... Thanks!
Trying to run dac_cal.calibrate, running into unit error.