We are considering using Micro-Manager for controlling our microscope. I’m in the process of learning how to write the device adapter. So far I’ve read all the guides and setup visual studio 2010 as per instructions for writing the device adapter. I’ve also looked through dozens of examples of already written codes for device adapters. From this I’ve come to understand that all them communicate through serial port using built in MMCore functions.
We however have a situation where our microscope control boards FPGA receives commands through terminal application. We thought that it would be nice and easy to write another application which would write directly to terminal application through pipe. Then for this application we could pipe the commands as strings from MMDevice adapter. For example snap_image from MM_Device_Adapter and it would be converted to a set of commands for terminal to write to FPGA.
I’m in very novice level with C++, so I was hoping that by looking at the examples I could easily implement this kind of functionality to device adapter.
My question is that does this sound at all easily implementable thing to do with regards to writing the device adapter? Also we thought that when getting the image binaries and converting them to image it could just be stored to some file location and MM could then check the file and get the image from there when it appears.
I would greatly appreciate an input and opinions on that does this sound reasonable at all.
Thanks a lot if someone can help!