Why do I receive a segmentation violation when I try
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)?
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
NOTE:-
Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.
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.
SEE COMPLETE ANSWER CLICK THE LINK