Why do I receive a segmentation violation when I try to access my BASLER A601fc DCAM compliant 1394 camera using Image Acquisition Toolbox 1.8 (R14SP2)?

1 次查看(过去 30 天)
I am using the CMU DCAM driver 6.3.0.0 (1394Camera.dll) with BASLER A601fc DCAM compliant 1394 camera. When I try to create a video input object using the following function:
vidobj =videoinput('dcam')
MATLAB issues the following segmentation violation:
[0] imaqmex.dll:private: void __thiscall IMAQRoot::initTriggerStatus(void)(0x03512e50, 0, 0x0e336a70, 3) + 120 bytes
[1] udd_mi.dll:_ouConstructObjectWithErrorTrap(0x01219f28, 3, 0x00cdd028, 0x00cdccfc) + 507 bytes
[2] udd_mi.dll:_ouConstructObject(0, 3, 0x00cdd028, 0x00cdcfcc) + 152 bytes
[3] m_dispatcher.dll:public: virtual void __thiscall Mfh_opaque_constructor::dispatch_mf(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdcfc8, 3, 0x00cdd028) + 102 bytes
[4] m_dispatcher.dll:public: virtual void __thiscall Mfh_MATLAB_fn::dispatch_fh(int,struct mxArray_tag * *,int,struct mxArray_tag * *)(1, 0x00cdcfc8, 3, 0x00cdd028) + 200 bytes
[5] m_interpreter.dll:int __cdecl mdDispatch(int,char const *,int,struct mxArray_tag * *,int,struct mxArray_tag * *,class Mfh_MATLAB_fn * *)(562, 0x0e3a3a74 "imaq.imaq_dcam1_1", 1, 0x00cdcfc8) + 88 bytes
[6] m_interpreter.dll:_inDispatchFromStack(562, 0x0e3a3a74 "imaq.imaq_dcam1_1", 1, 3) + 801 bytes
<snip>

采纳的回答

MathWorks Support Team
This bug has been fixed in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
We have verified that there is a bug in the Image Acquisition Toolbox 1.8 (R14SP2) in the way that it handles this particular type of DCAM format 7 Camera.
To work around this issue, try using one of the non-format 7 modes of the camera, which has almost the same resolution as the format 7 mode, as follows:
vidobj = videoinput('dcam', 1, 'Y422_640x480');
You can find the supported formats of your camera by running the IMAQSUPPORT function. For more information regarding this function, type the following command at the MATLAB command prompt:
help imaqsupport
You can view the supported DCAM formats of your camera under the "DCAM ADAPTOR" section of the file produced by the above function.
Note that prior to R14SP3 if you have installed MATLAB in a location with spaces, you might also need to download a new version of IMAQSUPPORT.

更多回答(0 个)

产品


版本

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by