Skip to content

Commit

Permalink
Dont reset ZNB it removes the already setup channels and break everyt…
Browse files Browse the repository at this point in the history
…hing (#44)
  • Loading branch information
jenshnielsen authored and WilliamHPNielsen committed Jun 26, 2017
1 parent 049ee71 commit 0e46af7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions qcodes/instrument_drivers/rohde_schwarz/ZNB20.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ def _set_default_values(self):
getattr(self, 'power{}{}'.format(i, j))(-50)

def initialise(self):
self.write('*RST')
for n in range(1,5):
self.write('SENS{}:SWE:TYPE LIN'.format(n))
self.write('SENS{}:SWE:TIME:AUTO ON'.format(n))
Expand All @@ -367,4 +366,4 @@ def initialise(self):
self.update_display_on()
self._set_default_values()
self.rf_off()
self.display_sij_split()
self.display_sij_split()

0 comments on commit 0e46af7

Please sign in to comment.