Table Of Contents

Debugging a Real-Time Application

Version:
    Last Modified: April 9, 2020

    If your real-time application does not run properly after you deploy it to the real-time controller, you can debug the application.

    1. Navigate to the Design diagram of SystemDesigner.
    2. Right-click the application you added to the real-time controller and select Debug.
      spd-note-note
      Note

      If you select Debug without building the application, LabVIEW automatically builds the application before deploying and running the application in debugging mode.

    3. When prompted, click Deploy and Restart.
      spd-note-note
      Note

      If another application is already running on the real-time controller, SystemDesigner prompts you to replace the running application with the new one. Because only one application can run on a real-time controller at a time, you must replace the running application to run the new one.

      SystemDesigner deploys the application to the real-time controller. The controller restarts and executes the deployed application. The top-level VI and the application start running in debugging mode. LabVIEW locks the entire hierarchy of VIs in the Application document to avoid VI changes during the debugging process.
    4. In the diagram of the top-level VI, debug the application using the same techniques for debugging a VI.
    5. After you finish debugging, click Stop debugging. LabVIEW stops running the application and unlocks the entire hierarchy of VIs in the Application document.

    Recently Viewed Topics