'Waiting for Target to Respond' Periodic Error When Running an Real-Time VI From a LabVIEW Project

Updated Jan 27, 2025

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller
  • Industrial Controller
  • CompactDAQ Controller

Software

  • LabVIEW

Operating System

  • LabVIEW Real-Time (NI Linux Real-Time)
  • Phar Lap
  • VxWorks

Issue Details

 I am getting periodic 'Waiting for the target (<Real-Time target>) to respond' pop-up windows when my Real-Time target (RT) is connected to my LabVIEW project and under the following situations:

error.png

  • Running a VI on my RT target from LabVIEW
  • Exploring the LabVIEW project
  • Editing/Creating a VI

Solution

This behavior happens for different reasons: 

  • This can be caused by a network bottleneck that is preventing communication between the RT target and the PC running the VI. Please test with a direct USB connection (if available) or a direct Ethernet connection.
  • Another reason could be a misconfigured SMTP server code on the VI. Please confirm that the IP addresses are correctly set.
  • The thread in charge of communication between the development PC and the RT target could be starved. Please check if the CPU usage does not exceed 75%.