LabVIEW Real-Time Crashes When Opening Multiple NI-VCOM Sessions

Updated Oct 12, 2026

Reported In

Software

  • Vehicle Communication Toolkit

Issue Details

I'm attempting to create two NI-VCOM sessions to communicate with two separate automotive Ethernet interfaces. When I open multiple NI-VCOM sessions, LabVIEW Real-Time crashes and no error message is displayed.
 
I want to use separate NI-VCOM sessions because I am testing multiple ECUs independently and do not want to manage all communication through a single NI-VCOM session.  How can I achieve this?

Solution

NI-VCOM supports only a single active session at a time. Attempting to open multiple NI-VCOM sessions can result in unexpected behavior, including LabVIEW Real-Time crashes.
 
To communicate with multiple automotive Ethernet interfaces:
 
  1. Create a single NI-VCOM configuration file.
  2. Define all required automotive Ethernet interfaces within that configuration file.
  3. Open one NI-VCOM session using the combined configuration.
  4. Communicate with the multiple interfaces through the single NI-VCOM session.
 
This approach allows communication with multiple ECUs while remaining within the current NI-VCOM design limitations.

Additional Information

If using a Windows OS, you can work around this limitation by creating an executable of your LabVIEW code containing the NI-VCOM single session and run multiple instances of the executable at the same time.  This will only work on Windows since LabVIEW Real-Time on LinuxRT OSes doesn't allow running more than a single LabVIEW executable at the same time.