LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i implement Real-time Transport Protocol with LabVIEW?

Hello everybody!
 
I want to implement a multimedia server with LabVIEW.
 
Question:
 
Can i (or how can i) implement Real-time Transport Protocol with LabVIEW? I just want to compare the performences of several network protocols (e.g. TCP, UDP, RTP)... Vis for TCP and UDP exist already.
 
Greetings and thanks for every answer!
 
WLAN

Message Edited by wlan on 01-18-2007 09:43 AM

0 Kudos
Message 1 of 8
(4,518 Views)

Hi!

Depending on the priority, if you send interrupts, polling, ...., the jitter of TCP/IP is between 400µs and 10ms!

You can test the communication by setting up a deterministic server and send e.g. a timestamp every second. The client then uses e.g. TCP Read to read a certain number of bytes, so you can verify the performance of the several protocols.

BR, Christian

0 Kudos
Message 2 of 8
(4,497 Views)
Hello!
 
Thanks for your answer!
 
The Real-Time Transport Protocol (RTP) here means an Internet Protocol and it defines a standardized packet format for delivering audio and video over the Internet.
 
 
So, is it possible to implement this RTP with LabVIEW?
 
Thanks!
 
WLAN
0 Kudos
Message 3 of 8
(4,467 Views)

Hi WLAN,

Sorry, I misunderstood your question.

No, it is not possible to directly use RTP! But depending on your application (e.g. Streaming) you can use TCP or UDP. If you want to transfer files you would use TCP, if you want to stream data very fast, just use UDP (RTP sets up on UDP) and write your own header.

BR, Christian

Message 4 of 8
(4,460 Views)
Hi, Christian,
 
thank you very much for the answer!
 
PS.: i also made a mistake in the first rating, in german grading scale, 1 means best...
 
Smiley Very Happy
 
WLAN
0 Kudos
Message 5 of 8
(4,454 Views)

I know, .... I'm in Munich.Smiley Wink

So, thanks for your rating, Christian

0 Kudos
Message 6 of 8
(4,446 Views)
I understand the meaning of the question and I was searching for the same:

There are tools like tcpdump, or rtpdump which capture rtp streams of conversations produced over the internet with packet sniffer.
I have the idea of capturing this rtp strings from the sniffer passing them to LabView and make automated analysis of that rtp searching for audio quality as MOS and R Factor Measurement on voip networks, I know Labview can do it and:
 
1) The captures are made from the already in place network card on the pc
2) The RTP is placed on log files on the flight which are prefiltered with the rtp information just need to apply or select the codec that PCM or G729 of the call in progress to decode the RTP and handle it as an audio signal like the one capable of capture from the audio card of the PC.
 
If you can give me some guidelines on some driver available at LabView for RTP processing it could be a great tool for the VOIP industry.
 
Kind regards,

Saul Bejarano
 
 
0 Kudos
Message 7 of 8
(4,271 Views)

Do you got any library or solutions for this? I am also working on similar application. I am using RTSP ethernet camera  to get video data over TCPIP. So  I am establishing RTSP communication with camera with secondary controller & after this that controller will stream continuous data to LabVIEW in RTP frame over TCPIP. So do you got any solutions related to decoding this frame & extract video?

0 Kudos
Message 8 of 8
(2,459 Views)