This is an old revision of the document!
dynamic configuration
In the Communication options tab of the build specifications set the check mark Enable lwIP TCP/IP support.
Set the IP address to 7.7.7.7
fix configuration
If you set any other IP address or enable DHCP support, the Ethernet component will be started before any VI is executed. This leads to longer boot time and can block the program (when no network is connected) before a watchdog can be set up or a life sign can be given out. The settings (IP adress, gateway, MAC address…) cannot be chaneg at runtime.
From SDK version 3.2.1 empoli SP1 the IP Address, Subnet Mask, Gateway and MAC address can be set in the program at the start of th Ethernet component.
drag and drop this VI snippet into a LabVIEW block diagram.
In version 3.2.1 a workaround is needed to enable a correct setting of the MAC address.
A UDP master slave connection can be implemented as shown in the two snippets below:
Slave communications loop. (can run on the PC or on a a Zsystem hardware platform.)
drag and drop this VI snippet into a LabVIEW block diagram.
Master loop. (Can run on a PC.)
drag and drop this VI snippet into a LabVIEW block diagram.