Image Acquisition Tool box and Fn winvideo
5 次查看(过去 30 天)
显示 更早的评论
I have some problems. If I evaluate imaqhwinfo('winvideo'), the problem ocurrs as following,
>> maqInfo = imaqhwinfo
maqInfo =
InstalledAdaptors: {'gige' 'matrox' 'winvideo'}
MATLABVersion: '7.13 (R2011b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '4.2 (R2011b)'
>> hwInfo = imaqhwinfo('winvideo')
------------------------------------------------------------------------ Segmentation violation detected at Tue Feb 04 12:09:21 2014 ------------------------------------------------------------------------
Configuration: Crash Decoding : Disabled Default Encoding: windows-949 MATLAB Root : C:\Program Files\MATLAB\R2011b MATLAB Version : 7.13.0.564 (R2011b) Operating System: Microsoft Windows 7 Processor ID : x86 Family 6 Model 10 Stepping 7, GenuineIntel Virtual Machine : Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault): RAX = 0000000000000000 RBX = 880000532f727593 RCX = ffffffffffffffff RDX = 0000000000000088 RSP = 00000000041f76b0 RBP = 0000000000000000 RSI = 880000532f727593 RDI = 880000532f727593
R8 = 0000000027936cc0 R9 = 0000000027936cd0
R10 = 0068006300650054 R11 = 00000000041f7708
R12 = 000000000e29cb60 R13 = 00000000ffffffff
R14 = 0000000000000001 R15 = 0000000065895240
RIP = 000000001923f947 EFL = 00010286
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault): [ 0] 0x000000001923f947 C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00063815 ( DllGetClassObject+022295 ) [ 1] 0x0000000019235728 C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00022312 ( DllMain+017704 ) [ 2] 0x0000000019236a88 C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00027272 ( DllMain+022664 ) [ 3] 0x0000000019236af4 C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00027380 ( DllMain+022772 ) [ 4] 0x00000000192312ab C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00004779 ( DllMain+000171 ) [ 5] 0x0000000019234594 C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00017812 ( DllMain+013204 ) [ 6] 0x000000001923b11e C:\Program Files\IMI Tech\Neptune\NeptuneCaptureFilter.ax+00045342 ( DllGetClassObject+003822 ) [ 7] 0x000000002559aa3a C:\Program Files\MATLAB\R2011b\bin\win64\mwdx.dll+00043578 ( mwdx::Filter::~Filter+000058 ) [ 8] 0x00000000255a17b0 C:\Program Files\MATLAB\R2011b\bin\win64\mwdx.dll+00071600 ( mwdx::VideoCaptureFilter::operator=+000256 ) [ 9] 0x00000000255a694d C:\Program Files\MATLAB\R2011b\bin\win64\mwdx.dll+00092493 ( mwdx::VideoCaptureGraph::~VideoCaptureGraph+000061 ) [ 10] 0x0000000015075761 C:\Program Files\MATLAB\R2011b\toolbox\imaq\imaqadaptors\win64\mwwinvideoimaq.dll+00022369 ( getAvailHW+000833 ) [ 11] 0x0000000014fc190d C:\Program Files\MATLAB\R2011b\toolbox\imaq\imaq\imaqmex.mexw64+00071949 ( ???+000000 ) [ 12] 0x0000000014fc2c42 C:\Program Files\MATLAB\R2011b\toolbox\imaq\imaq\imaqmex.mexw64+00076866 ( ???+000000 ) [ 13] 0x0000000014fe4edc C:\Program Files\MATLAB\R2011b\toolbox\imaq\imaq\imaqmex.mexw64+00216796 ( imaqkit::createAdaptorManager+001180 ) [ 14] 0x0000000014fe7b34 C:\Program Files\MATLAB\R2011b\toolbox\imaq\imaq\imaqmex.mexw64+00228148 ( mexFunction+000324 ) [ 15] 0x0000000066657bb3 C:\Program Files\MATLAB\R2011b\bin\win64\libmex.dll+00031667 ( mexRunMexFile+000131 ) [ 16] 0x00000000666568df C:\Program Files\MATLAB\R2011b\bin\win64\libmex.dll+00026847 ( inSwapMexfileReader+000223 ) [ 17] 0x0000000066656aa8 C:\Program Files\MATLAB\R2011b\bin\win64\libmex.dll+00027304 ( inSwapMexfileReader+000680 ) [ 18] 0x000000006583be26 C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00048678 ( Mfh_file::dispatch_fh+000486 ) [ 19] 0x000000006583b7cd C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00047053 ( Mfunction_handle::dispatch+000781 ) [ 20] 0x0000000063d88274 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00688756 ( inGetCurrentWS+642836 ) [ 21] 0x0000000063d7620b C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00614923 ( inGetCurrentWS+569003 ) [ 22] 0x0000000063d4d7ea C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00448490 ( inGetCurrentWS+402570 ) [ 23] 0x0000000063d5bbde C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00506846 ( inGetCurrentWS+460926 ) [ 24] 0x0000000063d5e53f C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00517439 ( inGetCurrentWS+471519 ) [ 25] 0x0000000063d61711 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00530193 ( inGetCurrentWS+484273 ) [ 26] 0x0000000063d79593 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00628115 ( inGetCurrentWS+582195 ) [ 27] 0x0000000063d796e0 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00628448 ( inGetCurrentWS+582528 ) [ 28] 0x0000000063d6948f C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00562319 ( inGetCurrentWS+516399 ) [ 29] 0x0000000063d67608 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00554504 ( inGetCurrentWS+508584 ) [ 30] 0x0000000063d6f3f9 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00586745 ( inGetCurrentWS+540825 ) [ 31] 0x000000006583be26 C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00048678 ( Mfh_file::dispatch_fh+000486 ) [ 32] 0x000000006583b7cd C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00047053 ( Mfunction_handle::dispatch+000781 ) [ 33] 0x0000000063d88274 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00688756 ( inGetCurrentWS+642836 ) [ 34] 0x0000000063d7620b C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00614923 ( inGetCurrentWS+569003 ) [ 35] 0x0000000063d4d7ea C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00448490 ( inGetCurrentWS+402570 ) [ 36] 0x0000000063d5bbde C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00506846 ( inGetCurrentWS+460926 ) [ 37] 0x0000000063d5e53f C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00517439 ( inGetCurrentWS+471519 ) [ 38] 0x0000000063d692fa C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00561914 ( inGetCurrentWS+515994 ) [ 39] 0x0000000063d67608 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00554504 ( inGetCurrentWS+508584 ) [ 40] 0x0000000063d6f3f9 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00586745 ( inGetCurrentWS+540825 ) [ 41] 0x000000006583be26 C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00048678 ( Mfh_file::dispatch_fh+000486 ) [ 42] 0x000000006583b7cd C:\Program Files\MATLAB\R2011b\bin\win64\m_dispatcher.dll+00047053 ( Mfunction_handle::dispatch+000781 ) [ 43] 0x0000000063de4158 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01065304 ( inAnonymousFunction+001048 ) [ 44] 0x0000000063df4835 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01132597 ( inIsCodeBlockComplete+006005 ) [ 45] 0x0000000063df84e5 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01148133 ( inSetMaxFrameCount+001205 ) [ 46] 0x0000000063df84b8 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01148088 ( inSetMaxFrameCount+001160 ) [ 47] 0x0000000063df8477 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01148023 ( inSetMaxFrameCount+001095 ) [ 48] 0x0000000063dbe783 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+00911235 ( inCallFcn+002435 ) [ 49] 0x0000000063deb570 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01095024 ( inEvalCmdWithLocalReturn+000304 ) [ 50] 0x0000000063deb4cc C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01094860 ( inEvalCmdWithLocalReturn+000140 ) [ 51] 0x0000000063deb481 C:\Program Files\MATLAB\R2011b\bin\win64\m_interpreter.dll+01094785 ( inEvalCmdWithLocalReturn+000065 ) [ 52] 0x0000000079fbea3a C:\Program Files\MATLAB\R2011b\bin\win64\libmwbridge.dll+00059962 ( mnDebugPrompt+000106 ) [ 53] 0x0000000079fc04ec C:\Program Files\MATLAB\R2011b\bin\win64\libmwbridge.dll+00066796 ( mnParser+000412 ) [ 54] 0x00000000749aea14 C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00256532 ( mcrInstance::mnParser_on_interpreter_thread+000036 ) [ 55] 0x000000007498e91f C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00125215 ( DepfunRules::postWarning+039087 ) [ 56] 0x000000007498e981 C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00125313 ( DepfunRules::postWarning+039185 ) [ 57] 0x000000000470bc76 C:\Program Files\MATLAB\R2011b\bin\win64\uiw.dll+00375926 ( UIW_IsUserMessage+000086 ) [ 58] 0x000000000470c344 C:\Program Files\MATLAB\R2011b\bin\win64\uiw.dll+00377668 ( ws_ProcessPendingEventsWaitForWindows+000356 ) [ 59] 0x00000000771287fe C:\Windows\system32\USER32.dll+00165886 ( GetMenuBarInfo+000638 ) [ 60] 0x000000007710f5fb C:\Windows\system32\USER32.dll+00062971 ( SystemParametersInfoW+000235 ) [ 61] 0x0000000077114895 C:\Windows\system32\USER32.dll+00084117 ( IsProcessDPIAware+000465 ) [ 62] 0x00000000773711f5 C:\Windows\SYSTEM32\ntdll.dll+00332277 ( KiUserCallbackDispatcher+000031 ) [ 63] 0x0000000077119e6a C:\Windows\system32\USER32.dll+00106090 ( SfmDxSetSwapChainStats+000026 ) [ 64] 0x000000007711615e C:\Windows\system32\USER32.dll+00090462 ( GetMessageA+000078 ) [ 65] 0x00000000046e6637 C:\Program Files\MATLAB\R2011b\bin\win64\uiw.dll+00222775 ( UIW_SetCurrentDialog+000855 ) [ 66] 0x000000000470d717 C:\Program Files\MATLAB\R2011b\bin\win64\uiw.dll+00382743 ( ws_FreeSystemFont+000519 ) [ 67] 0x0000000063a83b63 C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00211811 ( sysq::ws_ppeHook::~ws_ppeHook+009539 ) [ 68] 0x0000000063a852ec C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00217836 ( svWS_CommitDatabaseUpdates+002796 ) [ 69] 0x0000000063a85d2a C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00220458 ( svWS_CommitDatabaseUpdates+005418 ) [ 70] 0x0000000063a85f6d C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00221037 ( svWS_CommitDatabaseUpdates+005997 ) [ 71] 0x0000000063a86168 C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00221544 ( svWS_CommitDatabaseUpdates+006504 ) [ 72] 0x0000000063a862c0 C:\Program Files\MATLAB\R2011b\bin\win64\libuij.dll+00221888 ( svWS_CommitDatabaseUpdates+006848 ) [ 73] 0x000000007498fbaf C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00129967 ( DepfunRules::postWarning+043839 ) [ 74] 0x000000007498fed4 C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00130772 ( DepfunRules::postWarning+044644 ) [ 75] 0x000000007499033e C:\Program Files\MATLAB\R2011b\bin\win64\mcr.dll+00131902 ( DepfunRules::postWarning+045774 ) [ 76] 0x000000013fdf7364 C:\Program Files\MATLAB\R2011b\bin\win64\MATLAB.exe+00029540 ( ???+000000 ) [ 77] 0x000000013fdf7439 C:\Program Files\MATLAB\R2011b\bin\win64\MATLAB.exe+00029753 ( ???+000000 ) [ 78] 0x000000013fdf7863 C:\Program Files\MATLAB\R2011b\bin\win64\MATLAB.exe+00030819 ( ???+000000 ) [ 79] 0x000000007721652d C:\Windows\system32\kernel32.dll+00091437 ( BaseThreadInitThunk+000013 ) [ 80] 0x000000007734c541 C:\Windows\SYSTEM32\ntdll.dll+00181569 ( RtlUserThreadStart+000033 )
This error was detected while a MEX-file was running. If the MEX-file is not an official MathWorks function, please examine its source code for errors. Please consult the External Interfaces Guide for information on debugging MEX-files.
0 个评论
回答(2 个)
Image Analyst
2014-2-4
Worked fine for me in R2013a. Since you have such an old version that means you're probably not paying your support contract so you can't even call them and get help. If you do have a support contract in force, then just upgrade to R2013b and see if that works (though not if you have the compiler - if you do, ask me first).
0 个评论
Dennis
2015-4-22
We get the same issue now on R2014b when calling imaqhwinfo('winvideo'), whereas imaqhwinfo() or imaqhwinfo('pointgrey') still work fine. Previously 'winvideo' also worked without a glitch. We did not change any drivers before. Updating the support package did not help...
1 个评论
Image Analyst
2015-4-22
Not sure why you flagged my answer to Kim (where I suggested upgrading to a version I know works or else asking tech support) as unhelpful. How does your answer help her more than mine? Sounds like it should be another question, rather than a helpful Answer to her.
Anyway,...I don't know about older versions, but with the latest R2015a version, to get the generic winvideo interface, like for your integrated webcam, you need to install the support package. So do
>> supportPackageInstaller
then select the "OS generic video interface" or something like that. Install it, and then imaqtool should have the winvideo adapter. Since Dennis has a fairly recent version, it might work the same way for him. Not sure why this is not done automatically with the installation of the Image Acquisition Toolbox, but it's not.
Hope this helps someone. Dennis, since your release is less than a year old, you should definitely have Tech support still active so feel free to call them - after all, you've already paid for the help in advance.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!