Re: [micro-manager-general] Steps to get a functional plugin, lesson n+1
Status: Beta
Brought to you by:
nicost
|
From: Carlos G M. <tr...@ac...> - 2020-04-07 00:20:25
|
Yes, I did a whole workspace search on uM and there is no
NewDisplayEvent implementation :(
It is proving difficult to start when an API example is not implemented :)
I did not see an easy way to get a new MDA step done event either... so
I guess I will have to implement the whole acquisition control logic ?
Or ask for a new event be created...
-Carlos
Nico Stuurman @ 06/04/2020 21:11 -0300 dixit:
> Hi Carlos,
>
> On 4/6/2020 1:15 PM, Carlos G Mendioroz wrote:
>> I'm modifying the example plugin, and as I need to get hold of a display
>> (to determine a ROI set) I decided to try:
>>
>>
>> @Subscribe
>> public void onNewDisplay(NewDisplayEvent event) {
>> title.setText("We have an image to work with!");
>> }
>>
>> after making "title" a class variable much like the example's
>> exposureTimeLabel_.
>>
>> As far as I understand the documentation, I should be getting an event
>> (and title should change) when a display window is created by, e.g., a
>> new snap.
>>
>> But it does not work.
>
> Looking into this, it turns out that the NewDisplayEvent is not
> implemented, and is never generated. It either was never implemented,
> or was lost in refactoring. I asked the architect (Mark) for directions.
>
> Looked around for alternatives, but nothing pops up. Certainly looks
> like we need to fix this!
>
> Best,
>
> Nico
>
>
>
>
> _______________________________________________
> micro-manager-general mailing list
> mic...@li...
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general
--
Carlos G Mendioroz <tr...@hu...> LW7 EQI Argentina
--
Carlos G Mendioroz <tr...@ac...>
|