DoIP Get Entities.vi
- Updated2025-10-07
- 5 minute(s) read
Purpose
Returns a table of all DoIP entities (vehicles) on the local subnet, possibly restricted to EID or VIN. Format
Input
|
Broadcast Address is the subnet address to send the request to. It defaults to 255.255.255.255 (broadcast on the default Network Interface Controller), but can be overridden to specify a specific broadcast address, e.g. on a specific Network Interface Controller). | ||||||||
|
Diag reference in specifies the diagnostic session handle, obtained from Open Diagnostic on IP.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster. | ||||||||
|
DoIP Open Type is a U16 ring. It defines which DoIP entities this command queries and lists. Allowed values are VIN, EID, and All. | ||||||||
|
VIN or EID depends on the DoIP Open Type:
|
||||||||
|
error in is a cluster that describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the error in cluster to error out.
|
||||||||
|
All Versions specifies whether the request is sent with 0xFF as the protocol version in the Generic DoIP header. The default is TRUE.
If the protocol version in Open Diagnostic on IP.vi is set to 2010, this flag is ignored and the request is always sent with the protocol version byte of the header set to 1. |
Output
|
Diag reference out is a copy of Diag reference in. You can wire it to subsequent diagnostic VIs. | ||||||||||
|
DoIP Entities is an array of clusters, each of which contains the description of one DoIP entity that responded to the command:
|
||||||||||
|
error out describes error conditions. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
|
Description
DoIP Get Entities.vi uses a UDP broadcast to identify all DoIP entities in the local subnet matching a certain condition. The entities responding are returned in the DoIP Entities cluster array.
The conditions are either a common VIN or EID or simply all entities connected. Refer to the DoIP Open Type and VIN or EID descriptions.





