Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulse_lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech QDLabs
pulse_lib
Commits
a063a5d3
Commit
a063a5d3
authored
2 years ago
by
Sander Snoo
Browse files
Options
Downloads
Patches
Plain Diff
added get_idn
parent
1984c495
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pulse_lib/tests/mock_m3102a.py
+3
-0
3 additions, 0 deletions
pulse_lib/tests/mock_m3102a.py
pulse_lib/tests/mock_m3102a_qs.py
+3
-0
3 additions, 0 deletions
pulse_lib/tests/mock_m3102a_qs.py
pulse_lib/tests/mock_m3202a.py
+3
-0
3 additions, 0 deletions
pulse_lib/tests/mock_m3202a.py
with
9 additions
and
0 deletions
pulse_lib/tests/mock_m3102a.py
+
3
−
0
View file @
a063a5d3
...
...
@@ -12,6 +12,9 @@ class MockM3102A(Instrument):
self
.
measure
=
ChannelData
()
def
get_idn
(
self
):
return
dict
(
vendor
=
'
Pulselib
'
,
model
=
type
(
self
).
__name__
,
serial
=
''
,
firmware
=
''
)
def
chassis_number
(
self
):
return
self
.
_chassis_numnber
...
...
This diff is collapsed.
Click to expand it.
pulse_lib/tests/mock_m3102a_qs.py
+
3
−
0
View file @
a063a5d3
...
...
@@ -54,6 +54,9 @@ class MockM3102A_QS(Instrument):
for
i
in
range
(
1
,
5
):
self
.
_sequencers
[
i
]
=
SequencerChannel
(
self
,
i
)
def
get_idn
(
self
):
return
dict
(
vendor
=
'
Pulselib
'
,
model
=
type
(
self
).
__name__
,
serial
=
''
,
firmware
=
''
)
def
slot_number
(
self
):
return
self
.
_slot_number
...
...
This diff is collapsed.
Click to expand it.
pulse_lib/tests/mock_m3202a.py
+
3
−
0
View file @
a063a5d3
...
...
@@ -56,6 +56,9 @@ class MockM3202A(Instrument):
self
.
chassis
=
chassis
self
.
slot
=
slot
def
get_idn
(
self
):
return
dict
(
vendor
=
'
Pulselib
'
,
model
=
type
(
self
).
__name__
,
serial
=
''
,
firmware
=
''
)
def
slot_number
(
self
):
return
self
.
_slot_number
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment