Skip to content

Conversation

@seb5g
Copy link
Contributor

@seb5g seb5g commented Apr 15, 2025

This PR patch a problem with the fact that the output of the DataMixer can be added to the Dashboard to be used by other extensions such as the DAQ_Scan.

But, let's say I want to use the Mixer to plot some interesting live data out of a detector call mydet. I'll have in the Dahsbord a real detector: mydet and a "fake" one: mymixeddata. If I do a scan of mymixeddata as a function of one or more parameters, the grab signal of mydet will be fired once byt the datamixer. All is fine. BUT If I do a scan of mymixeddata and of mydet (to store the raw data) as a function of one or more parameters, the grab signal of mydet will be fired twice for each param. Once by the direct call of the daq_scan to mydet and once by the datamixer. This is bad.

In pymodaq PR PyMoDAQ/PyMoDAQ#588 introduces ways to handle this tohether with the commits in here

@seb5g seb5g merged commit edbf5a9 into main Apr 15, 2025
1 check failed
@seb5g seb5g deleted the patch/double_detector_snap_activation branch April 15, 2025 13:39
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 this pull request may close these issues.

2 participants