Skip to content

Commit

Permalink
Merge pull request #6106 from qutech/bugfix/alazar_driver
Browse files Browse the repository at this point in the history
Fix Alazar drivers
  • Loading branch information
jenshnielsen authored May 23, 2024
2 parents 6e27c03 + eaedbbc commit 6f144ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/changes/newsfragments/6106.improved_driver
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix AlazarTech ATS drivers trying to create an instrument with invalid identifier as name
7 changes: 5 additions & 2 deletions src/qcodes/instrument_drivers/AlazarTech/ATS.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,11 @@ def get_board_info(
"""
# make a temporary instrument for this board, to make it easier
# to get its info
board = cls(f'alazar_temp_{time.perf_counter()}',
system_id=system_id, board_id=board_id)
board = cls(
f"alazar_temp_{time.perf_counter_ns()}",
system_id=system_id,
board_id=board_id,
)

handle = board._handle

Expand Down

0 comments on commit 6f144ff

Please sign in to comment.