MATLAB crashes when PointGrey device is not plugged in when using IMAQ toolbox

4 vues (au cours des 30 derniers jours)
Andrew
Andrew le 17 Sep 2014
Commenté : Mike le 3 Oct 2014
I have installed the FlyCapture Software and Drivers (v2.7.3.8). When I use the imaq toolbox functions everything works fine when my PointGrey Chameleon is plugged in. However, if I unplug the Chameleon and try to use any imaq functions (i.e. imaqtool), then MATLAB throws an error. See below. It looks like it is trying to do something with the Point Grey direct show drivers, even when the hardware is not plugged in and it chokes. Any thoughts on getting around this because I can't use the IMAQ toolbox at all without a PointGrey camera plugged in, unless I uninstall FlyCapture.
MATLAB crash <file:C>:\Users\ahood\AppData\Local\Temp\matlab_crash_dump.11016-1:
------------------------------------------------------------------------ Access violation detected at Wed Sep 17 08:54:43 2014 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Default Encoding : windows-1252 MATLAB Architecture: win64 MATLAB Root : C:\Program Files\MATLAB\R2013b MATLAB Version : 8.2.0.701 (R2013b) Operating System : Microsoft Windows 7 Processor ID : x86 Family 6 Model 42 Stepping 7, GenuineIntel Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination: Access violation
Register State (from fault): RAX = 0000000004004f28 RBX = 0000000000000000 RCX = 000007fedfc22750 RDX = 0000000004004e98 RSP = 0000000004004f00 RBP = 0000000000000000 RSI = 00000000040060e0 RDI = 00000000040050c0
R8 = 000000002d1c0270 R9 = 000000002d1c0270
R10 = 0000000000000000 R11 = 0000000071951730
R12 = 0000000004006360 R13 = 0000000000000000
R14 = 000007feff448810 R15 = 0000000004006360
RIP = 000007fef0bd0c98 EFL = 00010206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault): [ 0] 0x000007fef0bd0c98 C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00068760 DllMain+00064088 [ 1] 0x000007fef0bc20a5 C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00008357 DllMain+00003685 [ 2] 0x000007fef0bc1fc4 C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00008132 DllMain+00003460 [ 3] 0x000007fef0bd67b0 C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00092080 DllGetClassObject+00002672 [ 4] 0x000007fef0bc1a28 C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00006696 DllMain+00002024 [ 5] 0x000007fef0bd5bcf C:\Program Files\Point Grey Research\FlyCapture2\bin64\FlyCapture2DirectShowSource_v100.ax+00089039 DllMain+00084367 [ 6] 0x000007feff282363 C:\Windows\system32\ole32.dll+00074595 CLSIDFromString+00007395 [ 7] 0x000007feff28169a C:\Windows\system32\ole32.dll+00071322 CLSIDFromString+00004122
  1 commentaire
Mike
Mike le 3 Oct 2014
Always run imaqreset before disconnecting the camera. I have had similar crashing issues and I found doing the reset first gets rid of it.

Connectez-vous pour commenter.

Réponses (1)

Andrew
Andrew le 17 Sep 2014
Uninstalling FlyCapture 2.7.3.8 and reverting back to FlyCapture 2.6.3.4 seemed to avoid the crash. Not sure what I'm missing in 2.6 vs. 2.7 but this will probably suffice.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by