QPD for focus lock system in ImSwitch #101
-
From what I've read in the documentation, ImSwitch uses a camera as the input for the control loop which locks the Z-axis position, so I assume that at on the Managers layer the focus lock uses a DetectorManager for the control loop. Now here's the situation: we were hoping to use instead a Quad Photodiode (QPD) which takes a laser input, redirected from the sample we're currently analyzing. So instead of having an image, we would have as an input for the control loop a set of X-Y coordinates from the QPD (which are calculated using the currents read from the QPD), thus a relation of (X, Y) -> Z. So basically just a number. Can we integrate this into ImSwitch? Because our idea is to use an Arduino to read the coordinates and send them via USB to ImSwitch. But I'm unsure wether this is feasible to integrate in the widget - and if so, how. If you need more details or my question is unclear let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @jacopoabramo, I think you could do that by modifying the FocusLockController, and modify its entry in SetupInfo. Maybe instead of having camera we can have something more general, like feedbackDevice, depends on how much it changes depending on the device (for a camera we do display the image, while maybe for the QPD you only want a 1D plot of the current). What do you think? |
Beta Was this translation helpful? Give feedback.
Hi @jacopoabramo,
I think you could do that by modifying the FocusLockController, and modify its entry in SetupInfo. Maybe instead of having camera we can have something more general, like feedbackDevice, depends on how much it changes depending on the device (for a camera we do display the image, while maybe for the QPD you only want a 1D plot of the current). What do you think?