Replies: 3 comments 2 replies
-
@aadiyatul let's not break the working API for existing users, so a good way of doing that is to add a new argument to makeSLMFile with the default value (e.g. i'm not a fan of either of the solutions. Perhaps other folks here have better suggestions :) |
Beta Was this translation helpful? Give feedback.
-
@jenshnielsen maybe you have some opinion on the broadbean upgrade? I tried a quick-and-dirty way: a method |
Beta Was this translation helpful? Give feedback.
-
resolved via #3450 |
Beta Was this translation helpful? Give feedback.
-
Tektronix AWG70000 has 8 auxuliary CMOS outputs with SMB connectors on the back called Flags. They can be changed on every step of the control sequence (page 133 of the user manual, marked as page 123 in the footer). Flag outputs have some limitations (e.g. they are slow and are jitter-free only if every step of the sequence is proportional to 2400 data points), but nevertheless can be very useful in practice.
Now the control sequence for the AWG is prepared by
AWG70000A._makeSMLFile()
method from theinstrument_drivers.tektronix.AWG70000A
module, which explicitly sets the flags to 'NoChange' (lines 1348-1354). It seems that the easiest way to add the flags is to add one more argument to_makeSLMFile()
. However, then a corresponding change should be added to the broadbean library for pulse generation, namely to thesequence.outputForSEQXFile()
method that passes the information about the seuqence directly to_makeSLMFile()
.Is it a good idea to add one more required argument to
_makeSLMFile()
and one more output tosequence.outputForSEQXFile()
? Or is it better to add the input argument using**kwargs
? Do you think there is anything else that should be changed in this case?Beta Was this translation helpful? Give feedback.
All reactions