micro-manager plugin development issue

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

micro-manager plugin development issue

Micro-Manager mailing list
Dear all,

I am fairly new to micro-manager and have learned a lot from the forum contributed by you guys, I want to thank you guys in advance for that.

I am working on to write a plugins that will serve as a central controller to our the devices connected to micro-manager or to the PC via RS-232. At this moment, I followed the instruction on how to write plugins using Netbeans and wrote my “HelloWorld” program.

It does get built successfully. After I copied the jar file under the default installation directory/Micro-Manager/mmplugins, and run “Debug Project”, it does behave as expected.

However, if I try to run the Micro-Manager directly and click the “Plugins” menu, I don’t get the pull-down menu. All other functions, features work as normal.

Thank you guys for your time and any help would be appreciated.

My apologies if I didn't make my question well explained, please let me know if you have questions.

Donny
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: (QUAR} micro-manager plugin development issue

Nico Stuurman-2
Hi Donny,

> I am working on to write a plugins that will serve as a central controller to our the devices connected to micro-manager or to the PC via RS-232. At this moment, I followed the instruction on how to write plugins using Netbeans and wrote my “HelloWorld” program.
>
> It does get built successfully. After I copied the jar file under the default installation directory/Micro-Manager/mmplugins, and run “Debug Project”, it does behave as expected.
>
> However, if I try to run the Micro-Manager directly and click the “Plugins” menu, I don’t get the pull-down menu. All other functions, features work as normal.

You may want to look at the Corelog (in the Corelogs) folder.  It sounds
like plugin loader crashes while trying to load your plugin, and
therefore does not populate the menu.  There can be many potential
reasons for this, for instance, the byte code could be of a newer
version that the Micro-Manager runtime version (for instance, you may
have produced Java 8 byte code, and try to use this in a Micro-Manager
running under Java 6), or there could be unresolved dependencies in your
plugin.

Hope this helps!

Best,

Nico



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|

Re: (QUAR} micro-manager plugin development issue

Micro-Manager mailing list
Dear Nico,

Sorry for the late reply, I want to thank you for pointing me to the right direction. After rebuild it under Java 6, I’ve made it work!

I also noticed that we are currently working on the MM 2.0, is there an estimated release time? I’m wondering if I should just build my plugin under 6 and then changes it to 8 once 2.0 is released or should I wait for the release if it is anytime soon.

Best,
Donny

> On Apr 6, 2018, at 3:13 PM, Nico Stuurman <[hidden email]> wrote:
>
> Hi Donny,
>
>> I am working on to write a plugins that will serve as a central controller to our the devices connected to micro-manager or to the PC via RS-232. At this moment, I followed the instruction on how to write plugins using Netbeans and wrote my “HelloWorld” program.
>>
>> It does get built successfully. After I copied the jar file under the default installation directory/Micro-Manager/mmplugins, and run “Debug Project”, it does behave as expected.
>>
>> However, if I try to run the Micro-Manager directly and click the “Plugins” menu, I don’t get the pull-down menu. All other functions, features work as normal.
>
> You may want to look at the Corelog (in the Corelogs) folder.  It sounds like plugin loader crashes while trying to load your plugin, and therefore does not populate the menu.  There can be many potential reasons for this, for instance, the byte code could be of a newer version that the Micro-Manager runtime version (for instance, you may have produced Java 8 byte code, and try to use this in a Micro-Manager running under Java 6), or there could be unresolved dependencies in your plugin.
>
> Hope this helps!
>
> Best,
>
> Nico
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> micro-manager-general mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/micro-manager-general


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
micro-manager-general mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general