Commit 16486734 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Improves test_ohmpi_card_3_15.py

Showing with 1 addition and 1 deletion
+1 -1
...@@ -193,7 +193,7 @@ class Tx(TxAbstract): ...@@ -193,7 +193,7 @@ class Tx(TxAbstract):
if polarity is None: if polarity is None:
polarity = self.polarity polarity = self.polarity
self.polarity = polarity self.polarity = polarity
self.voltage(voltage) self.voltage = voltage
self.exec_logger.debug(f'Voltage pulse of {polarity*voltage:.3f} V for {length:.3f} s') self.exec_logger.debug(f'Voltage pulse of {polarity*voltage:.3f} V for {length:.3f} s')
self.inject(state='on') self.inject(state='on')
time.sleep(length) time.sleep(length)
......
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