Added the capacitance reading device (based on TSSOP16, paired with an Arduino Nano V3, communication over serial) to the PSI NMR setup

This commit is contained in:
2025-07-11 11:34:48 +02:00
parent 44a4d921af
commit ccd15f50e7
4 changed files with 57 additions and 9 deletions

View File

@@ -232,6 +232,7 @@ class ProgrammedSequence(fc.Readable):
filename = filepath + '/sequences/' + filename.replace('.','')
seq_gen.save_sequence(filename, seq)
seq_gen.save_sequence_cfg(filename, seq)
print(filename)
dashboard_params = { 'Observe Freq.': self.read_obs_freq(),
'Scans 1D': self.read_num_scans(),
@@ -247,6 +248,7 @@ class ProgrammedSequence(fc.Readable):
# then, load the thing into TNMR
self.tnmr().load_sequence(filename)
print(filename)
# load some parameters back to TNMR
for key, val in dashboard_params.items():