Each ADCS DoIP session can use either the native operating system IP stack or an XNET IP Stack, and parallel ADCS sessions can use any combination of IP stacks and virtual interfaces.

By default, DoIP sessions use the operating system IP stack. To use an XNET IP Stack, set the XNET IP stack name parameter of Open Diagnostic On IP.vi (or the xnetStackName parameter of ndOpenDiagnosticOnIPStack) to a valid name of an XNET IP Stack.

ADCS obtains a reference to the selected XNET IP Stack. After communication is complete, the function Close Diagnostic.vi or ndCloseDiagnostic must be used to free that reference in all cases.

An XNET IP Stack allows the configuration of an NI-XNET network interface independent from other network interfaces in the system and provides advanced features such as virtual interfaces and VLANs. The XNET IP Stack must be created beforehand using the NI-XNET API. Refer to NI-XNET Hardware and Software Help and NI-XNET examples for information about configuring, creating, and clearing an XNET IP Stack.