필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

is this code works right to acquire data pixelwise,

조회 수: 1 (최근 30일)
MANJUNATH
MANJUNATH 2012년 10월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
ai=analoginput('nidaq',dev1); ai.inputtype=singleended; addchannel(ai.0); set(ai,samplespertrigger',5)
dio=digitalio(...... lines+addlines(dio,0:11,out)
start(ai); for y=1:32; for x=1:32; address=(y-1)*32+x; putvalue(dio,address); end end data=getdata(ai) image(y,x)=data imshow(image)
Doubt : i wrote "start(ai)" command ,then started for loops, then i had used *get(Ai)*to extract the data from memory (at some places its written getdata extracts data from memory and at some its written DAQ eigine ) , so whether it takes data from all pixels or the last entry ( address) is considered.
  댓글 수: 1
Jan
Jan 2012년 10월 31일
Please learn how to format the code. You find dozens of explanations in other threads, when you search for it.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by