forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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))