-
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
Cannot set amplitude on channel 0 #54
Comments
@einsmein Thanks for reaching out to us. This looks weird ... it should be zero-based indexed by all means 😇 However, I could not reproduce it on my machine. I can both read and write to the The snapshot returns the follwoing: {
"functions": {},
"submodules": {},
"parameters": {
"value": {
"__class__": "zhinst.qcodes.qcodes_adaptions.ZIParameter",
"full_name": "zi_baseinstrument_devxxxx_sigouts0_amplitudes0_value",
"value": 0.100006103515625,
"raw_value": 0.100006103515625,
"ts": "2022-10-14 12:14:01",
"unit": "V",
"name": "value",
"label": "value",
"post_delay": 0,
"instrument": "zhinst.qcodes.qcodes_adaptions.ZINode",
"instrument_name": "zi_baseinstrument_devxxxx_sigouts0_amplitudes0",
"inter_delay": 0
}
},
"__class__": "zhinst.qcodes.qcodes_adaptions.ZINode",
"name": "zi_baseinstrument_devxxx_sigouts0_amplitudes0"
} May I ask for the following information:
Just so that I can try to reproduce it. |
@einsmein and @tobiasah, Thank you for the discussion. Let me clarify that both of you have correct observation but the difference is in the installed options on your instruments. @einsmein's device does not include the MF-MD option while @tobiasah's device has it. The screenshots below shows the differences in the UI: As evident from the screenshots, MFLI with MD option has 4 signal amplitudes indexed as So in summary, the user of MFLI without MF-MD option has only one choice for output amplitude and it is index |
@tobiasah @mehdialem Thanks for the quick reply, and for the explanation. I still don't understand why the output signal params have to be at index 1 instead of 0, but I assume that comes from some lower-level implementation. |
@einsmein, Let me explain it further using the screenshot below. One would like to have independent phases for signal generation (red-box phase in the screenshot with index |
I was trying to set an amplitude on the MFLI, which I assume would be
mfli1.sigouts[0].amplitudes[0].value()
. I got an error that there is no attributevalue
. When I checked the snapshot, there is no parameters on 0th channel.However, I could set the amplitude with
mfli1.sigouts[0].amplitudes[1].value(0.05)
Is it intentional that it's not zero-based index?
The text was updated successfully, but these errors were encountered: