Re: [micro-manager-general] About GigE camera with micro-manager
Status: Beta
Brought to you by:
nicost
|
From: Yu L. <yul...@gm...> - 2015-03-05 23:06:51
|
Arnold,
You may need to close JAI control tool before staring micromanager. I
get a similar error about native module if JAI is left open. Not sure if
this is the cause, though. With my very limited hardware knowledge, I
guess, in general, only one software is allowed to talk to a camera at the
same time. Good luck.
Best,
Liu Yu
On Thu, Mar 5, 2015 at 2:24 PM, mugger [via Micro-Manager] <
ml-...@n2...> wrote:
> Hi Liu,
>
> I tried your config file and dll file. Still I was stuck at the file
> loading. I received the same error “line 17, initialize() error..."as I
> showed in my previous email. I am pretty sure I am stuck in an earlier
> stage that what you described. What do you think could be the problem? I am
> using v1.4.20. shall I got back to an older version? It this because I am
> running a 64-bit system? Another thing that confuses me is what I need to
> do with the JAI? I simply installed it and opened my camera in JAI. Then I
> opened Micro-Manager while keeping JAI open as well. But the .cfg file
> loading error stopped me from doing anything.
>
> Any clue?
>
> Kind regards
> Arnold
>
> On 5 Mar 2015, at 11:42 am, Yu Liu [via Micro-Manager] <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=7584938&i=0>> wrote:
>
> Arnold,
>
> In order for the micromanager to work with a camera, it needs a dll
> file that is called "adapter" by micromanager. It is kind of like the
> connection between micromanager and the actual proprietary driver provided
> by JAI. The cfg file is for the user to instruct micromanager which camera
> to open and how. I am not a developer, so this is just my imperfect
> understanding. I looked at my old correspondence with the author of the
> driver, and also looked at the source code of the current release. The
> problem I had is already fixed in the current release. I will forward my
> correspondence to you in a separate email.
>
> Still I am not sure if that is the same problem as you are
> experiencing. Just in case, I am attaching my cfg file and the dll file I
> am using. Both should be placed under the installation directory of
> micromanager.
>
> Sorry for not being able to find the root cause. Hopefully other
> forum members could offer some advice. By the way, it would help the
> developers to troubleshoot the problem if you attach the log file after
> turning on debug mode.
>
>
> Best,
>
> Liu Yu
>
>
> On Mar 3, 2015 11:54 PM, "mugger [via Micro-Manager]" <<a
> href="x-msg://178/user/SendEmail.jtp?type=node&node=7584908&i=0"
> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
>
>> Hi Yu,
>>
>> Thank you for your prompt reply. Forgive me if my question sounds
>> stupid. I was actually quite confused. Shouldn’t the adapter file be in
>> *.cfg format? I installed the JAI software and Micro-manager separately.
>> When installation finished, I clicked the exe files to open both of them. I
>> don’t know where to find the dll files that you talked about. The JAI
>> software is working fine with the camera. But I never successfully opened
>> it in Micro-manager.
>>
>> Best,
>> Arnold
>>
>> On 4 Mar 2015, at 6:12 pm, Yu Liu [via Micro-Manager] <[hidden email]
>> <http:/user/SendEmail.jtp?type=node&node=7584878&i=0>> wrote:
>>
>> Hello,
>> It's been quite a while since I worked on the adapter and I don't
>> even remember what problem I had with the JAI driver. In fact, I already
>> removed the Microsoft Studio which was used to compile the adapter for the
>> camera. What I do know is that I can use micromanager to acquire image or
>> video using this particular camera model. I vaguely remembered that I
>> changed the source code of the adapter a little bit to make it work. Still
>> exposure time is not configurable. You may also need to try different
>> acquisition mode of the camera. In a word, I have a working dll file (the
>> adapter for the camera), and it worked with at least one of the acquisition
>> mode of the camera. If you want to try the dll file with your camera, I
>> will be happy to send it to you. I still wish I had wrote down what I did
>> to make it work. I must have put some comments in the source code, but the
>> source code is missing as well... I know this is bad bad practice...
>>
>>
>> Best,
>>
>> Liu Yu
>> On Mar 3, 2015 7:15 PM, "mugger [via Micro-Manager]" <<a href="<a
>> href="x-msg://150/user/SendEmail.jtp?type=node&amp;node=7584877&amp;i=0"
>> class="">x-msg://150/user/SendEmail.jtp?type=node&node=7584877&i=0"
>> target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
>>
>>> Yu Liu wrote
>>> Hello,
>>> I am using a JAI RM 4200 GE camera with GigE connection. It works with
>>> JAI control tool correctly and can be detected using the sample
>>> configuration files provided by the developer of the adapter. The image
>>> from the camera can be seen through the "live" window.
>>> One thing I am trying to figure out is how to set the exposure time.
>>> It looks like I cannot change the exposure time; the exposure time setting
>>> always goes back to 0 after changing it. As a result, all the images
>>> acquired are just black pixels. I tried toggling Auto Shutter on and off
>>> and it doesn't seem to make a difference.
>>> I also noticed that if I tried to modify this configuration file
>>> through the wizard, I couldn't do anything meaningful. In another word, all
>>> the lists remain empty through all the steps, and I have nothing to do
>>> other than clicking Next. I am not sure if this is normal.
>>> Thank you very much and any suggestions will be appreciated
>>>
>>> Best,
>>> Liu Yu
>>>
>>> I found your thread is probably the most helpful, but I was still
>>> hopeless at this point. I got even worse that. I used the GigE config file
>>> provided:
>>> # Generated by Configurator on Thu Feb 03 15:24:17 EST 2011
>>>
>>> # Reset
>>> Property,Core,Initialize,0
>>> ....
>>>
>>> But I did not get anything at all except for this error message. see
>>> the attached snapshot!
>>> Error: Failed to load hardware configuration...
>>>
>>>
>>> ------------------------------
>>> If you reply to this email, your message will be added to the
>>> discussion below:
>>>
>>> http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584874.html
>>> To unsubscribe from About GigE camera with micro-manager, click here.
>>> NAML
>>> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584877.html
>> To unsubscribe from About GigE camera with micro-manager, click here.
>> NAML
>> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>>
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584878.html
>> To unsubscribe from About GigE camera with micro-manager, click here.
>> NAML
>> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
> *GigE-test-config.cfg* (738 bytes) Download Attachment
> <http://micro-manager.3463995.n2.nabble.com/attachment/7584908/0/GigE-test-config.cfg>
> *mmgr_dal_GigECamera.dll* (574K) Download Attachment
> <http://micro-manager.3463995.n2.nabble.com/attachment/7584908/1/mmgr_dal_GigECamera.dll>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584908.html
> To unsubscribe from About GigE camera with micro-manager, click here.
> NAML
> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584938.html
> To unsubscribe from About GigE camera with micro-manager, click here
> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7361976&code=eXVsLmxpdXl1QGdtYWlsLmNvbXw3MzYxOTc2fC0xNjc1ODQ0ODQz>
> .
> NAML
> <http://micro-manager.3463995.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
View this message in context: http://micro-manager.3463995.n2.nabble.com/About-GigE-camera-with-micro-manager-tp7361976p7584941.html
Sent from the Micro-Manager mailing list archive at Nabble.com. |