Hamamatsu Camera Troubles

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Hamamatsu Camera Troubles

nranthony
Hi all.  I'm having issues with with a pair of ORCA-ER's recently and I thought I'd get your opinions as I bang my head against this one for a while.

1)
I'm getting time out errors when I take single images or time lapse only in MDA if the exposure time is greater than the time lapse interval (from the log):
"Error encountered during sequence acquisition: -2147483386, index was: 0, count was: 0"
followed a couple of lines down
"java.lang.Exception: Timed out waiting for image to arrive from camera. in Thread"
Note, it appears to go into a burst mode "task :burst" and then hangs for a while before the error.

2)
I get a somewhat random camera read error that is really difficult to nail down:
From the log I see:
"Error occurred in device CMMCore::getImage(): Camera image buffer read failed."

It doesn't appear to be correlated to the buffer size (most of the time; sometimes it tricks me into thinking it is).  I've tried OpenSPIM MM 64bit (original and updated), MM 1.44, MM nb, MM2 b3 from 4/28 and 3/26 (or something similar).  The same errors seemed to come up across the installs at the same time, so I'm guessing they're links somehow, but the behavior is different (the buffer makes more difference in MM2 as far as I can tell).

I had the setup working with OpenSPIM orig, MM1.44 and MM2.  Due to a file save issue that stopped the files from loading in batch mode (drag and drop worked; yes, I checked the SCIFIO) I updated the OpenSPIM install (made a copy of the original).  At similar time (wish I had paid more attention and did some long acqs after each change) I installed 3D Connexion space mouse software (super cool!  A must for every SPIM ;).

I think it's related to my channels.  If I open MM and run a time lapse it doesn't happen, but if I select a preset of Green channel for example, and run the same timelapse it does happen, and can happen somewhat randomly.  It also happens if I setup a timelapse switching the channels.

I use an Arduino to switch lasers, and wonder if the USB connection from the space mouse is upsetting things.  I've tried with the space mouse disconnected and it makes no difference.  I'll try uninstalling the software, but I'd really rather have it as it's super cool.

Next I will try some older version of DCAM (I have a couple; does anybody have any older versions they'd like to share?).


List of a few things I've tried/checked:
- BIOS is up to date - Dell T7400 A11 from 2012
- All power settings in bios and windows have been checked and double checked
- Latest DCAM drivers in place (last thing I did was to uninstall, clean reg with CCleaner, and reinstall latest DCAM to double check it was properly in place)

Thanks
Neil
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hamamatsu Camera Troubles

jdiemer
This post was updated on .
I've a similar error at my setup. I'm using two Hamamatsu ORCA Flash 4.0 (V2 and V3). Configurations with only one camera are working fine. But when I do long acquisitions (>4000 images) with both cameras active at some point MM got stuck and Windows7 64x crashes.

I already send a Bug Report, but as the log is quite long with 5k images it was truncated. I hope the crucial information were transmitted.

I'm using a configuration from MM1.4.23, but extended this in MM2.0b with the second camera, as I was unable to do so in 1.4.23 (crashes, or dont show MultiCam Adapter). The error occurs with MM1.4 and MM2.0 nevertheless. If I try to make a new config in MM2.0, I got problems with other hardware, more precise my DA controled PiezoStage.

Live and Snap work most of the time, only when I switch between cameras often or fast I get the error for Camera image buffer read failed. But I can record afterwards again.


## 7000 images are recorded.....
##but then
2017-01-24T12:35:21.207985 tid30500 [IFO,dev:PiezoDA] 2P >>>> AnalogIO::SetVoltage() = 5.025
2017-01-24T12:35:21.207985 tid30500 [IFO,dev:PiezoDA] Setting up task for Dev1/ao1
2017-01-24T12:35:21.207985 tid30500 [IFO,dev:PiezoDA] Cancelling task for Dev1/ao1
2017-01-24T12:35:21.223986 tid30500 [IFO,dev:CoolLed] Setting up task for Dev1/ao0
2017-01-24T12:35:21.223986 tid30500 [IFO,dev:CoolLed] Cancelling task for Dev1/ao0
2017-01-24T12:35:27.892367 tid3768 [IFO,App] EDTHangLogger: Missed heartbeat; waiting to see if we are stuck on a single event
2017-01-24T12:35:28.893425 tid3768 [IFO,App] EDTHangLogger: Event handling has exceeded at least 1000 ms (currently 5501 ms since heartbeat timebase)
                                   [       ] Stack traces follow (note: thread states queried later than stack traces)
                                   [       ] Thread 2 [Reference Handler] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
                                   [       ] Thread 3 [Finalizer] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                                   [       ]   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                                   [       ]   at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
                                   [       ] Thread 4 [Signal Dispatcher] RUNNABLE
                                   [       ] Thread 5 [Attach Listener] RUNNABLE
                                   [       ] Thread 10 [Java2D Disposer] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                                   [       ]   at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                                   [       ]   at sun.java2d.Disposer.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 11 [AWT-Shutdown] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at sun.awt.AWTAutoShutdown.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 12 [AWT-Windows] RUNNABLE
                                   [       ]   at sun.awt.windows.WToolkit.eventLoop(Native Method)
                                   [       ]   at sun.awt.windows.WToolkit.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 15 [AWT-EventQueue-0] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at sun.java2d.d3d.D3DScreenUpdateManager.runUpdateNow(Unknown Source)
                                   [       ]   at sun.java2d.d3d.D3DBlitLoops.IsoBlit(Unknown Source)
                                   [       ]   at sun.java2d.d3d.D3DRTTSurfaceToSurfaceBlit.Blit(Unknown Source)
                                   [       ]   at sun.java2d.pipe.DrawImage.blitSurfaceData(Unknown Source)
                                   [       ]   at sun.java2d.pipe.DrawImage.renderImageCopy(Unknown Source)
                                   [       ]   at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
                                   [       ]   at sun.java2d.pipe.DrawImage.copyImage(Unknown Source)
                                   [       ]   at sun.java2d.pipe.ValidatePipe.copyImage(Unknown Source)
                                   [       ]   at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
                                   [       ]   at sun.java2d.SunGraphics2D.drawImage(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager.paint(Unknown Source)
                                   [       ]   at javax.swing.JComponent._paintImmediately(Unknown Source)
                                   [       ]   at javax.swing.JComponent.paintImmediately(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager.access$700(Unknown Source)
                                   [       ]   at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
                                   [       ]   at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                                   [       ]   at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                                   [       ]   at java.awt.EventQueue.access$000(Unknown Source)
                                   [       ]   at java.awt.EventQueue$1.run(Unknown Source)
                                   [       ]   at java.awt.EventQueue$1.run(Unknown Source)
                                   [       ]   at java.security.AccessController.doPrivileged(Native Method)
                                   [       ]   at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
                                   [       ]   at java.awt.EventQueue.dispatchEvent(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                                   [       ]   at java.awt.EventDispatchThread.run(Unknown Source)
                                   [       ] Thread 18 [DestroyJavaVM] RUNNABLE
                                   [       ] Thread 19 [User profile save thread] TIMED_WAITING
                                   [       ]   at java.lang.Thread.sleep(Native Method)
                                   [       ]   at org.micromanager.internal.utils.DefaultUserProfile.runSaveThread(DefaultUserProfile.java:191)
                                   [       ]   at org.micromanager.internal.utils.DefaultUserProfile.access$000(DefaultUserProfile.java:22)
                                   [       ]   at org.micromanager.internal.utils.DefaultUserProfile$1.run(DefaultUserProfile.java:168)
                                   [       ] Thread 20 [EDTHangLogger timer] RUNNABLE
                                   [       ]   at java.lang.Thread.dumpThreads(Native Method)
                                   [       ]   at java.lang.Thread.getAllStackTraces(Unknown Source)
                                   [       ]   at org.micromanager.internal.diagnostics.EDTHangLogger.checkForHang(EDTHangLogger.java:233)
                                   [       ]   at org.micromanager.internal.diagnostics.EDTHangLogger.access$200(EDTHangLogger.java:34)
                                   [       ]   at org.micromanager.internal.diagnostics.EDTHangLogger$4.run(EDTHangLogger.java:220)
                                   [       ]   at java.util.TimerThread.mainLoop(Unknown Source)
                                   [       ]   at java.util.TimerThread.run(Unknown Source)
                                   [       ] Thread 23 [TimerQueue] TIMED_WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at javax.swing.TimerQueue.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 24 [D3D Screen Updater] RUNNABLE
                                   [       ]   at sun.java2d.d3d.D3DRenderQueue.flushBuffer(Native Method)
                                   [       ]   at sun.java2d.d3d.D3DRenderQueue.flushBuffer(Unknown Source)
                                   [       ]   at sun.java2d.d3d.D3DRenderQueue.flushNow(Unknown Source)
                                   [       ]   at sun.java2d.d3d.D3DSurfaceData.swapBuffers(Unknown Source)
                                   [       ]   at sun.java2d.d3d.D3DScreenUpdateManager.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 32 [Thread-11] TIMED_WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at bsh.util.JConsole$BlockingPipedInputStream.read(JConsole.java:771)
                                   [       ]   at java.io.PipedInputStream.read(Unknown Source)
                                   [       ]   at java.io.InputStream.read(Unknown Source)
                                   [       ]   at bsh.util.JConsole.inPipeWatcher(JConsole.java:667)
                                   [       ]   at bsh.util.JConsole.run(JConsole.java:677)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 33 [BeanShell interpreter] TIMED_WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.io.PipedInputStream.read(Unknown Source)
                                   [       ]   at java.io.PipedInputStream.read(Unknown Source)
                                   [       ]   at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
                                   [       ]   at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
                                   [       ]   at sun.nio.cs.StreamDecoder.read(Unknown Source)
                                   [       ]   at java.io.InputStreamReader.read(Unknown Source)
                                   [       ]   at bsh.JavaCharStream.FillBuff(JavaCharStream.java:160)
                                   [       ]   at bsh.JavaCharStream.ReadByte(JavaCharStream.java:188)
                                   [       ]   at bsh.JavaCharStream.readChar(JavaCharStream.java:289)
                                   [       ]   at bsh.JavaCharStream.BeginToken(JavaCharStream.java:209)
                                   [       ]   at bsh.ParserTokenManager.getNextToken(ParserTokenManager.java:2072)
                                   [       ]   at bsh.Parser.jj_ntk(Parser.java:6022)
                                   [       ]   at bsh.Parser.Line(Parser.java:163)
                                   [       ]   at bsh.Interpreter.Line(Interpreter.java:1011)
                                   [       ]   at bsh.Interpreter.run(Interpreter.java:462)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 41 [Thread-16] TIMED_WAITING
                                   [       ]   at java.lang.Thread.sleep(Native Method)
                                   [       ]   at org.micromanager.display.internal.inspector.MetadataPanel.updateMetadata(MetadataPanel.java:262)
                                   [       ]   at org.micromanager.display.internal.inspector.MetadataPanel.access$000(MetadataPanel.java:62)
                                   [       ]   at org.micromanager.display.internal.inspector.MetadataPanel$1.run(MetadataPanel.java:107)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 42 [Thread-17] TIMED_WAITING
                                   [       ]   at java.lang.Thread.sleep(Native Method)
                                   [       ]   at org.micromanager.display.internal.inspector.CommentsPanel.updateComments(CommentsPanel.java:180)
                                   [       ]   at org.micromanager.display.internal.inspector.CommentsPanel.access$000(CommentsPanel.java:46)
                                   [       ]   at org.micromanager.display.internal.inspector.CommentsPanel$1.run(CommentsPanel.java:67)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 55 [Scrollbar panel update thread] TIMED_WAITING
                                   [       ]   at java.lang.Thread.sleep(Native Method)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel.runUpdateThread(ScrollerPanel.java:422)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel.access$100(ScrollerPanel.java:68)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel$1.run(ScrollerPanel.java:192)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 56 [zSelector] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at ij.gui.StackWindow.run(StackWindow.java:226)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 2091 [SwingWorker-pool-1-thread-1] WAITING
                                   [       ]   at sun.misc.Unsafe.park(Native Method)
                                   [       ]   at java.util.concurrent.locks.LockSupport.park(Unknown Source)
                                   [       ]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
                                   [       ]   at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
                                   [       ]   at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
                                   [       ]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 2092 [FPS display blank] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at java.util.TimerThread.mainLoop(Unknown Source)
                                   [       ]   at java.util.TimerThread.run(Unknown Source)
                                   [       ] Thread 2093 [AcquisitionEngine2010 Thread (Clojure)] RUNNABLE
                                   [       ]   at mmcorej.MMCoreJJNI.CMMCore_snapImage(Native Method)
                                   [       ]   at mmcorej.CMMCore.snapImage(CMMCore.java:885)
                                   [       ]   at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
                                   [       ]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                   [       ]   at java.lang.reflect.Method.invoke(Unknown Source)
                                   [       ]   at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:92)
                                   [       ]   at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:316)
                                   [       ]   at org.micromanager.acq_engine$snap_image$attempt__813__auto____916.invoke(acq_engine.clj:283)
                                   [       ]   at org.micromanager.acq_engine$snap_image$fn__924.invoke(acq_engine.clj:283)
                                   [       ]   at org.micromanager.acq_engine$snap_image.invoke(acq_engine.clj:283)
                                   [       ]   at clojure.lang.AFn.applyToHelper(AFn.java:163)
                                   [       ]   at clojure.lang.AFn.applyTo(AFn.java:151)
                                   [       ]   at clojure.core$apply.invoke(core.clj:600)
                                   [       ]   at org.micromanager.acq_engine$expose.invoke(acq_engine.clj:588)
                                   [       ]   at org.micromanager.acq_engine$make_event_fns$fn__1292.invoke(acq_engine.clj:765)
                                   [       ]   at org.micromanager.acq_engine$execute.invoke(acq_engine.clj:773)
                                   [       ]   at org.micromanager.acq_engine$run_acquisition.invoke(acq_engine.clj:787)
                                   [       ]   at org.micromanager.acq_engine$run$fn__1413.invoke(acq_engine.clj:976)
                                   [       ]   at clojure.lang.AFn.run(AFn.java:24)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 2095 [TaggedImage sink thread] TIMED_WAITING
                                   [       ]   at sun.misc.Unsafe.park(Native Method)
                                   [       ]   at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
                                   [       ]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(Unknown Source)
                                   [       ]   at java.util.concurrent.LinkedBlockingQueue.poll(Unknown Source)
                                   [       ]   at org.micromanager.acquisition.internal.DefaultTaggedImageSink$1.run(DefaultTaggedImageSink.java:56)
                                   [       ] Thread 2096 [Scrollbar panel update thread] TIMED_WAITING
                                   [       ]   at java.lang.Thread.sleep(Native Method)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel.runUpdateThread(ScrollerPanel.java:422)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel.access$100(ScrollerPanel.java:68)
                                   [       ]   at org.micromanager.display.internal.ScrollerPanel$1.run(ScrollerPanel.java:192)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 2098 [zSelector] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at ij.gui.StackWindow.run(StackWindow.java:226)
                                   [       ]   at java.lang.Thread.run(Unknown Source)
                                   [       ] Thread 4050 [FPS display blank] WAITING
                                   [       ]   at java.lang.Object.wait(Native Method)
                                   [       ]   at java.lang.Object.wait(Object.java:485)
                                   [       ]   at java.util.TimerThread.mainLoop(Unknown Source)
                                   [       ]   at java.util.TimerThread.run(Unknown Source)
2017-01-24T12:35:33.224672 tid30500 [IFO,dev:CoolLed] Setting up task for Dev1/ao0
2017-01-24T12:35:33.224672 tid30500 [IFO,dev:CoolLed] Cancelling task for Dev1/ao0
2017-01-24T12:35:35.243788 tid30500 [ERR,Core] Error occurred in device CMMCore::getImage(): Camera image buffer read failed.
2017-01-24T12:35:35.246788 tid53152 [IFO,App] Acquisition failed.
                                    [       ] java.lang.RuntimeException: java.lang.Exception: Camera image buffer read failed. in Thread[clojure-agent-send-off-pool-0,6,main]
                                    [       ]   at clojure.lang.Util.runtimeException(Util.java:165)
                                    [       ]   at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:35)
                                    [       ]   at org.micromanager.acq_engine$collect_snap_image.invoke(acq_engine.clj:523)
                                    [       ]   at org.micromanager.acq_engine$collect.invoke(acq_engine.clj:599)
                                    [       ]   at org.micromanager.acq_engine$make_event_fns$fn__1292.invoke(acq_engine.clj:766)
                                    [       ]   at org.micromanager.acq_engine$execute.invoke(acq_engine.clj:773)
                                    [       ]   at org.micromanager.acq_engine$run_acquisition.invoke(acq_engine.clj:787)
                                    [       ]   at org.micromanager.acq_engine$run$fn__1413.invoke(acq_engine.clj:976)
                                    [       ]   at clojure.lang.AFn.run(AFn.java:24)
                                    [       ]   at java.lang.Thread.run(Unknown Source)
                                    [       ] Caused by: java.lang.Exception: Camera image buffer read failed.
                                    [       ]   at mmcorej.MMCoreJJNI.CMMCore_getImage__SWIG_1(Native Method)
                                    [       ]   at mmcorej.CMMCore.getImage(CMMCore.java:893)
                                    [       ]   at mmcorej.CMMCore.getTaggedImage(CMMCore.java:156)
                                    [       ]   at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
                                    [       ]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                                    [       ]   at java.lang.reflect.Method.invoke(Unknown Source)
                                    [       ]   at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:92)
                                    [       ]   at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:30)
                                    [       ]   at org.micromanager.acq_engine$collect_snap_image.invoke(acq_engine.clj:523)
                                    [       ]   at org.micromanager.acq_engine$collect.invoke(acq_engine.clj:599)
                                    [       ]   at org.micromanager.acq_engine$make_event_fns$fn__1292.invoke(acq_engine.clj:766)
                                    [       ]   at org.micromanager.acq_engine$execute.invoke(acq_engine.clj:773)
                                    [       ]   at org.micromanager.acq_engine$run_acquisition.invoke(acq_engine.clj:787)
                                    [       ]   at org.micromanager.acq_engine$run$fn__1413.invoke(acq_engine.clj:976)
                                    [       ]   at clojure.lang.AFn.run(AFn.java:24)
                                    [       ]   at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hamamatsu Camera Troubles

