Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ethernet_how_to [2011/01/28 10:16] – [Project settings] baethernet_how_to [2011/02/23 15:25] ba
Line 1: Line 1:
 ====== Ethernet How To ====== ====== Ethernet How To ======
 +**We recommend to use UDP instead of TCP** if possible. See [[udp_vs_tcp_ip|TCP vs UDP]].\\
 ===== Project settings ===== ===== Project settings =====
 **dynamic configuration** \\ **dynamic configuration** \\
Line 6: Line 7:
 The section //Set IP address programmatically// below shows how IP address is set with dynamic configuration. \\ The section //Set IP address programmatically// below shows how IP address is set with dynamic configuration. \\
 **fix configuration** \\ **fix configuration** \\
-If you set any other IP address or enable [[wp>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.\\+If you set any other IP address or enable [[wp>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 changed at runtime.\\
  
 You will get the error **Failed to open the lan-device** in the VisualDSP++ console output if you use programmatic IP configuration with fix configuration.\\ You will get the error **Failed to open the lan-device** in the VisualDSP++ console output if you use programmatic IP configuration with fix configuration.\\
Line 13: Line 14:
 {{:snippets:ethernet_start_up.png|Start up Ethernet with Labview on Microprocessor}} drag and drop this [[VI snippet]] into a LabVIEW block diagram.\\ {{:snippets:ethernet_start_up.png|Start up Ethernet with Labview on Microprocessor}} drag and drop this [[VI snippet]] into a LabVIEW block diagram.\\
 In version 3.2.1 a [[MAC address workaround|workaround]] is needed to enable a correct setting of the MAC address.  In version 3.2.1 a [[MAC address workaround|workaround]] is needed to enable a correct setting of the MAC address. 
-===== UDP example ===== +===== Protocolls ===== 
-A UDP master slave connection can be implemented as shown in the two snippets below:\\ +  [[UDP example]] 
- +  [[UDP vs TCP IP]]
-Slave communications loop. (can run on the PC or on a a Zsystem hardware platform.)\\ +
-{{:snippets:udp_comm_slave_loop_embedded.png|UDP Slave snippet}}drag and drop this [[VI snippet]] into a LabVIEW block diagram.\\ +
- +
-Master loop. (Can run on a PC.)\\ +
-{{:snippets:udp_comm_master_loop.png|UDP master snippet}}drag and drop this [[VI snippet]] into a LabVIEW block diagram.\\ +
  
 
ethernet_how_to.txt · Last modified: 2017/11/07 22:26 by 127.0.0.1
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki