Debugging a Real-Time Application
- Updated2023-02-17
- 1 minute(s) read
Debugging a Real-Time Application
If your real-time application does not run properly after you deploy it to the real-time controller, you can debug the application.
- Navigate to the Design diagram of SystemDesigner.
-
Right-click the application you added to the real-time controller and select
Debug.
Note If you select Debug without building the application, LabVIEW automatically builds the application before deploying and running the application in debugging mode.
-
When prompted, click
Deploy and Restart.
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.
- In the diagram of the top-level VI, debug the application using the same techniques for debugging a VI.
- After you finish debugging, click Stop debugging. LabVIEW stops running the application and unlocks the entire hierarchy of VIs in the Application document.