SetGlobalData(string, object)
- Updated2026-06-25
- 1 minute(s) read
Associates a data item with a dataId . You can use this method to store an instrument session or other data you initialize in a central location but access from multiple sites. The data item is accessible from a process model controller execution and all of its test socket executions.
Syntax
Namespace: NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI
public void SetGlobalData(string dataId, object data)
Parameters
| Name | Type | Description |
|---|---|---|
| dataId | string | A unique ID to distinguish the data. |
| data | object | A data item to store and later retrieve using the specified dataId . If the data item is null, the method deletes the data with the specified dataId if it exists. |