FetchDetectedChannel(string, double, out int, out int, out RFmxWcdmaMXModAccDetectedModulationType, out RFmxWcdmaMXModAccDetectedBranch)
- Updated2025-04-08
- 2 minute(s) read
Returns the spreading factor, spreading code, modulation type, and branch of the detected channel of a carrier in the ModAcc measurement.
Use "carrier(n)/channel(k)" as the selector string to read results from this method.
Syntax
Namespace: NationalInstruments.RFmx.WcdmaMX
public int FetchDetectedChannel(string selectorString, double timeout, out int detectedSpreadingFactor, out int detectedSpreadingCode, out RFmxWcdmaMXModAccDetectedModulationType detectedModulationType, out RFmxWcdmaMXModAccDetectedBranch detectedBranch)
Parameters
Name | Type | Description |
---|---|---|
selectorString | string | Specifies a selector string comprising of the result name, carrier number, and channel number. If you do not specify the result name, the default result instance is used. |
timeout | double | Specifies the time for which the method waits for the measurement to complete. This value is expressed in seconds. A value of -1 specifies that the method waits until the measurement is complete. |
detectedSpreadingFactor | out int | Upon return, contains the spreading factors of the detected channels when you set the SetChannelConfigurationMode(string, RFmxWcdmaMXChannelConfigurationMode) method to AutoDetect. If you set the Channel Configuration Mode method to UserDefined or TestModel, the measurement returns the spreading factor of the configured channel of a carrier. |
detectedSpreadingCode | out int | Upon return, contains the spreading code of the detected channels when you set the Channel Configuration Mode method to AutoDetect. If you set the Channel Configuration Mode method to UserDefined or TestModel, the measurement returns the spreading code of the configured channel of a carrier. |
detectedModulationType | out RFmxWcdmaMXModAccDetectedModulationType | Upon return, the modulation types of the detected channels, when you set the Channel Configuration Mode method to AutoDetect. If you set the Channel Configuration Mode method to UserDefined or TestModel, the measurement returns the spreading code of the configured channel of a carrier. |
detectedBranch | out RFmxWcdmaMXModAccDetectedBranch | Upon return, contains the branch of the detected channels when you set the Channel Configuration Mode method to AutoDetect. If you set the Channel Configuration Mode method to UserDefined or TestModel, the measurement returns the branch of the configured channel of a carrier. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.