필터 지우기
필터 지우기

Timeout error with UDP object

조회 수: 6 (최근 30일)
Abdul-Kareem
Abdul-Kareem 2014년 6월 18일
답변: Jim Jim 2015년 4월 30일
I'm trying to connect a Philips IntelliVue patient monitor to MATLAB. I want MATLAB to import waveform and numerical data from the monitor in real-time.
My biggest hurdle is getting MATLAB to recognize the device. I've been trying with Instrument Control Toolbox to no avail. When I ping the IP address of the device in Windows command prompt, it works fine. But when I try to search for UDP devices, it doesn't work. What am I doing wrong?
I've gotten as far as creating a UDP object using its IP address and port. However, whenever I run fscanf or a similar function, I get a timeout error. The terminator is set to LF, but I'm not sure if it should be.

답변 (1개)

Jim Jim
Jim Jim 2015년 4월 30일
set(obj1,'TimeOut',10);You can adjust timeout or time period by using this function . And you can get the values with this function get(obj1) . You can try it.

카테고리

Help CenterFile Exchange에서 Instrument Connection and Communication에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by