-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation of breaking changes of MFLIs could include more details #41
Comments
I See that the MFLI refactoring page is rather empty. If you like you can contribute to the documentation with your discovered changes. Since the About the third problem. I agree that this is a breaking change but just returning a complex value was a obvious mistake of the old driver. On looses important information about DIOs, Trigger ... Ignoring the fact the mfli2.demods[0].sample() is not the correct way of getting demod samples from our devices (please use subscribe and poll instead!) and is far away from being able to deliver the sampling rate our devices are capable of, I don't see way how we could improve this or make it easier for you. What would you like us to provide in this case? Maybe a simple lambda function solves this problem? |
I strongly agree with @jenshnielsen for the third point. The beauty of having a qcodes.Parameter is that it can be measured easily and that many handy things come with it. I see your point @tobiasah that @tobiasah I guess Am I right that the information about DIOs, Trigger, ... would be contained in the snapshot of the device? Could yo confirm this @jenshnielsen? @jenshnielsen is the complex_parameter in a sublcass somewhere in qcodes? Can I find this somewhere? Because we are using this functionality right now and updating zhinst-qcodes would break our experiments. |
@simonzihlmann thats something that we put in an internal helper function. I am happy to share it with you thou. I have been thinking about implementing a Parameter Class in QCoDeS that can handle this type of Parameter (returning a dict) in a consistent way that allows users to sub select elements. I am however rather busy with other stuff but I will try to get the proposal up in qcodes asap |
@jenshnielsen that would be great! I guess everyone using qcodes would be very happy to have such a class. |
Forgot to post out work around implementation but it is currently
|
The documentation here mentions a list of nodes that have changed but I don't see that anywhere in that page. The page here does not mention changes to sigout and demods
Specifically I don't see the following documented
sigout[0].amplitudes0...3
have changed into a ChannelList with a single parameter valuesigout[0].amplitudes[0...3].value
The first 2 changes are clearly improvements but it would be nice if they had been documented.
The 3th one is more problematic since it now breaks our ability to directly measure parameters using qcodes.
e.g. the following no longer works
For now we have our resorted to work around this with a complex_sample parameter that retains the old behavior added in a subclass
The text was updated successfully, but these errors were encountered: