Skip to content
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

Pause during confocal projection mode #434

Closed
BingyingChen opened this issue Apr 25, 2023 · 2 comments · Fixed by #440
Closed

Pause during confocal projection mode #434

BingyingChen opened this issue Apr 25, 2023 · 2 comments · Fixed by #440
Assignees

Comments

@BingyingChen
Copy link
Collaborator

Waveform with 1.0 planes is of length (22500,)
c:\users\multiscale\git\aslm\src\aslm\controller\sub_controllers\waveform_tab_controller.py:288: UserWarning: Creating legend with loc="best" can be slow with large amounts of data.
  self.view.fig.tight_layout()
C:\Users\MultiScale\.conda\envs\ASLM\lib\tkinter\__init__.py:814: UserWarning: Creating legend with loc="best" can be slow with large amounts of data.
  func(*args)
C:\Users\MultiScale\.conda\envs\ASLM\lib\site-packages\nidaqmx\errors.py:140: DaqWarning:
Warning 200010 occurred.

Finite acquisition or generation has been stopped before the requested number of samples were acquired or generated.
  warnings.warn(DaqWarning(
C:\Users\MultiScale\.conda\envs\ASLM\lib\site-packages\nidaqmx\errors.py:140: DaqWarning:
Warning 200010 occurred.

Finite acquisition or generation has been stopped before the requested number of samples were acquired or generated.
  warnings.warn(DaqWarning(

image

In the developed branch, there's a pause during the acquisition under confocal projection mode. The settings and error message shows above.

model_debug.log
view_controller_debug.log

@zacsimile
Copy link
Collaborator

zacsimile commented Apr 26, 2023

One thing to note is here is c:\users\multiscale\git\aslm\src\aslm\controller\sub_controllers\waveform_tab_controller.py:288: UserWarning: Creating legend with loc="best" can be slow with large amounts of data. self.view.fig.tight_layout() runs even when the camera tab is selected. This indicates that the waveform controller plotting is getting executed even when the plot is not visible. This is a new thing, and is rather expensive for confocal projection mode. We should switch it back to only plotting when the waveform tab is accessed. Unclear if this is the source of the pause or a separate issue.

@BingyingChen
Copy link
Collaborator Author

BingyingChen commented May 3, 2023

Annie found out this is due to the length difference between the wavefront and the camera. The error in the green channel has been fixed. But it remains in the rest channels and probably causes another issue.

error-0503

It didn't show up after restarting the software. Perhaps a one-time thing. Will update it here if it shows up again.

@annie-xd-wang annie-xd-wang linked a pull request May 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants