Multiple image acquisition objects cannot access the same device simultaneously.
조회 수: 7 (최근 30일)
이전 댓글 표시
i am getting an error that i can't bug, can anyone help me ,following is the code error:Multiple image acquisition objects cannot access the same device simultaneously. vid=videoinput('macvideo',1,'YCbCr422_1280x720'); triggerconfig(vid,'manual'); set(vid,'FramesPerTrigger',1); set(vid,'TriggerRepeat',Inf); start(vid); while(1) for j=1:3 trigger(vid); im=getdata(vid,1); if j==1 i_bef=im; end if j==3 i_aft=im; end end [x,y,u]=isub(i_aft,i_bef); end
댓글 수: 0
채택된 답변
Image Analyst
2013년 1월 31일
Does "videoinput" appear anywhere else in your m-file? It thinks you're trying to get more than one object talking to your camera.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 National Instruments Frame Grabbers에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!