UDP Multicast Write-Only Open VI
- Updated2025-03-14
- 3 minute(s) read
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.

Inputs/Outputs
![]() 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. ![]() port is the local port with which you want to create a UDP socket. ![]() 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.
![]() error in describes error conditions that occur before this node runs. This input provides standard error in functionality. ![]() 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. ![]() 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