Skip to content

Commit

Permalink
Set active trace in correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
spauka committed Jul 27, 2018
1 parent f433164 commit 8f73d57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qcodes/instrument_drivers/Keysight/N52xx.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ def write(self, cmd: str) -> None:
"""
Select correct trace before querying
"""
super().active_trace(self.trace)
self.root_instrument.active_trace(self.trace)
super().write(cmd)

def ask(self, cmd: str) -> str:
"""
Select correct trace before querying
"""
super().active_trace(self.trace)
self.root_instrument.active_trace(self.trace)
return super().ask(cmd)

@staticmethod
Expand Down

0 comments on commit 8f73d57

Please sign in to comment.