Skip to content

Commit

Permalink
Adjust number of decimals of vmon and imon
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroEzq committed Aug 29, 2024
1 parent 322b956 commit 431c35c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/CAEN-N1471H/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,9 +487,9 @@ def read_loop(self):
def read_values(self):
for i, ch in enumerate(self.m.channels):
self.vmon_entries[i].delete(0, tk.END)
self.vmon_entries[i].insert(0, f"{ch.vmon:.2f}")
self.vmon_entries[i].insert(0, f"{ch.vmon:.1f}")
self.imon_entries[i].delete(0, tk.END)
self.imon_entries[i].insert(0, f"{ch.imon:.2f}")
self.imon_entries[i].insert(0, f"{ch.imon:.3f}")
self.update_state_indicator(i, ch)
self.update_alarm_indicators()

Expand Down

0 comments on commit 431c35c

Please sign in to comment.