AnalysisContext.AnalysisId
- Updated2025-07-21
- 1 minute(s) read
AnalysisContext.AnalysisId
Syntax
AnalysisContext.AnalysisId
Data Type
Purpose
Use this property in an analysis module to obtain the unique ID of the current analysis session.
Remarks
The TestStand Sequence Analyzer can perform multiple analysis sessions simultaneously. Each session specifies a unique analysis ID. In general, National Instruments recommends that you use the AnalysisContext.GetRuleAnalysisData method to store global data generated during analysis. You can also store data in a global table that you index using the analysis session unique ID. Because the sequence analyzer can use multiple threads to perform analysis, you must implement locks around code that accesses the global table data.