First, this work is based off of Matt Neuro's Rest Server. Hats off to Matt for letting me extend his work.
As the name, µmWeb, implies you can access µManager across the web using simple URLs. I think this is the third name change...originally I called it µmKNIME because I was developing it with KNIME in mind, but then Kyle Douglass mentioned to me he used µmKNIME (now µmWeb) to change µManager properties via his smartphone. So, someone could create a smart phone app to control µManager...
First, µmWeb can be found here: https://github.com/kbellve/MMrestServer
Here are some of the things µmWeb can do:
Snap a single image and place it in a window titled "test" at timepoint 0:
Snap a second image and place it in the same window titled "test" at timepoint 1:
Snap an image and place it in the "Snap/Live" window:
Retrieve a single image from time = 1 from window "test"
Currently, this is coded to 8 bit PNG, and it is formatted for most web browsers and KNIME (get URL node) can retrieve it without too much fuss. More work needs to be done here...but this is only meant for artificial intelligence to determine if it was appropriate to take additional images/channels, which should be saved directly to a file system.
Or, run a complete 3D multidimensional acquisition, saving as acquiring, with previously saved settings:
One can also set or get any device properties. This allows you to manually run an acquisition or put devices into the proper state before you run an automated acquisition.
This changes the exposure for the DCam device to 10 ms:
This is alpha, and there is no security with this at this point. It can and possibly will blow up your computer, your microscope, and the universe...
The port 8000 is hard coded, and there is no encryption or user authentication. I am currently thinking on how to solve this. If you must have security, and you want to try this, you could always install a web server with ssl/tls acting as a frontend and only let µmWeb connect through that web server (i.e. appropriate firewall settings). Right now, µmWeb is far enough along for me to test KNIME control of µManager via µmWeb..so that is where my attention will be in the next few months. I will get back to security after that...
Here are some of the Acquisition options seen on the default µmWeb web page:
Here are some of the Snap options seen on the default µmWeb web page:
Biomedical Imaging Group
University of Massachusetts Medical School
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
|Free forum by Nabble||Edit this page|