Filter löschen
Filter löschen

Timeout error with UDP object

6 Ansichten (letzte 30 Tage)
Abdul-Kareem
Abdul-Kareem am 18 Jun. 2014
Beantwortet: Jim Jim am 30 Apr. 2015
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.

Antworten (1)

Jim Jim
Jim Jim am 30 Apr. 2015
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.

Kategorien

Mehr zu Instrument Connection and Communication finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by