ECU Measurement and Calibration XCP functions support both XNET IP stack and native operating system IP stacks. Both can be used together or exclusively with the limitation that a single session can only use one of them at a time.

By default, XCP functions use the operating system IP stack. To use an XNET IP stack, set the IP XNET Stack Name parameter of MC Set Property VI (or the mcPropIPXnetStackName parameter of mcSetProperty) to a valid name of an XNET IP stack.

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. To switch back to using the OS IP stack, provide an empty string to the same property.

The XNET IP stack supports multiple virtual interfaces for a single physical interface. Use the IP XNET Local Interface parameter (mcPropIPXnetLocalInterface) to specify which virtual interface should be used. This parameter is optional. Refer to NI-XNET Hardware and Software Help for more information about using virtual interfaces in an IP stack associated with a single XNET interface.