WCDMA
Defines a root class which is used to identify and control Wcdma signal configuration.
- class nirfmxwcdma.wcdma.Wcdma(session, signal_name='', cloning=False)[source]
Bases:
_WcdmaBaseDefines a root class which is used to identify and control Wcdma signal configuration.
- abort_measurements(selector_string)
Stops acquisition and measurements associated with signal instance that you specify in the Selector String parameter, which were previously initiated by the
initiate()method or measurement read methods. Calling this method is optional, unless you want to stop a measurement before it is complete. This method executes even if there is an incoming error.- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- analyze_iq_1_waveform(selector_string, result_name, x0, dx, iq, reset)
Performs the enabled measurements on the I/Q complex waveform that you specify in the IQ parameter. Call this method after you configure the signal and measurement attributes. You can fetch measurement results using the Fetch methods or result attributes in the attribute node. Use this method only if the
RECOMMENDED_ACQUISITION_TYPEattribute value is either IQ or IQ or Spectral.Note
Query the Recommended Acquisition Type attribute from the RFmxInstr Attribute after calling the
commit()method.- Parameters:
selector_string (string) –
This parameter specifies the signal name and result name. The result name can either be specified through this input or the Result Name parameter. If you do not specify the result name in this parameter, either the result name specified by the Result Name parameter or the default result instance is used.
Example:
””
”result::r1”
You can use the
build_result_string()method to build the Selector String.result_name (string) –
This parameter specifies the name to be associated with measurement results. Provide a unique name, such as “r1” to enable fetching of multiple measurement results and traces. This input accepts the result name with or without the “result::” prefix. The default value is “” (empty string), which refers to the default result instance.
Example:
””
”result::r1”
”r1”
x0 (float) – This parameter specifies the start time of the input y array. This value is expressed in seconds.
dx (float) – This parameter specifies the time interval between the samples in the input y array. This value is expressed in seconds. The reciprocal of dx indicates the I/Q rate of the input signal.
iq (numpy.complex64) – This parameter specifies an array of complex-valued time domain data. The real and imaginary parts of this complex data array correspond to the in-phase (I) and quadrature-phase (Q) data, respectively.
reset (bool) – This parameter resets measurement averaging. If you enable averaging, set this parameter to TRUE for the first record and FALSE for the subsequent records.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- analyze_spectrum_1_waveform(selector_string, result_name, x0, dx, spectrum, reset)
Performs the enabled measurements on the spectrum that you specify in the Spectrum parameter. Call this method after you configure the signal and measurement attributes. You can fetch measurement results using the Fetch methods or result attributes in the attribute node. Use this method only if the
RECOMMENDED_ACQUISITION_TYPEattribute value is either Spectral or IQ or Spectral.Note
Query the Recommended Acquisition Type attribute from the RFmxInstr Attribute after calling the
commit()method.- Parameters:
selector_string (string) –
This parameter specifies the result name. The result name can either be specified through this input or the Result Name parameter. If you do not specify the result name in this parameter, either the result name specified by the Result Name parameter or the default result instance is used.
Example:
””
”result::r1”
You can use the
build_result_string()method to build the Selector String.result_name (string) –
This parameter specifies the name to be associated with measurement results. Provide a unique name, such as “r1” to enable fetching of multiple measurement results and traces. This input accepts the result name with or without the “result::” prefix. The default value is “” (empty string), which refers to the default result instance.
Example:
””
”result::r1”
”r1”
x0 (float) – This parameter specifies the start frequency of the spectrum. This value is expressed in Hz.
dx (float) – This parameter specifies the frequency interval between data points in the spectrum.
spectrum (numpy.float32) – This parameter specifies the data for a spectrum waveform.
reset (bool) – This parameter resets measurement averaging. If you enable averaging, set this parameter to TRUE for the first record and FALSE for the subsequent records.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- auto_level(selector_string, measurement_interval)
Examines the input signal to calculate the peak power level and sets it as the value of the
REFERENCE_LEVELattribute. Use this method to help calculate an approximate setting for the reference level.The RFmxWCDMA Auto Level method completes the following tasks:
Resets the mixer level, mixer level offset, and IF output power offset.
Sets the starting reference level to the maximum reference level supported by the device, based on the current RF attenuation, mechanical attenuation, and preamplifier enabled settings.
Iterates to adjust the reference level based on the input signal peak power.
Uses immediate triggering and restores the trigger settings back to user setting after the execution.
You can also specify the starting reference level using the
AUTO_LEVEL_INITIAL_REFERENCE_LEVELattribute.When using NI 5663, 5665, or 5668R devices, NI recommends that you set an appropriate value for mechanical attenuation before calling the RFmxWCDMA Auto Level method. Setting an appropriate value for mechanical attenuation reduces the number of times the attenuator settings are changed by this function; thus reducing wear and tear, and maximizing the life time of the attenuator.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
measurement_interval (float) –
This parameter specifies the acquisition length. Use this value to compute the number of samples to acquire from the signal analyzer. This value is expressed in seconds. The default value is 10 ms.
Auto Level method does not use any trigger for acquisition. It ignores the user-configured trigger attributes. NI recommends that you set a sufficiently high measurement interval to ensure that the acquired waveform is at least as long as one period of the signal.
- Returns:
- reference_level (float):
This parameter returns the reference level that represents the maximum expected power of an RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices. The default value of this parameter is hardware dependent.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (reference_level, error_code)
- static build_carrier_string(selector_string, carrier_number)
Creates the carrier string to use as the selector string with the SEM and ACP carrier configuration or fetch methods, properties, and results.
- Parameters:
selector_string (string) – Specifies the result name for building the selector string.
carrier_number (int) – This parameter specifies the carrier number for building the selector string.
- Returns:
Contains the selector string created by this method.
- Return type:
string
- static build_channel_string(selector_string, channel_number)
Creates the channel string to use as the selector string with the channel configuration and results.
- Parameters:
selector_string (string) – Specifies the result name for building the selector string.
channel_number (int) – This parameter specifies the channel number for building the selector string.
- Returns:
Contains the selector string created by this method.
- Return type:
string
- static build_offset_string(selector_string, offset_number)
Creates the offset string to use as the selector string with the SEM and ACP offset configuration or fetch attributes and methods.
- Parameters:
selector_string (string) – Specifies the result name for building the selector string.
offset_number (int) – This parameter specifies the offset number for building the selector string.
- Returns:
Contains the selector string created by this method.
- Return type:
string
- static build_result_string(result_name)
Creates selector string for use with configuration or fetch.
- Parameters:
result_name (string) – Specifies the result name for building the selector string. This input accepts the result name with or without the “result::” prefix. Example: “”, “result::r1”, “r1”.
- Returns:
Contains the selector string created by this method.
- Return type:
string
- check_measurement_status(selector_string)
Checks the status of the measurement. Use this method to check for any errors that may occur during measurement or to check whether the measurement is complete and results are available.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
”result::r1”
You can use the
build_result_string()method to build the selector string.- Returns:
- done (bool):
This parameter indicates whether the measurement is complete.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (done, error_code)
- clear_all_named_results(selector_string)
Clears all results for the signal that you specify in the Selector String parameter.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- clear_named_result(selector_string)
Clears a result instance specified by the result name in the Selector String parameter.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of the signal name and result name.
Example:
”result::r1”
You can use the
build_result_string()method to build the selector string.- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- clone_signal_configuration(new_signal_name)
Creates a new instance of a signal by copying all the properties from an existing signal instance.
- Parameters:
new_signal_name (string) –
This parameter specifies the name of the new signal. This parameter accepts the signal name with or without the "signal::" prefix.
Example:
"signal::NewSigName"
"NewSigName"
- Returns:
- cloned_signal (Wcdma):
Contains a new WCDMA signal instance.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (cloned_signal, error_code)
- commit(selector_string)
Commits settings to the hardware. Calling this method is optional. RFmxWCDMA commits settings to the hardware when you call the
initiate()method.- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_band(selector_string, band)
Configures the Universal Mobile Telecommunications System (UMTS) operating band.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
band (int) –
This parameter specifies the UMTS operation band. The default value is 1.
Name (Value)
Description
1 (1)
The terminal operates in UMTS Band I.
2 (2)
The terminal operates in UMTS Band II.
3 (3)
The terminal operates in UMTS Band III.
4 (4)
The terminal operates in UMTS Band IV.
5 (5)
The terminal operates in UMTS Band V.
6 (6)
The terminal operates in UMTS Band method.
7 (7)
The terminal operates in UMTS Band VII.
8 (8)
The terminal operates in UMTS Band VIII.
9 (9)
The terminal operates in UMTS Band IX.
10 (10)
The terminal operates in UMTS Band X.
11 (11)
The terminal operates in UMTS Band XI.
12 (12)
The terminal operates in UMTS Band XII.
13 (13)
The terminal operates in UMTS Band XIII.
14 (14)
The terminal operates in UMTS Band XIV.
19 (19)
The terminal operates in UMTS Band XIX.
20 (20)
The terminal operates in UMTS Band XX.
21 (21)
The terminal operates in UMTS Band XXI.
22 (22)
The terminal operates in UMTS Band XXII.
25 (25)
The terminal operates in UMTS Band XXV.
26 (26)
The terminal operates in UMTS Band XXVI.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_carrier_frequency(selector_string, carrier_frequency)
Configures the center frequency of the carrier, relative to the RF center frequency.
Use “carrier<n>” as the selector string to configure this method.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of carrier number.
Example:
”carrier0”
You can use the
build_carrier_string()method to build the selector string.carrier_frequency (float) – This parameter specifies the center frequency of the carrier, relative to the RF center frequency. This value is expressed in Hz. The default value is 0.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_carrier_frequency_array(selector_string, carrier_frequency)
Configures an array of the center frequencies of the carriers, relative to the RF center frequency.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
carrier_frequency (float) –
This parameter specifies an array of the center frequencies of the carriers, relative to the RF center frequency.
This value is expressed in Hz.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_channel_configuration_mode(selector_string, channel_configuration_mode)
Configures the channel configuration mode.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
channel_configuration_mode (enums.ChannelConfigurationMode, int) –
This parameter specifies the channel configuration mode. The default value is Auto Detect.
Name (Value)
Description
Auto Detect (0)
The measurement detects the channels.
User Defined (1)
Configure the channels using the Num Channels attribute and the RFmxWCDMA Configure User Defined Channel (Array) method.
Test Model (2)
Choose from the standard-defined channel configurations using the UL Test Model attribute.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_contiguous_carriers(selector_string, number_of_carriers, carrier_at_center_frequency)
Configures the contiguous carriers based on the number of carriers and the carrier at the center frequency.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
number_of_carriers (int) – This parameter specifies the number of carriers. The default value is 1.
carrier_at_center_frequency (int) –
This parameter specifies the index of the carrier that is at the center frequency.
Set this parameter to -1 to specify a center frequency at the center of all carriers.
For example, if you set the value of the Number of Carriers parameter to 2, and set the value of the Carrier at Center Frequency parameter to 1, the center frequency is at carrier1.
If you set the value of the Number of Carriers parameter to 2, and set the value of the Carrier at Center Frequency parameter to -1, the center frequency is at the center of carrier0 and carrier1.
If you set the value of the Number of Carriers parameter to 3, and set the value of the Carrier at Center Frequency parameter to either -1 or 1, the center frequency is at carrier1, which is the center of all carriers.
The default value is -1. Recommended values are -1 to (Number of Carriers - 1). If you set this parameter to a value greater than (Number of Carriers - 1), the value of this parameter is coerced to (Number of Carriers - 1).
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_digital_edge_trigger(selector_string, digital_edge_source, digital_edge, trigger_delay, enable_trigger)
Configures the device to wait for a digital edge trigger and then marks a reference point within the record.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
digital_edge_source (string) –
This parameter specifies the source terminal for the digital edge trigger. The default value of this parameter is hardware dependent.
Name (Value)
Description
PFI0 (PFI0)
The trigger is received on PFI 0.
PFI1 (PFI1)
The trigger is received on PFI 1.
PXI_Trig0 (PXI_Trig0)
The trigger is received on PXI trigger line 0.
PXI_Trig1 (PXI_Trig1)
The trigger is received on PXI trigger line 1.
PXI_Trig2 (PXI_Trig2)
The trigger is received on PXI trigger line 2.
PXI_Trig3 (PXI_Trig3)
The trigger is received on PXI trigger line 3.
PXI_Trig4 (PXI_Trig4)
The trigger is received on PXI trigger line 4.
PXI_Trig5 (PXI_Trig5)
The trigger is received on PXI trigger line 5.
PXI_Trig6 (PXI_Trig6)
The trigger is received on PXI trigger line 6.
PXI_Trig7 (PXI_Trig7)
The trigger is received on PXI trigger line 7.
PXI_STAR (PXI_STAR)
The trigger is received on the PXI star trigger line.
PXIe_DStarB (PXIe_DStarB)
The trigger is received on the PXIe DStar B trigger line.
TimerEvent (TimerEvent)
The trigger is received from the timer event.
digital_edge (enums.DigitalEdgeTriggerEdge, int) –
This parameter specifies the trigger edge to detect. The default value is Rising Edge.
Name (Value)
Description
Rising Edge (0)
The trigger asserts on the rising edge of the signal.
Falling Edge (1)
The trigger asserts on the falling edge of the signal.
trigger_delay (float) – This parameter specifies the trigger delay time. This value is expressed in seconds. The default value is 0.
enable_trigger (bool) – This parameter specifies whether to enable the trigger. The default value is TRUE.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_external_attenuation(selector_string, external_attenuation)
Configures the external attenuation.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
external_attenuation (float) –
This parameter specifies the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help. This value is expressed in dB. The default value is 0.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_frequency(selector_string, center_frequency)
Configures the RF center frequency.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
center_frequency (float) – This parameter specifies the center frequency of the acquired RF signal for a single carrier. For multicarrier measurements, the This parameter parameter specifies the reference frequency for the values in the
CARRIER_FREQUENCYattribute. This value is expressed in Hz. The default value of this parameter is hardware dependent.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_frequency_uarfcn(selector_string, link_direction, band, uarfcn)
Configures the center frequency in the universal mobile telecommunications system (UMTS) frequency band using the link direction, band, and UARFCN of the received signal.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
link_direction (enums.LinkDirection, int) –
This parameter specifies the link direction.
Name (Value)
Description
Uplink (1)
The link is from the user equipment to the base transceiver station.
band (int) –
This parameter specifies the UMTS operation band. The default value is 1.
Name (Value)
Description
1 (1)
The terminal operates in UMTS Band I.
2 (2)
The terminal operates in UMTS Band II.
3 (3)
The terminal operates in UMTS Band III.
4 (4)
The terminal operates in UMTS Band IV.
5 (5)
The terminal operates in UMTS Band V.
6 (6)
The terminal operates in UMTS Band method.
7 (7)
The terminal operates in UMTS Band VII.
8 (8)
The terminal operates in UMTS Band VIII.
9 (9)
The terminal operates in UMTS Band IX.
10 (10)
The terminal operates in UMTS Band X.
11 (11)
The terminal operates in UMTS Band XI.
12 (12)
The terminal operates in UMTS Band XII.
13 (13)
The terminal operates in UMTS Band XIII.
14 (14)
The terminal operates in UMTS Band XIV.
19 (19)
The terminal operates in UMTS Band XIX.
20 (20)
The terminal operates in UMTS Band XX.
21 (21)
The terminal operates in UMTS Band XXI.
22 (22)
The terminal operates in UMTS Band XXII.
25 (25)
The terminal operates in UMTS Band XXV.
26 (26)
The terminal operates in UMTS Band XXVI.
uarfcn (int) –
This parameter specifies the UTRA absolute radio frequency channel number (UARFCN).
UARFCN has to be updated according to the band for the uplink, as defined by the general UARFCNs in Table 4.2: UTRA Absolute Radio Frequency Channel Number in the 3GPP TS 34.121-1 specification, version 11.5.0. Otherwise, UARFCN is coerced to the top or bottom UARFCN of the selected band, depending on which is nearer. The center frequency then corresponds to this coerced UARFCN as defined by carrier frequencies in Table 4.1: UARFCN definition (general) of the 3GPP TS 34.121-1 specification, version 11.5.0. The default value is 9,750, which corresponds to the center of the UMTS Band I.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_iq_power_edge_trigger(selector_string, iq_power_edge_trigger_source, iq_power_edge_slope, iq_power_edge_trigger_level, trigger_delay, minimum_quiet_time_mode, minimum_quiet_time_duration, iq_power_edge_trigger_level_type, enable_trigger)
Configures the device to wait for the complex power of the I/Q data to cross the specified threshold and then marks a reference point within the record.
To trigger on bursty signals, specify a minimum quiet time, which ensures that the trigger does not occur in the middle of the burst signal. The quiet time must be set to a value smaller than the time between bursts, but large enough to ignore power changes within a burst.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
iq_power_edge_trigger_source (string) – This parameter specifies the channel from which the device monitors the trigger. The default value of this parameter is hardware dependent.
iq_power_edge_slope (enums.IQPowerEdgeTriggerSlope, int) –
This parameter specifies whether the device asserts the trigger when the signal power is rising or when it is falling. The device asserts the trigger when the signal power exceeds the specified level with the slope you specify. The default value is Rising Slope.
Name (Value)
Description
Rising Slope (0)
The trigger asserts when the signal power is rising.
Falling Slope (1)
The trigger asserts when the signal power is falling.
iq_power_edge_trigger_level (float) – This parameter specifies the power level at which the device triggers. This value is expressed in dB when you set the IQ Power Edge Level Type parameter to Relative; and is expressed in dBm when you set the IQ Power Edge Level Type parameter to Absolute. The device asserts the trigger when the signal exceeds the level specified by the value of this parameter, taking into consideration the specified slope. The default value of this parameter is hardware dependent.
trigger_delay (float) – This parameter specifies the trigger delay time. This value is expressed in seconds. The default value is 0.
minimum_quiet_time_mode (enums.TriggerMinimumQuietTimeMode, int) –
This parameter specifies whether the measurement computes the minimum quiet time used for triggering. The default value is Manual.
Name (Value)
Description
Manual (0)
The minimum quiet time used for triggering is the value of the Minimum Quiet Time parameter.
Auto (1)
The measurement computes the minimum quiet time used for triggering.
minimum_quiet_time_duration (float) – This parameter specifies the duration for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger. If you set the IQ Power Edge Slope parameter to Rising Slope, the signal is quiet when it is below the trigger level. If you set the IQ Power Edge Slope parameter to Falling Slope, the signal is quiet when it is above the trigger level. This value is expressed in seconds. The default value of this parameter is hardware dependent.
iq_power_edge_trigger_level_type (enums.IQPowerEdgeTriggerLevelType, int) –
This parameter specifies the reference for the IQ Power Edge Level parameter.
The IQ Power Edge Level Type parameter is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.Name (Value)
Description
Relative (0)
The IQ Power Edge Level parameter is relative to the value of the Reference Level attribute.
Absolute (1)
The IQ Power Edge Level parameter specifies the absolute power.
enable_trigger (bool) – This parameter specifies whether to enable the trigger. The default value is TRUE.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_number_of_carriers(selector_string, number_of_carriers)
Configures the number of carriers for ACP, CHP, OBW, SEM, and ModAcc measurements.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
number_of_carriers (int) – This parameter specifies the number of carriers. The default value is 1.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_number_of_channels(selector_string, number_of_channels)
Configures the number of channels for the user-defined channel configuration when you set the
CHANNEL_CONFIGURATION_MODEattribute to User Defined.- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
number_of_channels (int) – This parameter specifies the number of user-defined channels. The default value is 0.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_number_of_channels_array(selector_string, number_of_channels)
Configures the number of user-defined channels for all the carriers in the measurement. This method is used when you set the
CHANNEL_CONFIGURATION_MODEattribute to User Defined. Call this method before you call theconfigure_user_defined_channel()method or theconfigure_user_defined_channel()method.- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
number_of_channels (int) – This parameter specifies the array of number of channels.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_reference_level(selector_string, reference_level)
Configures the reference level, which represents the maximum expected power of an RF input signal.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
reference_level (float) – This parameter specifies the reference level, which represents the maximum expected power of an RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices. The default value of this parameter is hardware dependent.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_rf(selector_string, center_frequency, reference_level, external_attenuation)
Configures the RF attributes of the signal specified by the selector string.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
center_frequency (float) – This parameter specifies the center frequency of the acquired RF signal for a single carrier. For multicarrier measurements, the This parameter parameter specifies the reference frequency for the values in the
CARRIER_FREQUENCYattribute. This value is expressed in Hz. The default value of this parameter is hardware dependent.reference_level (float) – This parameter specifies the reference level that represents the maximum expected power of an RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices. The default value of this parameter is hardware dependent.
external_attenuation (float) –
This parameter specifies the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help. This value is expressed in dB. The default value is 0.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_software_edge_trigger(selector_string, trigger_delay, enable_trigger)
Configures the device to wait for a software trigger and then marks a reference point within the record.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
trigger_delay (float) – This parameter specifies the trigger delay time. This value is expressed in seconds. The default value is 0.
enable_trigger (bool) – This parameter specifies whether to enable the trigger. The default value is TRUE.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_uplink_scrambling(selector_string, uplink_scrambling_code, uplink_scrambling_type)
Configures the uplink scrambling type and the scrambling code.
Use “carrier<n>” as the selector string to configure this method.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of carrier number.
Example:
”carrier0”
You can use the
build_carrier_string()method to build the selector string.uplink_scrambling_code (int) –
This parameter specifies the scrambling code for the uplink channel. The default value is 0.
Valid values are 0 to 16,777,215.
uplink_scrambling_type (enums.UplinkScramblingType, int) –
This parameter specifies the type of scrambling to use for the measurement. The default value is Long.
Name (Value)
Description
Long (0)
A long scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
Short (1)
A short scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_uplink_scrambling_array(selector_string, uplink_scrambling_type, uplink_scrambling_code)
Configures the scrambling code and the scrambling code type for all the carriers.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
uplink_scrambling_type (enums.UplinkScramblingType, int) –
This parameter specifies the array of scrambling codes for the uplink channel. The default value is 0.
Valid values are 0 to 16,777,215.
uplink_scrambling_code (int) –
This parameter specifies the array of types of scrambling to use for the measurement. The default value is Long.
Name (Value)
Description
Long (0)
A long scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
Short (1)
A short scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_uplink_test_model(selector_string, uplink_test_model)
Configures the uplink test model.
Use “carrier<n>” as the selector string to configure this method.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of carrier number.
Example:
”carrier0”
You can use the
build_carrier_string()method to build the selector string.uplink_test_model (enums.UplinkTestModel, int) –
This parameter specifies the uplink test model when you set the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.Each test model is a set of channel configurations defined by the standard.
Each uplink test model is a set of channel configurations as defined by the reference measurement channels in tables C.2.1, C.2.2, C.2.3, C.2.4, C.2.5, C.10.1.4, C.11.1.3, or C.11.1.4 of the 3GPP TS 34.121-1 specification. Released specifications from version 6.3.0, release 6 to version 11.5.0, release 11 are supported. Reference measurement channels in multiple releases of the specification can be the same. Each uplink test model name starts with R<n>, where n is the oldest release number with a given set of channel configurations. The default value is R6 C.2.1.
Name (Value)
Description
R6 C.2.1 (0)
The UL R6 C.2.1 configuration (12.2 kbps) is as defined in Annex C, section C.2.1 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.2 (1)
The UL R6 C.2.2 configuration (64 kbps) is as defined in Annex C, section C.2.2 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.3 (2)
The UL R6 C.2.3 configuration (144 kbps) is as defined in Annex C, section C.2.3 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.4 (3)
The UL R6 C.2.4 configuration (384 kbps) is as defined in Annex C, section C.2.4 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.5 (4)
The UL R6 C.2.5 configuration (768 kbps) is as defined in Annex C, section C.2.5 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.10.1.4 Subtest1 (5)
The UL R6 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest2 (6)
The UL R6 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest3 (7)
The UL R6 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest4 (8)
The UL R6 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest5 (9)
The UL R6 C.10.1.4 Subtest5 is as defined in Annex C, table C.10.1.4 Sub-Test 5 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest6 (10)
The UL R6 C.10.1.4 Subtest6 is as defined in Annex C, table C.10.1.4 Sub-Test 6 of the 3GPP TS 34.121 specification, release 6.
R7 C.10.1.4 Subtest1 (11)
The UL R7 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest2 (12)
The UL R7 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest3 (13)
The UL R7 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest4 (14)
The UL R7 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest1 (15)
The UL R7 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest2 (16)
The UL R7 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest3 (17)
The UL R7 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest4 (18)
The UL R7 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest5 (19)
The UL R7 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 7.
R8 C.11.1.3 Subtest1 (20)
The UL R8 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest2 (21)
The UL R8 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest3 (22)
The UL R8 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest4 (23)
The UL R8 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest5 (24)
The UL R8 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.4 Subtest1 (25)
The UL R8 C.11.1.4 Subtest1 is as defined in Annex C, table C.11.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_uplink_test_model_array(selector_string, uplink_test_model)
Configures the uplink test model for all the carriers.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
uplink_test_model (enums.UplinkTestModel, int) –
This parameter specifies the array of uplink test models when you set the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.Each test model is a set of channel configurations defined by the standard.
Each uplink test model is a set of channel configurations as defined by the reference measurement channels in tables C.2.1, C.2.2, C.2.3, C.2.4, C.2.5, C.10.1.4, C.11.1.3, or C.11.1.4 of the 3GPP TS 34.121-1 specification. Released specifications from version 6.3.0, release 6 to version 11.5.0, release 11 are supported. Reference measurement channels in multiple releases of the specification can be the same. Each uplink test model name starts with R<n>, where n is the oldest release number with a given set of channel configurations. The default value is R6 C.2.1.
Name (Value)
Description
R6 C.2.1 (0)
The UL R6 C.2.1 configuration (12.2 kbps) is as defined in Annex C, section C.2.1 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.2 (1)
The UL R6 C.2.2 configuration (64 kbps) is as defined in Annex C, section C.2.2 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.3 (2)
The UL R6 C.2.3 configuration (144 kbps) is as defined in Annex C, section C.2.3 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.4 (3)
The UL R6 C.2.4 configuration (384 kbps) is as defined in Annex C, section C.2.4 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.5 (4)
The UL R6 C.2.5 configuration (768 kbps) is as defined in Annex C, section C.2.5 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.10.1.4 Subtest1 (5)
The UL R6 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest2 (6)
The UL R6 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest3 (7)
The UL R6 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest4 (8)
The UL R6 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest5 (9)
The UL R6 C.10.1.4 Subtest5 is as defined in Annex C, table C.10.1.4 Sub-Test 5 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest6 (10)
The UL R6 C.10.1.4 Subtest6 is as defined in Annex C, table C.10.1.4 Sub-Test 6 of the 3GPP TS 34.121 specification, release 6.
R7 C.10.1.4 Subtest1 (11)
The UL R7 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest2 (12)
The UL R7 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest3 (13)
The UL R7 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest4 (14)
The UL R7 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest1 (15)
The UL R7 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest2 (16)
The UL R7 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest3 (17)
The UL R7 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest4 (18)
The UL R7 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest5 (19)
The UL R7 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 7.
R8 C.11.1.3 Subtest1 (20)
The UL R8 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest2 (21)
The UL R8 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest3 (22)
The UL R8 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest4 (23)
The UL R8 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest5 (24)
The UL R8 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.4 Subtest1 (25)
The UL R8 C.11.1.4 Subtest1 is as defined in Annex C, table C.11.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_user_defined_channel(selector_string, spreading_factor, spreading_code, modulation_type, branch)
Configures the spreading factor, spreading code, modulation type, and branch of each user-defined channel. Before calling this method, you must configure the
NUMBER_OF_CHANNELSattribute with the appropriate number of channels.Use “carrier<k>/channel<n>” as the selector string to configure this method.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of carrier number, and channel number. The default value is “carrier0/channel0”.
Example:
”carrier0/channel0”
You can use the
build_channel_string()method to build the selector string.spreading_factor (int) – This parameter specifies the spreading factor of the channel. The default value is 256. Valid values are 2, 4, 8, 16, 32, 64, 128, and 256.
spreading_code (int) –
This parameter specifies the spreading code of the channel.
The default value is 0. Valid values are 0 to (Spreading factor - 1).
modulation_type (enums.ModulationType, int) –
This parameter specifies the modulation type of the channel. The default value is BPSK/QPSK.
Name (Value)
Description
BPSK/QPSK (0)
The modulation type is BPSK.
4PAM/16QAM (1)
The modulation type is 4 PAM.
branch (enums.Branch, int) –
This parameter specifies the branch on which the data is modulated. The default value is I.
Name (Value)
Description
I (0)
The signal is modulated in the in-phase branch.
Q (1)
The signal is modulated in the quadrature-phase branch.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- configure_user_defined_channel_array(selector_string, spreading_factor, spreading_code, modulation_type, branch)
Configures an array of spreading factors, spreading codes, modulation types, and branches of the user-defined channels. Before calling this method, you must configure the
NUMBER_OF_CHANNELSattribute with the appropriate number of user-defined channels.Use “carrier<n>” as the selector string to configure this method.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of carrier number.
Example:
”carrier0”
You can use the
build_carrier_string()method to build the selector string.spreading_factor (int) – This parameter specifies an array of spreading factor of the channels. The default value is 256. Valid values are 2, 4, 8,16, 32, 64, 128, and 256.
spreading_code (int) –
This parameter specifies an array of spreading code of the channels.
The default value is 0. Valid values are 0 to (Spreading factor - 1).
modulation_type (enums.ModulationType, int) –
This parameter specifies an array of modulation types of the channels. The default value is BPSK/QPSK.
Name (Value)
Description
BPSK/QPSK (0)
The modulation type is BPSK.
4PAM/16QAM (1)
The modulation type is 4 PAM.
branch (enums.Branch, int) –
This parameter specifies an array of branches on which the data is modulated in the channel. The default value is I.
Name (Value)
Description
I (0)
The signal is modulated in the in-phase branch.
Q (1)
The signal is modulated in the quadrature-phase branch.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- delete_signal_configuration()
Deletes the current instance of a signal.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
error_code
- disable_trigger(selector_string)
Configures the device to not wait for a trigger to mark a reference point within a record. This method defines the signal triggering as immediate.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- dispose()
Deletes the signal configuration if it is not the default signal configuration and clears any trace of the current signal configuration, if any.
Note
You can call this function safely more than once, even if the signal is already deleted.
- get_auto_level_initial_reference_level(selector_string)
Gets the initial reference level that the
auto_level()method uses to estimate the peak power of the input signal.This value is expressed in dBm.
The default value is 30.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the initial reference level that the
auto_level()method uses to estimate the peak power of the input signal.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_band(selector_string)
Gets the Universal Mobile Telecommunications System (UMTS) operation band.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 1.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the Universal Mobile Telecommunications System (UMTS) operation band.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_branch(selector_string)
Gets the branch on which the data is modulated in the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is I.
Name (Value)
Description
I (0)
The signal is modulated in the in-phase branch.
Q (1)
The signal is modulated in the quadrature-phase branch.
I and Q (2)
The signal is complex modulated.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.Branch):
Specifies the branch on which the data is modulated in the channel.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_carrier_frequency(selector_string)
Gets the center frequency of the carrier, relative to the RF
CENTER_FREQUENCY.This value is expressed in Hz.
Use “carrier<k>” as the selector string to configure or read this attribute.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the center frequency of the carrier, relative to the RF
CENTER_FREQUENCY.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_center_frequency(selector_string)
For a single-carrier measurement, this attribute specifies the center frequency of the acquired RF signal.
For multi-carrier measurements, this attribute specifies the reference frequency for the values in the
CARRIER_FREQUENCYattribute.This value is expressed in Hz.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
For a single-carrier measurement, this attribute specifies the center frequency of the acquired RF signal.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_channel_configuration_mode(selector_string)
Gets the channel configuration mode.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Auto Detect.
Name (Value)
Description
Auto Detect (0)
The measurement detects the channels.
User Defined (1)
Configure the channels using the Num Channels attribute and the RFmxWCDMA Configure User Defined Channel (Array) method.
Test Model (2)
Choose from the standard-defined channel configurations using the UL Test Model attribute.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.ChannelConfigurationMode):
Specifies the channel configuration mode.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_digital_edge_trigger_edge(selector_string)
Gets the active edge for the trigger.
This attribute is used only when you set the
TRIGGER_TYPEattribute to Digital Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Rising Edge.
Name (Value)
Description
Rising Edge (0)
The trigger asserts on the rising edge of the signal.
Falling Edge (1)
The trigger asserts on the falling edge of the signal.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.DigitalEdgeTriggerEdge):
Specifies the active edge for the trigger.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_digital_edge_trigger_source(selector_string)
Gets the source terminal for the digital edge trigger.
This attribute is used only when you set the
TRIGGER_TYPEattribute to Digital Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (string):
Specifies the source terminal for the digital edge trigger.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_downlink_scrambling_primary_code(selector_string)
Gets the primary scrambling code.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the primary scrambling code.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_downlink_scrambling_secondary_code(selector_string)
Gets the secondary scrambling code.
Use “carrier<n>” as the selector string to configure or read this attribute.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the secondary scrambling code.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_downlink_scrambling_type(selector_string)
Gets the scrambling code type.
Use “carrier<n>” as the selector string to configure or read this attribute.
Name (Value)
Description
Standard (0)
Selects the standard code type.
Left (1)
Selects the left code type
Right (2)
Selects the right code type
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.DownlinkScramblingType):
Specifies the scrambling code type.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_downlink_test_model(selector_string)
Gets the symbol boundary synchronization method.
Use “carrier<n>” as the selector string to configure or read this attribute.
Name (Value)
Description
Test Model 1 - 16 DPCH (0)
Test Model 1 with 16 DPCH is used for synchronization.
Test Model 1 - 32 DPCH (1)
Test Model 1 with 32 DPCH is used for synchronization.
Test Model 1 - 64 DPCH (2)
Test Mode 1 with 64 DPCH is used for synchronization.
Test Model 1 - 16 DPCH/S-CCPCH (3)
Test Model 1 with 16 DPCH and S-CCPCH is used for synchronization.
Test Model 1 - 32 DPCH/S-CCPCH (4)
Test Model 1 with 32 DPCH and S-CCPCH is used for synchronization.
Test Model 1 - 64 DPCH/S-CCPCH (5)
Test Model 1 with 64 DPCH and S-CCPCH is used for synchronization.
Test Model 2 (6)
Test Model 2 is used for synchronization.
Test Model 2 - S-CCPCH (7)
Test Model 2 with a S-CCPCH is used for synchronization.
Test Model 3 - 16 DPCH (8)
Test Mode 3 with 16 DPCH is used for synchronization.
Test Model 3 - 32 DPCH (9)
Test Mode 3 with 32 DPCH is used for synchronization.
Test Model 3 - 16 DPCH/S-CCPCH (10)
Test Model 3 with 16 DPCH/S-CCPCH is used for synchronization.
Test Model 3 - 32 DPCH/S-CCPCH (11)
Test Model 3 with 16 DPCH/S-CCPCH is used for synchronization.
Test Model 4 (12)
Test Model 4 is used for synchronization.
Test Model 4 - P-CPICH (13)
Test Model 4 with P-CPICH is used for synchronization.
Test Model 5 - 2 HS-PDSCH [16QAM] (14)
Test Model 5 with 2 HS-PDSCH [16QAM] is used for synchronization.
Test Model 5 - 4 HS-PDSCH / 4DPCH [16QAM] (15)
Test Model 5 with 4 HS-PDSCH / 4DPCH [16QAM] is used for synchronization.
Test Model 5 - 4 HS-PDSCH / 14DPCH [16QAM] (16)
Test Model 5 with 4 HS-PDSCH / 14DPCH [16QAM] is used for synchronization.
Test Model 5 - 8 HS-PDSCH [16QAM] (17)
Test Model 5 with 8 HS-PDSCH [16QAM] is used for synchronization.
Test Model 6 - 4 HS-PDSCH [64QAM] (18)
Test Model 6 with 4 HS-PDSCH [64QAM] is used for synchronization.
Test Model 6 - 8 HS-PDSCH [64QAM] (19)
Test Model 6 with 8 HS-PDSCH [64QAM] is used for synchronization.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.DownlinkTestModel):
Specifies the symbol boundary synchronization method.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_error_string(error_code)
Gets the description of a driver error code.
- Parameters:
error_code (int) – Specifies an error or warning code.
- Returns:
Contains the error description.
- Return type:
string
- get_external_attenuation(selector_string)
Gets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
This value is expressed in dB.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_iq_power_edge_trigger_level(selector_string)
Gets the power level at which the device triggers.
This value is expressed in dB when the
IQ_POWER_EDGE_TRIGGER_LEVEL_TYPEattribute is set to Relative and in dBm when the IQ Power Edge Level Type attribute is set to Absolute.The device asserts the trigger when the signal exceeds the level specified by the value of this attribute, taking into consideration the specified slope. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the power level at which the device triggers.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_iq_power_edge_trigger_level_type(selector_string)
Gets the reference for the
IQ_POWER_EDGE_TRIGGER_LEVELattribute.The IQ Power Edge Level Type attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Relative.
Name (Value)
Description
Relative (0)
The IQ Power Edge Level attribute is relative to the value of the Reference Level attribute.
Absolute (1)
The IQ Power Edge Level attribute specifies the absolute power.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.IQPowerEdgeTriggerLevelType):
Specifies the reference for the
IQ_POWER_EDGE_TRIGGER_LEVELattribute.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_iq_power_edge_trigger_slope(selector_string)
Gets whether the device asserts the trigger when the signal power is rising or when it is falling.
The device asserts the trigger when the signal power exceeds the specified level with the slope you specify. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Rising Slope.
Name (Value)
Description
Rising Slope (0)
The trigger asserts when the signal power is rising.
Falling Slope (1)
The trigger asserts when the signal power is falling.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.IQPowerEdgeTriggerSlope):
Specifies whether the device asserts the trigger when the signal power is rising or when it is falling.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_iq_power_edge_trigger_source(selector_string)
Gets the channel from which the device monitors the trigger. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (string):
Specifies the channel from which the device monitors the trigger. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_limited_configuration_change(selector_string)
Gets the set of attributes that are considered by RFmx in the locked signal configuration state.
If your test system performs the same measurement at different selected ports, multiple frequencies, and/or power levels repeatedly, you can enable this attribute to help achieve faster measurements. When you set this attribute to a value other than Disabled, the RFmx driver will use an optimized code path and skip some checks. Because RFmx skips some checks when you use this attribute, you need to be aware of the limitations of this feature, which are listed in the Limitations of the Limited Configuration Change Property topic.
You can also use this attribute to lock a specific instrument configuration for a signal so that every time that you initiate the signal, RFmx applies the RFmxInstr attributes from a locked configuration.
NI recommends you use this attribute in conjunction with named signal configurations. Create named signal configurations for each measurement configuration in your test program and set this attribute to a value other than Disabled for one or more of the named signal configurations. This allows RFmx to precompute the acquisition settings for your measurement configurations and re-use the precomputed settings each time you initiate the measurement. You do not need to use this attribute if you create named signals for all the measurement configurations in your test program during test sequence initialization and do not change any RFInstr or personality attributes while testing each device under test. RFmx automatically optimizes that use case.
Specify the named signal configuration you are setting this attribute in the selector string input. You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Disabled.
Name (Value)
Description
Disabled (0)
This is the normal mode of RFmx operation. All configuration changes in RFmxInstr attributes or in personality attributes will be applied during RFmx Commit.
No Change (1)
Signal configuration is locked after the first Commit of the named signal configuration. Any configuration change thereafter either in RFmxInstr attributes or personality attributes will not be considered by subsequent RFmx Commits or Initiates of this signal. Use No Change if you have created named signal configurations for all measurement configurations but are setting some RFmxInstr attributes. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Frequency (2)
Signal configuration, other than center frequency and external attenuation, is locked after first Commit of the named signal configuration. Thereafter, only the Center Frequency and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Reference Level (3)
Signal configuration, other than the reference level, is locked after first Commit of the named signal configuration. Thereafter only the Reference Level attribute value change will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends that you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Freq and Ref Level (4)
Signal configuration, other than center frequency, reference level, and external attenuation, is locked after first Commit of the named signal configuration. Thereafter only the Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends that you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Selected Ports, Freq and Ref Level (5)
Signal configuration, other than selected ports, center frequency, reference level, external attenuation, and RFInstr configuration, is locked after first Commit or Initiate of the named signal configuration. Thereafter only Selected Ports, Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.LimitedConfigurationChange):
Specifies the set of attributes that are considered by RFmx in the locked signal configuration state.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_link_direction(selector_string)
Gets the link direction of the units under test.
The unit under test is either the base station or the user equipment.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Uplink.
Name (Value)
Description
Downlink (0)
The link is from the base transceiver station to the user equipment.
Uplink (1)
The link is from the user equipment to the base transceiver station.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.LinkDirection):
Specifies the link direction of the units under test.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_modulation_type(selector_string)
Gets the modulation type for the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is BPSK/QPSK.
Name (Value)
Description
BPSK/QPSK (0)
The modulation type is BPSK.
4PAM/16QAM (1)
The modulation type is 4-PAM.
64QAM (2)
The modulation type is 64-QAM.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.ModulationType):
Specifies the modulation type for the channel.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_number_of_carriers(selector_string)
Gets the number of carriers.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 1.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the number of carriers.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_number_of_channels(selector_string)
Gets the number of user-defined channels.
Use “carrier<n>” as the selector string to configure read this attribute.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the number of user-defined channels.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_reference_level(selector_string)
Gets the reference level that represents the maximum expected power of the RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the reference level that represents the maximum expected power of the RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_reference_level_headroom(selector_string)
Gets the margin RFmx adds to the
REFERENCE_LEVELattribute. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.RFmx configures the input gain to avoid clipping and associated overflow warnings provided the instantaneous power of the input signal remains within the Reference Level plus the Reference Level Headroom. If you know the input power of the signal precisely or previously included the margin in the Reference Level, you could improve the signal-to-noise ratio by reducing the Reference Level Headroom.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
**Supported devices: **PXIe-5668R, PXIe-5830/5831/5832/5840/5841/5842/5860.
Default values
Name (value)
Description
PXIe-5668
6 dB
PXIe-5830/5831/5832/5841/5842/5860
1 dB
PXIe-5840
0 dB
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the margin RFmx adds to the
REFERENCE_LEVELattribute. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_result_fetch_timeout(selector_string)
Gets the time to wait before results are available in the RFmxWCDMA Attribute.
This value is expressed in seconds.
Set this value to a time longer than expected for fetching the measurement. A value of -1 specifies that the RFmxWCDMA Attribute waits until the measurement is complete.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 10.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the time to wait before results are available in the RFmxWCDMA Attribute.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_selected_ports(selector_string)
Gets the instrument port to be configured to acquire a signal. Use
nirfmxinstr.session.Session.get_available_ports()method to get the valid port names.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
Valid values
Name (value)
Description
PXIe-5830
if0, if1
PXIe-5831/5832
if0, if1, rf<0-1>/port<x>, where 0-1 indicates one (0) or two (1) mmRH-5582 connections and x is the port number on the mmRH-5582 front panel
Other devices
“” (empty string)
Default values
Name (value)
Description
PXIe-5830/5831/5832
if1
Other devices
“” (empty string)
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (string):
Specifies the instrument port to be configured to acquire a signal. Use
nirfmxinstr.session.Session.get_available_ports()method to get the valid port names.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_spreading_code(selector_string)
Gets the spreading code of the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is 0. Valid values are 0 to (Spreading factor - 1).
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the spreading code of the channel.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_spreading_factor(selector_string)
Gets the spreading factor of the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is 256. Valid values are 2, 4, 8,16, 32, 64, 128, and 256.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the spreading factor of the channel.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_transmitter_architecture(selector_string)
Gets the RF architecture at the transmitter for a multicarrier signal.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is LO per Carrier. The I/Q origin offset is always calculated irrespective of the value of the Transmitter Architecture attribute.
Name (Value)
Description
LO per Carrier (0)
Specifies that the transmitter has one LO at the center of each carrier. The IQ Origin Offset result is an estimate of the I/Q origin offset of each carrier.
LO per Band (1)
Specifies that the transmitter has one LO at the center of all the carriers in the band. The Multicarrier IQ Origin Offset result is an estimate of the I/Q origin offset for the LO per Band architecture.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.TransmitterArchitecture):
Specifies the RF architecture at the transmitter for a multicarrier signal.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_trigger_delay(selector_string)
Gets the trigger delay time.
This value is expressed in seconds.
If the delay is negative, the measurement acquires pretrigger samples. If the delay is positive, the measurement acquires post-trigger samples.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the trigger delay time.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_trigger_minimum_quiet_time_duration(selector_string)
Gets the time duration for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger.
This value is expressed in seconds.
If you set the
IQ_POWER_EDGE_TRIGGER_SLOPEattribute to Rising Slope, the signal is quiet below the trigger level. If you set the IQ Power Edge Slope attribute to Falling Slope, the signal is quiet above the trigger level.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Specifies the time duration for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_trigger_minimum_quiet_time_mode(selector_string)
Gets whether the measurement computes the minimum quiet time used for triggering.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Manual.
Name (Value)
Description
Manual (0)
The minimum quiet time for triggering is the value of the Trigger Min Quiet Time attribute.
Auto (1)
The measurement computes the minimum quiet time used for triggering.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.TriggerMinimumQuietTimeMode):
Specifies whether the measurement computes the minimum quiet time used for triggering.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_trigger_type(selector_string)
Gets the trigger type.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is None.
Name (Value)
Description
None (0)
No Reference Trigger is configured.
Digital Edge (1)
The Reference Trigger is not asserted until a digital edge is detected. The source of the digital edge is specified using the Digital Edge Source attribute.
IQ Power Edge (2)
The Reference Trigger is asserted when the signal changes past the level specified by the slope (rising or falling), which is configured using the IQ Power Edge Slope attribute.
Software (3)
The Reference Trigger is not asserted until a software trigger occurs.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.TriggerType):
Specifies the trigger type.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_uplink_scrambling_code(selector_string)
Gets the scrambling code for the uplink channel.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is 0. Valid values are 0 to 16,777,215.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (int):
Specifies the scrambling code for the uplink channel.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_uplink_scrambling_type(selector_string)
Gets the type of scrambling to use for the measurement.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is Long.
Name (Value)
Description
Long (0)
A long scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
Short (1)
A short scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.UplinkScramblingType):
Specifies the type of scrambling to use for the measurement.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_uplink_test_model(selector_string)
Gets the uplink test model when the user sets the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.Each test model is a set of channel configurations defined by the standard.
Each uplink test model is a set of channel configurations as defined by the reference measurement channels in tables C.2.1, C.2.2, C.2.3, C.2.4, C.2.5, C.10.1.4, C.11.1.3, or C.11.1.4 of the 3GPP TS 34.121-1 specification. Released specifications from version 6.3.0, release 6 to version 11.5.0, release 11 are supported. Reference measurement channels in multiple releases of the specification can be the same. Each uplink test model name starts with R<n>, where n is the oldest release number with a given set of channel configurations.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is R6 C.2.1.
Name (Value)
Description
R6 C.2.1 (0)
The UL R6 C.2.1 configuration (12.2 kbps) is as defined in Annex C, section C.2.1 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.2 (1)
The UL R6 C.2.2 configuration (64 kbps) is as defined in Annex C, section C.2.2 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.3 (2)
The UL R6 C.2.3 configuration (144 kbps) is as defined in Annex C, section C.2.3 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.4 (3)
The UL R6 C.2.4 configuration (384 kbps) is as defined in Annex C, section C.2.4 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.5 (4)
The UL R6 C.2.5 configuration (768 kbps) is as defined in Annex C, section C.2.5 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.10.1.4 Subtest1 (5)
The UL R6 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest2 (6)
The UL R6 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest3 (7)
The UL R6 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest4 (8)
The UL R6 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest5 (9)
The UL R6 C.10.1.4 Subtest5 is as defined in Annex C, table C.10.1.4 Sub-Test 5 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest6 (10)
The UL R6 C.10.1.4 Subtest6 is as defined in Annex C, table C.10.1.4 Sub-Test 6 of the 3GPP TS 34.121 specification, release 6.
R7 C.10.1.4 Subtest1 (11)
The UL R7 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest2 (12)
The UL R7 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest3 (13)
The UL R7 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest4 (14)
The UL R7 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest1 (15)
The UL R7 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest2 (16)
The UL R7 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest3 (17)
The UL R7 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest4 (18)
The UL R7 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest5 (19)
The UL R7 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 7.
R8 C.11.1.3 Subtest1 (20)
The UL R8 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest2 (21)
The UL R8 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest3 (22)
The UL R8 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest4 (23)
The UL R8 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest5 (24)
The UL R8 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.4 Subtest1 (25)
The UL R8 C.11.1.4 Subtest1 is as defined in Annex C, table C.11.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (enums.UplinkTestModel):
Specifies the uplink test model when the user sets the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_warning()
Retrieves and then clears the warning information for the session.
- Returns:
- warning_code (int):
Contains the latest warning code.
- warning_message (string):
Contains the latest warning description.
- Return type:
Tuple (warning_code, warning_message)
- initiate(selector_string, result_name)
Initiates all enabled measurements. Call this method after configuring the signal and measurement. This method asynchronously launches measurements in the background and immediately returns to the caller program. You can fetch measurement results using the Fetch methods or result attributes in the RFmxWCDMA Attribute.
To get the status of measurements, use the
wait_for_measurement_complete()method or thecheck_measurement_status()method.- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name. The result name can either be specified through this input or the Result Name parameter. If you do not specify the result name in this input, either the result name specified by Result Name parameter or the default result instance is used. The default is “” (empty string).
Example:
”result::r1”
You can use the
build_result_string()method to build the selector string.result_name (string) –
This parameter specifies the name to be associated with measurement results. Provide a unique name, such as “r1”, to enable fetching multiple measurement results and traces. This input accepts the result name with or without the “result::” prefix. The default value is “” (empty string), which refers to the default result instance.
Example:
”result::r1”
”r1”
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- reset_attribute(selector_string, attribute_id)
Resets the attribute to its default value.
- Parameters:
selector_string (string) – Specifies the selector string for the property being reset.
attribute_id (PropertyId) – Specifies an attribute identifier.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- reset_to_default(selector_string)
Resets a signal to the default values.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- select_measurements(selector_string, measurements, enable_all_traces)
Enables all the measurements that you specify in the Measurements parameter and disables all other measurements.
- Parameters:
selector_string (string) – Pass an empty string. The signal name that is passed when creating the signal configuration is used.
measurements (enums.MeasurementTypes, int) –
This parameter specifies the measurements to perform. You can specify one or more of the following measurements. The default is an empty array.
Name (Value)
Description
ModAcc (0)
Enables the ModAcc measurement.
ACP (1)
Enables the ACP measurement.
CHP (2)
Enables the CHP measurement.
OBW (3)
Enables the OBW measurement.
SEM (4)
Enables the SEM measurement.
QEVM (5)
Enables the QEVM measurement.
SlotPhase (6)
Enables the SlotPhase measurement.
CDA (7)
Enables the CDA measurement.
SlotPower (8)
Enables the SlotPower measurement.
enable_all_traces (bool) – This parameter specifies whether to enable all traces for the selected measurements. The default value is FALSE.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- send_software_edge_trigger()
Sends a trigger to the device when you use the RFmxWCDMA Configure Trigger function to choose a software version of a trigger and the device is waiting for the trigger to be sent. You can also use this function to override a hardware trigger.
This function returns an error in the following situations:
You configure an invalid trigger.
You have not previously called the initiate function.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_auto_level_initial_reference_level(selector_string, value)
Sets the initial reference level that the
auto_level()method uses to estimate the peak power of the input signal.This value is expressed in dBm.
The default value is 30.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the initial reference level that the
auto_level()method uses to estimate the peak power of the input signal.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_band(selector_string, value)
Sets the Universal Mobile Telecommunications System (UMTS) operation band.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 1.
- set_branch(selector_string, value)
Sets the branch on which the data is modulated in the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is I.
Name (Value)
Description
I (0)
The signal is modulated in the in-phase branch.
Q (1)
The signal is modulated in the quadrature-phase branch.
I and Q (2)
The signal is complex modulated.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.Branch, int) – Specifies the branch on which the data is modulated in the channel.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_carrier_frequency(selector_string, value)
Sets the center frequency of the carrier, relative to the RF
CENTER_FREQUENCY.This value is expressed in Hz.
Use “carrier<k>” as the selector string to configure or read this attribute.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the center frequency of the carrier, relative to the RF
CENTER_FREQUENCY.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_center_frequency(selector_string, value)
For a single-carrier measurement, this attribute specifies the center frequency of the acquired RF signal.
For multi-carrier measurements, this attribute specifies the reference frequency for the values in the
CARRIER_FREQUENCYattribute.This value is expressed in Hz.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – For a single-carrier measurement, this attribute specifies the center frequency of the acquired RF signal.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_channel_configuration_mode(selector_string, value)
Sets the channel configuration mode.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Auto Detect.
Name (Value)
Description
Auto Detect (0)
The measurement detects the channels.
User Defined (1)
Configure the channels using the Num Channels attribute and the RFmxWCDMA Configure User Defined Channel (Array) method.
Test Model (2)
Choose from the standard-defined channel configurations using the UL Test Model attribute.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.ChannelConfigurationMode, int) – Specifies the channel configuration mode.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_digital_edge_trigger_edge(selector_string, value)
Sets the active edge for the trigger.
This attribute is used only when you set the
TRIGGER_TYPEattribute to Digital Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Rising Edge.
Name (Value)
Description
Rising Edge (0)
The trigger asserts on the rising edge of the signal.
Falling Edge (1)
The trigger asserts on the falling edge of the signal.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.DigitalEdgeTriggerEdge, int) – Specifies the active edge for the trigger.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_digital_edge_trigger_source(selector_string, value)
Sets the source terminal for the digital edge trigger.
This attribute is used only when you set the
TRIGGER_TYPEattribute to Digital Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
value (string) – Specifies the source terminal for the digital edge trigger.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_downlink_scrambling_primary_code(selector_string, value)
Sets the primary scrambling code.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
- set_downlink_scrambling_secondary_code(selector_string, value)
Sets the secondary scrambling code.
Use “carrier<n>” as the selector string to configure or read this attribute.
- set_downlink_scrambling_type(selector_string, value)
Sets the scrambling code type.
Use “carrier<n>” as the selector string to configure or read this attribute.
Name (Value)
Description
Standard (0)
Selects the standard code type.
Left (1)
Selects the left code type
Right (2)
Selects the right code type
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.DownlinkScramblingType, int) – Specifies the scrambling code type.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_downlink_test_model(selector_string, value)
Sets the symbol boundary synchronization method.
Use “carrier<n>” as the selector string to configure or read this attribute.
Name (Value)
Description
Test Model 1 - 16 DPCH (0)
Test Model 1 with 16 DPCH is used for synchronization.
Test Model 1 - 32 DPCH (1)
Test Model 1 with 32 DPCH is used for synchronization.
Test Model 1 - 64 DPCH (2)
Test Mode 1 with 64 DPCH is used for synchronization.
Test Model 1 - 16 DPCH/S-CCPCH (3)
Test Model 1 with 16 DPCH and S-CCPCH is used for synchronization.
Test Model 1 - 32 DPCH/S-CCPCH (4)
Test Model 1 with 32 DPCH and S-CCPCH is used for synchronization.
Test Model 1 - 64 DPCH/S-CCPCH (5)
Test Model 1 with 64 DPCH and S-CCPCH is used for synchronization.
Test Model 2 (6)
Test Model 2 is used for synchronization.
Test Model 2 - S-CCPCH (7)
Test Model 2 with a S-CCPCH is used for synchronization.
Test Model 3 - 16 DPCH (8)
Test Mode 3 with 16 DPCH is used for synchronization.
Test Model 3 - 32 DPCH (9)
Test Mode 3 with 32 DPCH is used for synchronization.
Test Model 3 - 16 DPCH/S-CCPCH (10)
Test Model 3 with 16 DPCH/S-CCPCH is used for synchronization.
Test Model 3 - 32 DPCH/S-CCPCH (11)
Test Model 3 with 16 DPCH/S-CCPCH is used for synchronization.
Test Model 4 (12)
Test Model 4 is used for synchronization.
Test Model 4 - P-CPICH (13)
Test Model 4 with P-CPICH is used for synchronization.
Test Model 5 - 2 HS-PDSCH [16QAM] (14)
Test Model 5 with 2 HS-PDSCH [16QAM] is used for synchronization.
Test Model 5 - 4 HS-PDSCH / 4DPCH [16QAM] (15)
Test Model 5 with 4 HS-PDSCH / 4DPCH [16QAM] is used for synchronization.
Test Model 5 - 4 HS-PDSCH / 14DPCH [16QAM] (16)
Test Model 5 with 4 HS-PDSCH / 14DPCH [16QAM] is used for synchronization.
Test Model 5 - 8 HS-PDSCH [16QAM] (17)
Test Model 5 with 8 HS-PDSCH [16QAM] is used for synchronization.
Test Model 6 - 4 HS-PDSCH [64QAM] (18)
Test Model 6 with 4 HS-PDSCH [64QAM] is used for synchronization.
Test Model 6 - 8 HS-PDSCH [64QAM] (19)
Test Model 6 with 8 HS-PDSCH [64QAM] is used for synchronization.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.DownlinkTestModel, int) – Specifies the symbol boundary synchronization method.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_external_attenuation(selector_string, value)
Sets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
This value is expressed in dB.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
For more information about attenuation, refer to the RF Attenuation and Signal Levels topic for your device in the NI RF Vector Signal Analyzers Help.
The default value is 0.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_iq_power_edge_trigger_level(selector_string, value)
Sets the power level at which the device triggers.
This value is expressed in dB when the
IQ_POWER_EDGE_TRIGGER_LEVEL_TYPEattribute is set to Relative and in dBm when the IQ Power Edge Level Type attribute is set to Absolute.The device asserts the trigger when the signal exceeds the level specified by the value of this attribute, taking into consideration the specified slope. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- set_iq_power_edge_trigger_level_type(selector_string, value)
Sets the reference for the
IQ_POWER_EDGE_TRIGGER_LEVELattribute.The IQ Power Edge Level Type attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Relative.
Name (Value)
Description
Relative (0)
The IQ Power Edge Level attribute is relative to the value of the Reference Level attribute.
Absolute (1)
The IQ Power Edge Level attribute specifies the absolute power.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.IQPowerEdgeTriggerLevelType, int) – Specifies the reference for the
IQ_POWER_EDGE_TRIGGER_LEVELattribute.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_iq_power_edge_trigger_slope(selector_string, value)
Sets whether the device asserts the trigger when the signal power is rising or when it is falling.
The device asserts the trigger when the signal power exceeds the specified level with the slope you specify. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Rising Slope.
Name (Value)
Description
Rising Slope (0)
The trigger asserts when the signal power is rising.
Falling Slope (1)
The trigger asserts when the signal power is falling.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.IQPowerEdgeTriggerSlope, int) – Specifies whether the device asserts the trigger when the signal power is rising or when it is falling.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_iq_power_edge_trigger_source(selector_string, value)
Sets the channel from which the device monitors the trigger. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
value (string) – Specifies the channel from which the device monitors the trigger. This attribute is used only when you set the
TRIGGER_TYPEattribute to IQ Power Edge.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_limited_configuration_change(selector_string, value)
Sets the set of attributes that are considered by RFmx in the locked signal configuration state.
If your test system performs the same measurement at different selected ports, multiple frequencies, and/or power levels repeatedly, you can enable this attribute to help achieve faster measurements. When you set this attribute to a value other than Disabled, the RFmx driver will use an optimized code path and skip some checks. Because RFmx skips some checks when you use this attribute, you need to be aware of the limitations of this feature, which are listed in the Limitations of the Limited Configuration Change Property topic.
You can also use this attribute to lock a specific instrument configuration for a signal so that every time that you initiate the signal, RFmx applies the RFmxInstr attributes from a locked configuration.
NI recommends you use this attribute in conjunction with named signal configurations. Create named signal configurations for each measurement configuration in your test program and set this attribute to a value other than Disabled for one or more of the named signal configurations. This allows RFmx to precompute the acquisition settings for your measurement configurations and re-use the precomputed settings each time you initiate the measurement. You do not need to use this attribute if you create named signals for all the measurement configurations in your test program during test sequence initialization and do not change any RFInstr or personality attributes while testing each device under test. RFmx automatically optimizes that use case.
Specify the named signal configuration you are setting this attribute in the selector string input. You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Disabled.
Name (Value)
Description
Disabled (0)
This is the normal mode of RFmx operation. All configuration changes in RFmxInstr attributes or in personality attributes will be applied during RFmx Commit.
No Change (1)
Signal configuration is locked after the first Commit of the named signal configuration. Any configuration change thereafter either in RFmxInstr attributes or personality attributes will not be considered by subsequent RFmx Commits or Initiates of this signal. Use No Change if you have created named signal configurations for all measurement configurations but are setting some RFmxInstr attributes. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Frequency (2)
Signal configuration, other than center frequency and external attenuation, is locked after first Commit of the named signal configuration. Thereafter, only the Center Frequency and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Reference Level (3)
Signal configuration, other than the reference level, is locked after first Commit of the named signal configuration. Thereafter only the Reference Level attribute value change will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends that you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Freq and Ref Level (4)
Signal configuration, other than center frequency, reference level, and external attenuation, is locked after first Commit of the named signal configuration. Thereafter only the Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends that you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
Selected Ports, Freq and Ref Level (5)
Signal configuration, other than selected ports, center frequency, reference level, external attenuation, and RFInstr configuration, is locked after first Commit or Initiate of the named signal configuration. Thereafter only Selected Ports, Center Frequency, Reference Level, and External Attenuation attribute value changes will be considered by subsequent driver Commits or Initiates of this signal. If you have configured this signal to use an IQ Power Edge Trigger, NI recommends you set the IQ Power Edge Level Type to Relative so that the trigger level is automatically adjusted as you adjust the reference level. Refer to the Limitations of the Limited Configuration Change Property topic for more details about the limitations of using this mode.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.LimitedConfigurationChange, int) – Specifies the set of attributes that are considered by RFmx in the locked signal configuration state.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_link_direction(selector_string, value)
Sets the link direction of the units under test.
The unit under test is either the base station or the user equipment.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Uplink.
Name (Value)
Description
Downlink (0)
The link is from the base transceiver station to the user equipment.
Uplink (1)
The link is from the user equipment to the base transceiver station.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.LinkDirection, int) – Specifies the link direction of the units under test.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_modulation_type(selector_string, value)
Sets the modulation type for the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is BPSK/QPSK.
Name (Value)
Description
BPSK/QPSK (0)
The modulation type is BPSK.
4PAM/16QAM (1)
The modulation type is 4-PAM.
64QAM (2)
The modulation type is 64-QAM.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.ModulationType, int) – Specifies the modulation type for the channel.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_number_of_carriers(selector_string, value)
Sets the number of carriers.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 1.
- set_number_of_channels(selector_string, value)
Sets the number of user-defined channels.
Use “carrier<n>” as the selector string to configure read this attribute.
The default value is 0.
- set_reference_level(selector_string, value)
Sets the reference level that represents the maximum expected power of the RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the reference level that represents the maximum expected power of the RF input signal. This value is expressed in dBm for RF devices and Vpk-pkfor baseband devices.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_reference_level_headroom(selector_string, value)
Sets the margin RFmx adds to the
REFERENCE_LEVELattribute. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.RFmx configures the input gain to avoid clipping and associated overflow warnings provided the instantaneous power of the input signal remains within the Reference Level plus the Reference Level Headroom. If you know the input power of the signal precisely or previously included the margin in the Reference Level, you could improve the signal-to-noise ratio by reducing the Reference Level Headroom.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
**Supported devices: **PXIe-5668R, PXIe-5830/5831/5832/5840/5841/5842/5860.
Default values
Name (value)
Description
PXIe-5668
6 dB
PXIe-5830/5831/5832/5841/5842/5860
1 dB
PXIe-5840
0 dB
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the margin RFmx adds to the
REFERENCE_LEVELattribute. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_result_fetch_timeout(selector_string, value)
Sets the time to wait before results are available in the RFmxWCDMA Attribute.
This value is expressed in seconds.
Set this value to a time longer than expected for fetching the measurement. A value of -1 specifies that the RFmxWCDMA Attribute waits until the measurement is complete.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 10.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the time to wait before results are available in the RFmxWCDMA Attribute.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_selected_ports(selector_string, value)
Sets the instrument port to be configured to acquire a signal. Use
nirfmxinstr.session.Session.get_available_ports()method to get the valid port names.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
Valid values
Name (value)
Description
PXIe-5830
if0, if1
PXIe-5831/5832
if0, if1, rf<0-1>/port<x>, where 0-1 indicates one (0) or two (1) mmRH-5582 connections and x is the port number on the mmRH-5582 front panel
Other devices
“” (empty string)
Default values
Name (value)
Description
PXIe-5830/5831/5832
if1
Other devices
“” (empty string)
- Parameters:
selector_string (string) – Pass an empty string.
value (string) – Specifies the instrument port to be configured to acquire a signal. Use
nirfmxinstr.session.Session.get_available_ports()method to get the valid port names.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_spreading_code(selector_string, value)
Sets the spreading code of the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is 0. Valid values are 0 to (Spreading factor - 1).
- set_spreading_factor(selector_string, value)
Sets the spreading factor of the channel.
Use “carrier<n>/channel<k>” as the selector string to configure or read this attribute.
The default value is 256. Valid values are 2, 4, 8,16, 32, 64, 128, and 256.
- set_transmitter_architecture(selector_string, value)
Sets the RF architecture at the transmitter for a multicarrier signal.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is LO per Carrier. The I/Q origin offset is always calculated irrespective of the value of the Transmitter Architecture attribute.
Name (Value)
Description
LO per Carrier (0)
Specifies that the transmitter has one LO at the center of each carrier. The IQ Origin Offset result is an estimate of the I/Q origin offset of each carrier.
LO per Band (1)
Specifies that the transmitter has one LO at the center of all the carriers in the band. The Multicarrier IQ Origin Offset result is an estimate of the I/Q origin offset for the LO per Band architecture.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.TransmitterArchitecture, int) – Specifies the RF architecture at the transmitter for a multicarrier signal.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_trigger_delay(selector_string, value)
Sets the trigger delay time.
This value is expressed in seconds.
If the delay is negative, the measurement acquires pretrigger samples. If the delay is positive, the measurement acquires post-trigger samples.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is 0.
- set_trigger_minimum_quiet_time_duration(selector_string, value)
Sets the time duration for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger.
This value is expressed in seconds.
If you set the
IQ_POWER_EDGE_TRIGGER_SLOPEattribute to Rising Slope, the signal is quiet below the trigger level. If you set the IQ Power Edge Slope attribute to Falling Slope, the signal is quiet above the trigger level.You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value of this attribute is hardware dependent.
- Parameters:
selector_string (string) – Pass an empty string.
value (float) – Specifies the time duration for which the signal must be quiet before the signal analyzer arms the I/Q power edge trigger.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_trigger_minimum_quiet_time_mode(selector_string, value)
Sets whether the measurement computes the minimum quiet time used for triggering.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is Manual.
Name (Value)
Description
Manual (0)
The minimum quiet time for triggering is the value of the Trigger Min Quiet Time attribute.
Auto (1)
The measurement computes the minimum quiet time used for triggering.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.TriggerMinimumQuietTimeMode, int) – Specifies whether the measurement computes the minimum quiet time used for triggering.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_trigger_type(selector_string, value)
Sets the trigger type.
You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector String topic for information about the string syntax for named signals.
The default value is None.
Name (Value)
Description
None (0)
No Reference Trigger is configured.
Digital Edge (1)
The Reference Trigger is not asserted until a digital edge is detected. The source of the digital edge is specified using the Digital Edge Source attribute.
IQ Power Edge (2)
The Reference Trigger is asserted when the signal changes past the level specified by the slope (rising or falling), which is configured using the IQ Power Edge Slope attribute.
Software (3)
The Reference Trigger is not asserted until a software trigger occurs.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.TriggerType, int) – Specifies the trigger type.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_uplink_scrambling_code(selector_string, value)
Sets the scrambling code for the uplink channel.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is 0. Valid values are 0 to 16,777,215.
- set_uplink_scrambling_type(selector_string, value)
Sets the type of scrambling to use for the measurement.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is Long.
Name (Value)
Description
Long (0)
A long scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
Short (1)
A short scrambling code as defined in section 4.3.2 of the * 3GPP TS 25.213* specification, version 11.4.0, release 11, is used.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.UplinkScramblingType, int) – Specifies the type of scrambling to use for the measurement.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- set_uplink_test_model(selector_string, value)
Sets the uplink test model when the user sets the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.Each test model is a set of channel configurations defined by the standard.
Each uplink test model is a set of channel configurations as defined by the reference measurement channels in tables C.2.1, C.2.2, C.2.3, C.2.4, C.2.5, C.10.1.4, C.11.1.3, or C.11.1.4 of the 3GPP TS 34.121-1 specification. Released specifications from version 6.3.0, release 6 to version 11.5.0, release 11 are supported. Reference measurement channels in multiple releases of the specification can be the same. Each uplink test model name starts with R<n>, where n is the oldest release number with a given set of channel configurations.
Use “carrier<n>” as the selector string to configure or read this attribute.
The default value is R6 C.2.1.
Name (Value)
Description
R6 C.2.1 (0)
The UL R6 C.2.1 configuration (12.2 kbps) is as defined in Annex C, section C.2.1 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.2 (1)
The UL R6 C.2.2 configuration (64 kbps) is as defined in Annex C, section C.2.2 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.3 (2)
The UL R6 C.2.3 configuration (144 kbps) is as defined in Annex C, section C.2.3 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.4 (3)
The UL R6 C.2.4 configuration (384 kbps) is as defined in Annex C, section C.2.4 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.2.5 (4)
The UL R6 C.2.5 configuration (768 kbps) is as defined in Annex C, section C.2.5 of the 3GPP TS 34.121 specification, version 6.3.0, release 6.
R6 C.10.1.4 Subtest1 (5)
The UL R6 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest2 (6)
The UL R6 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest3 (7)
The UL R6 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest4 (8)
The UL R6 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest5 (9)
The UL R6 C.10.1.4 Subtest5 is as defined in Annex C, table C.10.1.4 Sub-Test 5 of the 3GPP TS 34.121 specification, release 6.
R6 C.10.1.4 Subtest6 (10)
The UL R6 C.10.1.4 Subtest6 is as defined in Annex C, table C.10.1.4 Sub-Test 6 of the 3GPP TS 34.121 specification, release 6.
R7 C.10.1.4 Subtest1 (11)
The UL R7 C.10.1.4 Subtest1 is as defined in Annex C, table C.10.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest2 (12)
The UL R7 C.10.1.4 Subtest2 is as defined in Annex C, table C.10.1.4 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest3 (13)
The UL R7 C.10.1.4 Subtest3 is as defined in Annex C, table C.10.1.4 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.10.1.4 Subtest4 (14)
The UL R7 C.10.1.4 Subtest4 is as defined in Annex C, table C.10.1.4 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest1 (15)
The UL R7 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest2 (16)
The UL R7 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest3 (17)
The UL R7 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest4 (18)
The UL R7 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 7.
R7 C.11.1.3 Subtest5 (19)
The UL R7 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 7.
R8 C.11.1.3 Subtest1 (20)
The UL R8 C.11.1.3 Subtest1 is as defined in Annex C, table C.11.1.3 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest2 (21)
The UL R8 C.11.1.3 Subtest2 is as defined in Annex C, table C.11.1.3 Sub-Test 2 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest3 (22)
The UL R8 C.11.1.3 Subtest3 is as defined in Annex C, table C.11.1.3 Sub-Test 3 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest4 (23)
The UL R8 C.11.1.3 Subtest4 is as defined in Annex C, table C.11.1.3 Sub-Test 4 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.3 Subtest5 (24)
The UL R8 C.11.1.3 Subtest5 is as defined in Annex C, table C.11.1.3 Sub-Test 5 of the 3GPP TS 34.121-1 specification, release 8.
R8 C.11.1.4 Subtest1 (25)
The UL R8 C.11.1.4 Subtest1 is as defined in Annex C, table C.11.1.4 Sub-Test 1 of the 3GPP TS 34.121-1 specification, release 8.
- Parameters:
selector_string (string) – Pass an empty string.
value (enums.UplinkTestModel, int) – Specifies the uplink test model when the user sets the
CHANNEL_CONFIGURATION_MODEattribute to Test Model.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
- signal_configuration_name = ''
Name assigned to the current signal configuration object.
- signal_configuration_type = None
Type of the current signal configuration object.
- wait_for_measurement_complete(selector_string, timeout)
Waits for the specified number of seconds for all the measurements to complete.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
”result::r1”
You can use the
build_result_string()method to build the selector string.timeout (float) – This parameter 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. The default value is 10.
- Returns:
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type: