-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Bug] config option error using a NI scanner with two AO outputs (2D scanning only) #170
Comments
Can you please paste the full error that you experience with #155 and nicard? |
As you noted, I double checked the branch name "1d_scanner_optimize." 1. For ni_scanner, with a full list of AOs
2. For ni_scanner, without unavailable AOs (and z axis)
|
Regarding point 2) Are you sure that you are running an unmodified |
Dear TobiasSpohn, 1. For ni_scanner, with a full list of AOs
2. For ni_scanner, without unavailable AOs (and z axis)
|
Can you poste the relevant parts (the modules mentioned here) of your config file for both cases? |
Hi @syim70, For me the first error seems like you are trying to configure input channels as outputs. Try looking into the config to see if you configure the right channels for inputs and outputs, as I don't know, whether you could use output channels (ao) as input channels (ai). The second error also seems like you are running an outdated version of the gui or logic files. The error |
Hi, timoML, I post my config file for the both cases. Thanks. 1. For ni_scanner, with a full list of AOs
2. For ni_scanner, without unavailable AOs (and z axis)
|
Hi, TobiasSpohn, First, I was not trying to configure a something special, but just used the default config file as it is, except the dimensions as [2]. So, I don't agree with your guess that the first error might come from the confusing the input and output channels. I am not a code developer, so I hope using a stabilized code (the latest one, but not a pre-release). I am using a qudi-core (v.1.5.1) and qudi-iqo-modules (v.0.5.1). Last time, I found my misunderstanding of git, but now I believe I correctly pulled the "1d_scanner_optimze" branch. What you mean the "outdated version" is v.0.5.1? Should I pull some relevant branches altogether? Thank you so much for your efforts. |
Hi, For 1: In your config I don't spot any obvious errors, it seems fine. I personally use a very similar configuration. However, the error you posted above seems to me that you are trying to configure output channels where it should be input channels. Maybe your card does not support that many input or output channels?
It even lists the available channels below, you will have to try changing to the correct channels. For 2.: If you are checking out a development branch, you are no longer working with a release (e.g. v0.5.1), but the development version of qudi. The main branch should still be stable, although some minor bugs might occur, which are mostly hotfixed pretty quickly. We are currently working on merging the |
Hi, TobiasSpohn, I made a git pull of main branch as you suggested. The config files are same with the above posted on Nov.12. 1. For ni_scanner, with a full list of AOs
2. For ni_scanner, without unavailable AOs (and z axis)
In addition, is it right to use new config?
|
Hi @syim70, You no longer need the config option, it was deprecated and the dimension is now settable during runtime.
For the error messages: The first config is not the right way to proceed, I believe. The second one seems to initialize correctly, however you get the error that you are requesting a 3 dimensional optimization (so x,y and z) but only two axes where given. Thank you for spotting this bug, this is not intended behavior. I fixed it in #179. It should be merged soon into main, so you can pull it. If you want to test it out before, try checking out |
Version
current main
What is affected by the bug?
I tried to use a NI scanner with two AO outputs, but config file's scanner gui option "optimizer_plot_dimensions: [2]" does not work. It seems like Qudi requires "z axis" even if there is no additional AO.
When does the bug occur?
How do we replicate the issue?
If users choose only 2D scanning, ni scanner (or optimizer) should not require more axes.
Expected behavior
Please, let me have an options in config file with 2D scanning only.
Relevant log output
No response
Additional Comments
No response
Contact Details
The text was updated successfully, but these errors were encountered: