Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: {Johann Heyszl} <[email protected]>
  • Loading branch information
johannheyszl committed Sep 26, 2023
1 parent 3116f06 commit 8c2f5ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cw/waverunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,15 +372,15 @@ def capture_and_transfer_waves(self):
res = self._ask("WAIT 10;*OPC?")
assert res == "*OPC 1"
# Transfer and parse waveform data.
if self.acqu_channel == "C1":
if self.acqu_channel == "C1":
data = self._ask_raw(b"C1:WF? DAT1")
elif self.acqu_channel == "C2":
elif self.acqu_channel == "C2":
data = self._ask_raw(b"C2:WF? DAT1")
elif self.acqu_channel == "C3":
elif self.acqu_channel == "C3":
data = self._ask_raw(b"C3:WF? DAT1")
elif self.acqu_channel == "C4":
elif self.acqu_channel == "C4":
data = self._ask_raw(b"C4:WF? DAT1")
else:
else:
print("WAVERUNNER: Error: Channel selection invalid")
waves = self._parse_waveform(data)
return waves
Expand Down

0 comments on commit 8c2f5ef

Please sign in to comment.