Re: [micro-manager-general] Matlab Configuration - CMMCore Object
Status: Beta
Brought to you by:
nicost
|
From: Kiana Go <gok...@be...> - 2018-06-29 18:51:58
|
Hi Kyle,
Quick question. I am using a XYStage Prior and want to load it. Is the
following correct? The stage is Prior and its corresponding adapter is the
ProScanIII.
*mmc.loadDevice("XYStage", "Prior", "ProScanIII");*
* throw (CMMError)*
or should it be like:
*mmc.loadDevice("XYStage", "Prior", "Prior");*
* throw (CMMError)*
Much Appreciated,
Kiana Go
On Fri, Jun 29, 2018 at 11:26 AM, Kiana Go <gok...@be...> wrote:
> Hi Kyle,
>
> Sounds like an excellent plan! Thank you so much!!!
>
> Much Appreciated,
> Kiana Go
>
> On Thu, Jun 28, 2018 at 11:52 PM, Kyle Douglass <kyl...@gm...
> > wrote:
>
>> Hi Kiana Go,
>>
>> On Thu, Jun 28, 2018 at 11:05 PM, Kiana Go <gok...@be...>
>> wrote:
>>
>>> Hello Kyle,
>>>
>>> Thanks so much Kyle for the help! I've been stuck on these problems
>>> for days but I've finally moved a step forward with your help! :)
>>>
>>
>> You're welcome!
>>
>>
>>> In addition, can you help me figure out if I need to import any other
>>> libraries or anything at all with my code below? Also, if you see anything
>>> wrong or peculiar with how I utilize the functions, please let me know.
>>>
>>
>>>
>>> * //gets image acquired from snapImage*
>>> * img=mmc.getImage();*
>>> * throw (CMMError)*
>>>
>>> * //save image with coordinates as name*
>>> * a/b/c = img*
>>>
>>> * //add image to Album *
>>> * gui.addToAlbum(a/b/c);*
>>> * throw (org.micromanager.utils.MMScriptException)*
>>>
>>
>> It's a bit difficult to offer advice about a script over e-mail. It is,
>> however, fairly routine to help debug any specific error messages that are
>> produced by the script. Are there are any error messages you get when you
>> run the script? If yes, which lines cause the problem?
>>
>> I think you're right that the line `a/b/c = img` is most likely going to
>> raise an error. My suggestion would be to just run the script as it is and
>> make note of the first error message that you encounter. Fix it, and then
>> rerun the script to see whether you get any new errors further along. If
>> you can't fix it, then write back the mailing list with the code and the
>> error message and we'll see what we can do ;) The error messages should
>> help guide you along the way to finding your solution.
>>
>> Good luck!
>> Kyle
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>> mic...@li...
>> https://lists.sourceforge.net/lists/listinfo/micro-manager-general
>>
>>
>
>
> --
> Class of 2021
>
--
Class of 2021
|