Use trace logging to track all test activity, including instrument I/O and test operations.

Introduced in TestStand Semiconductor Module 26.0

You can enable trace logging in the TestStand Sequence Editor. You can also enable trace logging in both the .NET and LabVIEW TSM Operator Interfaces.

The TSM trace logger logs the following operations:
  • TSM-level events, such as OnLotConfigured and StartLot
  • .NETCodeModuleAPI calls, such as Publish, GetNIDCPowerSession
  • Driver calls
Logs increase monotonically. Each log is associated with the following elements:
  • A category, such as TSM or IO Trace
  • The executing test socket
  • The test sockets contained within the call

The default storage location for trace logs is C:\Users\Public\Documents\National Instruments\TestStand <version> \TraceLogs. TestStand Semiconductor Module generates three intermediate log files at the start of each run. These files capture the logs from different sources. TestStand Semiconductor Module combines all three logs at the end of a run into a single shared log file.

Enabling Trace Logging

You can enable Trace logging in the following locations:
  • Sequence Editor toolbar—Click the Enable Trace Logging button Enable Trace Logging in the toolbar.
  • .NET Operator Interfaces—Select Enable Trace Logging from the pull-down menu.
  • LabVIEW Operator Interfaces—Click the Enable Trace Logging button in the toolbar.
You can view log messages in output windows during the run. To enable this option, select Write Log Messages to Output in the Semiconductor Module menu of the Sequence Editor. Enabling this option outputs log messages to the following output windows:
  • An attached debugger output window. If the process running a sequence includes a debugging output window, log messages appear in this window.
  • The TestStand Output window pane.

You can also access trace logging in .NET with the ISemiconductorModuleManager.TraceLogger property. This property also allows users to toggle other properties such as LogDirectoryPath and IncludeTimestampInLogEntries.