Skip to content

Commit

Permalink
Fix signalhound units -> unit
Browse files Browse the repository at this point in the history
  • Loading branch information
jenshnielsen committed Jan 19, 2017
1 parent ea68c85 commit 10f1c87
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions qcodes/instrument_drivers/signal_hound/USB_SA124B.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,25 +66,25 @@ def __init__(self, name, dll_path=None, **kwargs):

self.add_parameter('frequency',
label='Frequency ',
units='Hz',
unit='Hz',
initial_value=5e9,
parameter_class=ManualParameter,
vals=vals.Numbers())
self.add_parameter('span',
label='Span ',
units='Hz',
unit='Hz',
initial_value=.25e6,
parameter_class=ManualParameter,
vals=vals.Numbers())
self.add_parameter('power',
label='Power ',
units='dBm',
unit='dBm',
initial_value=0,
parameter_class=ManualParameter,
vals=vals.Numbers(max_value=20))
self.add_parameter('ref_lvl',
label='Reference power ',
units='dBm',
unit='dBm',
initial_value=0,
parameter_class=ManualParameter,
vals=vals.Numbers(max_value=20))
Expand Down Expand Up @@ -118,22 +118,22 @@ def __init__(self, name, dll_path=None, **kwargs):
vals=vals.Ints(1, 8))
self.add_parameter('bandwidth',
label='Bandwidth',
units='Hz',
unit='Hz',
initial_value=0,
parameter_class=ManualParameter,
vals=vals.Numbers())
# rbw Resolution bandwidth in Hz. RBW can be arbitrary.
self.add_parameter('rbw',
label='Resolution Bandwidth',
units='Hz',
unit='Hz',
initial_value=1e3,
parameter_class=ManualParameter,
vals=vals.Numbers())
# vbw Video bandwidth in Hz. VBW must be less than or equal to RBW.
# VBW can be arbitrary. For best performance use RBW as the VBW.
self.add_parameter('vbw',
label='Video Bandwidth',
units='Hz',
unit='Hz',
initial_value=1e3,
parameter_class=ManualParameter,
vals=vals.Numbers())
Expand Down

0 comments on commit 10f1c87

Please sign in to comment.