Commit 49ea86fd authored by remi.clement@inrae.fr's avatar remi.clement@inrae.fr
Browse files

update to v4 run_measurmen() with gain

Showing with 1 addition and 1 deletion
+1 -1
...@@ -410,7 +410,7 @@ class OhmPi(object): ...@@ -410,7 +410,7 @@ class OhmPi(object):
tau = np.nan tau = np.nan
# voltage optimization # voltage optimization
for volt in range(1, 10, 2): for volt in range(4, 10, 2):
print('trying with v:', volt) print('trying with v:', volt)
self.DPS.write_register(0x0000,volt,2) # fixe la voltage pour la mesure à 5V self.DPS.write_register(0x0000,volt,2) # fixe la voltage pour la mesure à 5V
time.sleep(1) # inject for 1 s at least on DPS5005 time.sleep(1) # inject for 1 s at least on DPS5005
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment