« Close

Datasheets and User Guides

App Notes

Software & Driver

 

5.2.3 - DiscoveryUDP

This is a special function only used over Ethernet UDP. Send the 6-byte command below to port 52362, using the broadcast IP of 255.255.255.255. The command will try to go to every device on the subnet, and every Ethernet LabJack should send back the specified 38 byte response.

The response is similar to the response from the CommConfig function. See Section 5.2.1 for additional documentation.

DiscoveryUDP and the standard Ping function are useful for finding Ethernet connected UE9s and testing basic communication.

Table 5.2.3-1.

Command:  
Byte  
0 0×22
1 0×78
2 0×00
3 0xA9
4 0×00
5 0×00
   
Response:  
Byte  
0 Checksum8
1 0×78
2 0×10
3 0xA9
4 Checksum16 (LSB)
5 Checksum16 (MSB)
6 0×00
7 0×00
8 LocalID
9 PowerLevel
10-13 IPAddress
14-17 Gateway
18-21 Subnet
22-23 PortA
24-25 PortB
26 DHCPConfig
27 ProductID
28-33 MACAddress
34-35 HWVersion
36-37 CommFWVersion