Skip to content

Commit

Permalink
Check instrument name before superclass init
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsecher committed Apr 22, 2022
1 parent aad1276 commit de2732d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qcodes_contrib_drivers/drivers/QDevil/QDAC2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,8 +1814,8 @@ def __init__(self, name: str, address: str, **kwargs) -> None:
address (str): Visa identification string
**kwargs: additional argument to the Visa driver
"""
super().__init__(name, address, terminator='\n', **kwargs)
self._check_instrument_name(name)
super().__init__(name, address, terminator='\n', **kwargs)
self._set_up_serial()
self._set_up_debug_settings()
self._set_up_channels()
Expand Down

0 comments on commit de2732d

Please sign in to comment.