Receiving data via USB

조회 수: 4 (최근 30일)
Palito
Palito 2012년 9월 29일
댓글: azadeh motamedi 2017년 11월 23일
Hello, I need to solve an easy problem... apparently. Briefly, I want to do something like an oscilloscope with Matlab, receiving a signal via USB. I have done all the previous steps: I have my USB working, I have check that the computer receives the right data, etc.
Now, the problem is how to get data with Matlab. It's a simple communication, with one direction (USB to PC, with bulk transfers - but I could change this type), and I just need to read that data, just 2 bytes of data received continuously (because it's a digital signal with 16 bits resolution).
Thanks for your help.
  댓글 수: 6
Star Strider
Star Strider 2012년 9월 30일
Thank you! I'll bookmark the Vendors links for it and their website.
It'd be nice if there was a way to generate a relatively low-priority interrupt rather than having to poll it. Maybe some day...
Walter Roberson
Walter Roberson 2012년 9월 30일
Image Analyst -- you mean you develop those "4 pictures for $1" booths that are found in malls? ;-)

댓글을 달려면 로그인하십시오.

채택된 답변

Palito
Palito 2012년 10월 21일
Thanks everyone for the info. I am using a PSoC device, and I found an easy way to communicate with PC: making USB work as a COM port, so I can easyly process data with Matlab :)
  댓글 수: 1
azadeh motamedi
azadeh motamedi 2017년 11월 23일
how did you do this?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by