2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-26 03:38:25 +08:00

gui: more digits in DDS monitor

This commit is contained in:
Sebastien Bourdeauducq 2015-06-19 17:55:01 -06:00
parent f47c2e54e1
commit 827f99e7d3

View File

@ -138,7 +138,7 @@ class _DDSWidget(QtGui.QFrame):
def set_value(self, ftw): def set_value(self, ftw):
frequency = ftw*self.sysclk/2**32 frequency = ftw*self.sysclk/2**32
self._value.setText("<font size=\"9\">{:.3f} MHz</font>" self._value.setText("<font size=\"6\">{:.7f} MHz</font>"
.format(float(frequency)/1e6)) .format(float(frequency)/1e6))