@@ -80,34 +80,21 @@ def setUp(self):
80
80
# LinSpaceHold(bases=(-.4),factors=None,duration_base=TimeType(10**6),duration_factors=None),
81
81
# LinSpaceHold(bases=(-1.,),factors=((0.01,),),duration_base=TimeType(10**6),duration_factors=None)
82
82
),)
83
-
84
-
85
- key = DepKey .from_voltages ((0.01 ,), DEFAULT_INCREMENT_RESOLUTION )
86
83
87
84
self .commands = [
88
85
Set (channel = 0 , value = - 0.4 , key = DepKey (factors = ())),
89
86
Wait (duration = TimeType (100000 , 1 )),
90
- #here is what currently happens:
91
87
Set (channel = 0 , value = - 1.0 , key = DepKey (factors = (10000000 ,))),
92
88
Wait (duration = TimeType (1000000 , 1 )),
93
89
LoopLabel (idx = 0 , count = 9 ),
94
90
Wait (duration = TimeType (1000000 , 1 )),
95
91
LoopJmp (idx = 0 ),
96
- #however, i think this is what should happen (maybe also with an additional "Set" before,
97
- #which might cause complications if omitted in other contexts like AWG amplitude:
98
- #LoopLabel(idx=0, count=10),
99
- #Set(channel=0, value=-1.0, key=DepKey(factors=(10000000,))),
100
- #Wait(duration=TimeType(1000000, 1)),
101
- #LoopJmp(idx=0),
102
-
103
92
LoopLabel (idx = 1 , count = 199 ),
104
93
Set (channel = 0 , value = - 0.4 , key = DepKey (factors = ())),
105
94
Wait (duration = TimeType (100000 , 1 )),
106
95
Increment (channel = 0 , value = 0.01 , dependency_key = DepKey (factors = (10000000 ,))),
107
96
Wait (duration = TimeType (1000000 , 1 )),
108
97
LoopLabel (idx = 2 , count = 9 ),
109
- #also here, an increment 0 may be helpful (at least to be able to force).
110
- #Increment(channel=0, value=0, dependency_key=DepKey(factors=(10000000,))),
111
98
Wait (duration = TimeType (1000000 , 1 )),
112
99
LoopJmp (idx = 2 ),
113
100
LoopJmp (idx = 1 )
0 commit comments