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