Skip to content Skip to navigation

Connexions

You are here: Home » Content » User Datagram Protocol in LabVIEW

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the author

Recently Viewed

This feature requires Javascript to be enabled.

User Datagram Protocol in LabVIEW

Module by: Felix Annan

Summary: This module introduces the User Datagram Protocol for inter-VI data transfer in LabVIEW

UDP is a method of network data transfer that does not establish an end to end connection between the sender and receiver. Packets of data are sent out to a specified host on a specified port. The receiver receives packets and buffers them for reading. Some of the data packets sent are lost in transit and lost packets are not resent. This method of data transfer is ideal for multimedia information for which the loss of some packets does not affect much the quality of what is received.

The Advantage:

  1. Can be used to develop multimedia applications like voice messengers that would not work ideally with TCP
  2. Information received is buffered
  3. Information can be sent to more than one receiver at a time (Multicasting)

The Disadvantage:

  1. Information can be lost so it is not a reliable method of data transfer.

Generally this protocol is good for transferring multimedia for which the loss of a few packets does not really affect the data

Implementation:

Figure 1: The VI on the left writes to a port of given internet protocol (IP) address and the VI on the right reads from the port that was written to
User Datagram Protocol
User Datagram Protocol (udp.jpg)

Comments, questions, feedback, criticisms?

Send feedback