Nico Stuurman-2

On 1/25/17 7:34 AM, jdiemer wrote:
> I've a similar error at my setup. I'm using two Hamamatsu ORCA Flash 4.0 (V2
> and V3). Configurations with only one camera are working fine. But when I do
> long acquisitions (>4000 images) with both cameras active at some point MM
> got stuck and Windows7 64x crashes.

As in a blue screen?  If so, this is a driver problem, and you may want
to contact Hamamatsu for support.

> Live and Snap work most of the time, only when I switch between cameras
> often or fast I get the error for Camera image buffer read failed. But I can
> record afterwards again.

Is this a different problem?  How do you switch between cameras?  If
using a script, can you post an example?  If using the Multi-Dimensional
Acquisition Windows, can you explain how you set up your channels and
MDA?  In any case, I think that you will be much better off asking Open
Imaging rather than hoping for community support.

Best,

Nico


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/micro-manager-general
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hamamatsu Camera Troubles

jdiemer
><quote author="Nico Stuurman-2">
>On 1/25/17 7:34 AM, jdiemer wrote:
>> I've a similar error at my setup. I'm using two Hamamatsu ORCA Flash 4.0 (V2
>> and V3). Configurations with only one camera are working fine. But when I do
>> long acquisitions (>4000 images) with both cameras active at some point MM
>> got stuck and Windows7 64x crashes.

