Debugging Analysis Modules and Rule Configuration Modules
- 更新时间2025-07-23
- 阅读时长2分钟
You can debug your analysis modules and rule configuration modules by setting a breakpoint in the module and then calling the module from the TestStand Sequence Analyzer. Complete the following steps to debug an analysis module or rule configuration module, depending on the application you used to create the module.
Debugging Analysis Modules and Rule Configuration Modules in LabVIEW
- Disable the Run VI in LabVIEW Run-Time Engine option on the Edit Analysis Module dialog box for an analysis module or on the Advanced tab of the Edit Rule dialog box for a rule configuration module.
- Configure the LabVIEW Adapter to use the LabVIEW development system.
- In LabVIEW, open the VI and set breakpoints in the block diagram for debugging. Refer to the LabVIEW Help for more information about using breakpoints.
Debugging Analysis Modules and Rule Configuration Modules in LabWindows/CVI
- Build a debuggable DLL in LabWindows/CVI.
- Set a breakpoint in the analysis module or rule configuration module function.
- In LabWindows/CVI, select Run»Select External Process in the Project window to identify the executable for the sequence editor or the standalone sequence analyzer application and then select Run»Debug <executable name> to start debugging the executable.
Debugging Analysis Modules and Rule Configuration Modules in Microsoft Visual C# and Microsoft Visual C++
- Build a debug version of the DLL in Microsoft Visual Studio.
- Set a breakpoint in the analysis module or rule configuration module function.
- In Visual Studio, set the Command setting in the Debugging project settings to the executable for the sequence editor or the standalone sequence analyzer application and select Debug»Start Debugging to start debugging the executable.