Skip to content

Changing parameters of a viewer for different positions of scan #95

Answered by LMSC-NTappy
rgeneaux asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Romain!

That sounds a bit tricky, I never had to do something like this but here are my thoughts on this:

If I understood correctly you have a DAQ_NDViewer object with an "integration time" float setting that you want to change accordingly to the position of an A/B DAQ_Move.

What I would do is create a new DAQ_Move plugin that relies on the same wrapper as your DAQ_NDViewer, that sets the integration time parameter. Then in your preset you can initialize DAQ_Move as master and DAQ_NDViewer as slave. Then you can use it as an actuator to update the setting of your DAQ_Viewer.

I used this in a plugin that controls a Keithley ampèremetre + voltage source, you can see it here:
https://gith…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@seb5g
Comment options

@rgeneaux
Comment options

rgeneaux Jan 24, 2023
Collaborator Author

Answer selected by seb5g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants