Re: [micro-manager-general] Matlab & Vincent Shutters
Status: Beta
Brought to you by:
nicost
|
From: Pariksheet N. <par...@gm...> - 2016-01-26 02:10:06
|
On Mon, Jan 25, 2016 at 5:31 PM, kpfc3 <kp...@ga...> wrote: > >> On Mon, Jan 25, 2016 at 4:32 PM, Pariksheet Nanda <par...@gm...> wrote: >> >>> On Jan 25, 2016 4:03 PM, "kpfc3" <[hidden email]> wrote: >>> >>> I am trying to control the Vincent DMM3 Shutters with a script in Matlab. [...] >>> Just a simple code that might receive a dummy signal >>> and open or close a shutter. >> >> Once you have the shutter recognized in Micro-Manager , at that point you >> can use Beanshell or MATLAB to control the device via Micro-Manager. > > Through MicroManager I am able to > manually open and close the shutter but I would like a code to write in > MATLAB that will do this process automatically. Per the wiki page here do you have MATLAB controling Micro-Manager already setup? https://micro-manager.org/wiki/Matlab_and_the_Micro-Manager_GUI After setting up MATLAB control of Micro-Manager, you will have a "core" object and per the link toward the buttom of that page, if the Vincent was your default shutter you would need to use: core.setShutterDevice(state) I also see you mention wanting the shutter to respond to another (TTL?) input. We would need to know in detail what you're trying to accomplish on your system to be able to suggest how to go about that. One way to go about responding to inputs is to have an Arduino setup and making decisions in response to the Arduino-Input DeviceProperty. Pariksheet |