Azzera filtri
Azzera filtri

Timeout error with UDP object

6 visualizzazioni (ultimi 30 giorni)
Abdul-Kareem
Abdul-Kareem il 18 Giu 2014
Risposto: Jim Jim il 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.

Risposte (1)

Jim Jim
Jim Jim il 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.

Categorie

Scopri di più su Instrument Connection and Communication in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by