Logging Text Data
- 更新日2025-07-31
- 1分で読める
If you want to add data to the Debug Test Results Log that is not a measurement or test limit, you can include text data in the Debug Test Results Log by using the following techniques:
- Adding Text Data for a Step Using Additional Results—You can use the Additional Results panel of the Step Settings pane to add text data after all the measurements and test limits for the tests associated with the step. To configure the Additional Results panel to generate text data in the Debug Test Results Log, set the Name option of the result to NI.TestResultsLog and set the Value to Log option to the value you want to add to the log file. You can optionally add a text label for the data by adding it to the end of the Name field in the form NI.TestResultsLog.CustomTextLabel, where CustomTextLabel is the text you want to display as a label in the log file.
- Adding Text Data between Test Steps—If the text data you want to log is not associated with a specific step, you can use the Additional Results step type to add text data to the Debug Test Results Log. Use the Additional Results panel of the Step Settings pane as described above to add data to the log file.