UDP Multicast Write-Only Open VI

Opens a UDP multicast socket on the port. You must manually select the polymorphic instance you want to use.


icon

Inputs/Outputs

  • cu32.png net address

    net address specifies on which network address to listen. Specifying an address is useful if you have more than one network card, such as two Ethernet cards, and want to listen only on the card with the specified address. If you do not specify a network address, LabVIEW listens on all network addresses. This VI broadcasts only on the default network address.

    Use the String To IP function to obtain the IP network address of the current computer.

  • cu16.png port

    port is the local port with which you want to create a UDP socket.

  • cu16.png time-to-live (1)

    time-to-live specifies the number of routers, minus 1, to forward a datagram. The TTL value applies to all datagrams sent using this socket.

    The following table lists what action occurs to a multicast datagram when you specify a value for the TTL parameter. The default value is 1.

    0Datagram is sent and routers forward it through TTL-1 layers.
    0Datagram remains on the host computer.
    1Datagram sent to every client on the same local subnet that subscribes to that IP address. Hubs/repeaters and bridges/switches forward the datagram. Routers do not forward the datagram if the TTL is 1.
  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iudpncrn.png connection ID

    connection ID is a network connection refnum that uniquely identifies the UDP socket. Use this value to refer to this socket in subsequent VI calls.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

    • labview\examples\Data Communication\Protocols\UDP\UDP Multicast\UDP Multicast.lvproj