>As in a blue screen?  If so, this is a driver problem, and you may want
to contact Hamamatsu for support.

According to Windows Reliability History it is NikonTiS.exe which stopped working.


>> Live and Snap work most of the time, only when I switch between cameras
>> often or fast I get the error for Camera image buffer read failed. But I can
>> record afterwards again.

>Is this a different problem?  How do you switch between cameras?  If
>using a script, can you post an example?  If using the Multi-Dimensional
>Acquisition Windows, can you explain how you set up your channels and
>MDA?  In any case, I think that you will be much better off asking Open
>Imaging rather than hoping for community support.

The log messages are the same, but Windows does not crash. I use a group containing the core camera, presets, to switch between the two cameras or to both.

I set the MultiCam as core camera before the MDA, in the MDA window I use presets of channels with the correct exitation for two fluorescent channels. The group channels controls the settings for the LumencorSpectraX.

>Best,

>Nico


>------------------------------------------------------------------------------
>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
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/micro-manager-general
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hamamatsu Camera Troubles

jdiemer
<quote author="jdiemer">

>As in a blue screen?  If so, this is a driver problem, and you may want
to contact Hamamatsu for support.

According to Windows Reliability History it is NikonTiS.exe which stopped working and javaw.exe stopped responding.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hamamatsu Camera Troubles

habbasi
jdiemer wrote
As in a blue screen?  If so, this is a driver problem, and you may want
to contact Hamamatsu for support.

According to Windows Reliability History it is NikonTiS.exe which stopped working and javaw.exe stopped responding.
Hello. I'm one of Jascha's co-workers and I helped him debug the issue. It seems that it was not a blue screen, but either some sort of memory leak or memory being continuously allocated in a loop, either in the driver or in Micro Manager itself. We're still trying to determine which.

When we try to capture images in multi camera mode, after an hour or so of captures (it varies, but seems to always occur if the capture is long enough) all of Windows just freezes, to the point that we can't even move the mouse.

A cursory look in event manager after a restart shows that so much memory was allocated that even the pagefile reached its maximum size and subsequent requests for memory allocation were denied.

The Micro Manager log file shows that it failed to get image from the camera.
Loading...