SetNumberOfAnalysisThreads(string, int)
- Updated2025-04-08
- 1 minute(s) read
Sets the maximum number of threads used for parallelism for the frequency range measurement. The number of threads can range from 1 to the number of physical cores. The number of threads you set may not be used in calculations. The actual number of threads used depends on the problem size, system resources, data availability, and other considerations.
Syntax
Namespace: NationalInstruments.RFmx.BTMX
public int SetNumberOfAnalysisThreads(string selectorString, int value)
Remarks
This method sets the value of FrequencyRangeNumberOfAnalysisThreads attribute.The default value is 1.
Parameters
Name | Type | Description |
---|---|---|
selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
value | int | Specifies the maximum number of threads used for parallelism for the frequency range measurement. The number of threads can range from 1 to the number of physical cores. The number of threads you set may not be used in calculations. The actual number of threads used depends on the problem size, system resources, data availability, and other considerations. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.