RFmx TDSCDMA DotNET

Table of Contents

RFmxTdscdmaMX Methods

  • Updated2024-07-17
  • 20 minute(s) read
RFmxTdscdmaMX Methods

RFmxTdscdmaMX Methods

The RFmxTdscdmaMX type exposes the following members.

Methods

  NameDescription
Public methodAbortMeasurements
Stops the acquisition and measurements associated with the signal instance that you specify in the selectorString parameter. The acquisition and measurements were previously initiated by the Initiate(String, String) 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.
Public methodAnalyzeIQ1Waveform
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 methods. You can fetch measurement results using the Fetch methods or result methods. Use this method only if the RFmxInstrMX.GetRecommendedAcquisitionTypeMethod method value is either IQ or IQorSpectral.
Query the Recommended Acquisition Type method from the RFmx driver after calling the RFmxTDSCDMA Commit method.
Public methodAnalyzeSpectrum1Waveform
Performs the enabled measurements on the Spectrum waveform that you specify in the spectrum parameter. Call this method after you configure the signal and measurement methods. You can fetch measurement results using the Fetch methods or result methods. Use this method only if the RFmxInstrMX.GetRecommendedAcquisitionTypeMethod method value is either spectral or IQorSpectral.
Query the Recommended Acquisition Type method from the RFmx driver after calling the RFmxTDSCDMA Commit method.
Public methodAutoLevel
Examines the input signal to calculate the peak power level and sets it as the value of the Reference Level method. Use this method to calculate an approximate setting for the reference level.
The RFmxTDSCDMA Auto Level method completes the following tasks:
  1. Resets the mixer level, mixer level offset, and IF output power offset.
  2. 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.
  3. Iterates to adjust the reference level based on the input signal peak power.
  4. 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 SetAutoLevelInitialReferenceLevel(String, Double) method.
When using PXIe-5663/5665/5668R devices, NI recommends that you set an appropriate value for mechanical attenuation before calling the RFmxTDSCDMA Auto Level method. Setting an appropriate value for mechanical attenuation reduces the number of times the attenuator settings are changed by this method; thus reducing wear and tear, and maximizing the life time of the attenuator.
Public methodStatic memberBuildChannelString
Creates a selector string to use with channel-specific configuration or fetch methods and methods.
Refer to the Selector String topic for information about the string syntax for named signals.
Public methodStatic memberBuildOffsetString
Creates the offset string to use as the selector string with spectral emissions mask (SEM) and adjacent channel power (ACP) offset configuration or fetch methods and methods.
Refer to the Selector String topic for information about the string syntax for named signals.
Public methodStatic memberBuildResultString
Creates selector string for use with configuration or fetch.
Public methodStatic memberBuildSegmentString
Creates the segment string to use as the selector string with the power versus time (PVT) segment configuration or fetch methods and methods.
Refer to the Selector String topic for information about the string syntax for named signals.
Public methodCheckMeasurementStatus
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.
Public methodClearAllNamedResults
Clears all results for the current signal instance.
Public methodClearNamedResult
Clears a result instance specified by the result name in the selectorString parameter.
Public methodCloneSignalConfiguration
Creates a new instance of a signal by copying all the method values from an existing signal instance.
Public methodCommit
Commits settings to the hardware. Calling this method is optional. RFmxTDSCDMA commits settings to the hardware when you call the Initiate(String, String) method.
Public methodConfigureChannelConfigurationMode
Configures RFmx TD-SCDMA to detect the channels automatically or to use a specified channel configuration.
Public methodConfigureDigitalEdgeTrigger
Configures the device to wait for a digital edge trigger and then marks a reference point within the record.
Public methodConfigureExternalAttenuation
Specifies external attenuation to be considered by RFmx TD-SCDMA measurements, such as the attenuation of a switch or cable connected to the signal analyzer RF IN connector.
Public methodConfigureFrequency
Configures the expected carrier frequency of the RF signal to acquire. The signal analyzer tunes to this frequency.
Public methodConfigureFrequencyChannelNumber
Configures the carrier frequency of the RF signal to acquire according to the given channel number. The signal analyzer tunes to this frequency.
Public methodConfigureIQPowerEdgeTrigger
Configures the device to wait for the complex power of the I/Q data to cross the specified threshold to mark a reference point within the record.
Public methodConfigureMidamble Obsolete.
This method is now deprecated, please use the RFmxTDSCDMA Configure Midamble Shift method in the place of this method.
Public methodConfigureMidambleShift
Configures the midambleAutoDetectionMode, maximumNumberOfUsers, and MidambleShift parameters.
Public methodConfigureNumberOfChannels
Configures the number of channels for the user-defined channel configuration when the channel configuration mode is set to userDefined.
Public methodConfigurePilot
Configures the pilot code of the TD-SCDMA signal.
Public methodConfigureReferenceLevel
Configures the reference level. The reference level represents the maximum expected power of an input RF signal.
Public methodConfigureRF
Configures the RF methods of the signal specified by the selectorString parameter.
Public methodConfigureSoftwareEdgeTrigger
Configures the device to wait for a software trigger to mark a reference point within the record.
Public methodConfigureUplinkScramblingCode
Configures the scrambling code used for the uplink transmission.
Public methodConfigureUserDefinedChannel
Configures an individual user-defined channel when the channel configuration mode is set to userDefined.
Use "channel(n)" as the selector string to configure this method.
A channel configuration is defined by the slot index it refers to, the channel type, and the modulation type.
Public methodConfigureUserDefinedChannelArray
Configures all user-defined channels when the channel configuration mode is set to userDefined.
Use equal-sized arrays for slotIndex, channelType, and modulationType. You can configure up to two channels for the same index for multi-code transmission.
Public methodDeleteSignalConfiguration
Deletes an instance of a signal.

Public methodDisableTrigger
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.
Public methodDispose
Deletes the signal configuration if it is not the default signal configuration and clears any trace of the current signal configuration, if any.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetAllNamedResultNames
Returns all the named result names of the current signal instance.
Public methodGetAttributeBool
Gets the value of a Bool attribute.
Public methodGetAttributeDouble
Gets the value of a Double attribute.
Public methodGetAttributeInt
Gets the value of an RFmx 32-bit integer (int32) attribute.
Public methodGetAttributeString
Gets the value of a of an RFmx string.
Public methodGetAutoLevelInitialReferenceLevel
Gets the initial reference level that the AutoLevel(String, Double, Double) function uses to estimate the peak power of the input signal. This value is expressed in dBm.
Public methodGetCenterFrequency
Gets the carrier frequency of the RF signal to acquire. The signal analyzer tunes to this frequency. This value is expressed in Hz.
Public methodGetChannelConfigurationMode
Gets whether to detect the channels automatically or to use a specified channel configuration.
Public methodGetChannelizationCode
Gets the channelization code of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodGetChannelType
Gets the channel type of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodGetDigitalEdgeTriggerEdge
Gets the active edge for the trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to DigitalEdge.
Public methodGetDigitalEdgeTriggerSource
Gets the source terminal for the digital edge trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to DigitalEdge.
Public methodGetErrorString
Converts the status code returned by an RFmxTDSCDMA function into a string.
Public methodGetExternalAttenuation
Gets the level of external attenuation that is considered by the selected measurement. This value is expressed in dB.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIQPowerEdgeTriggerLevel
Gets the threshold above or below which the signal analyzer triggers, depending on the value of the SetIQPowerEdgeTriggerSlope(String, RFmxTdscdmaMXIQPowerEdgeTriggerSlope) method. This value is expressed in dB when the SetIQPowerEdgeTriggerLevelType(String, RFmxTdscdmaMXIQPowerEdgeTriggerLevelType) method is set to Relative or in dBm when the IQ Power Edge Level Type method is set to Absolute.
Public methodGetIQPowerEdgeTriggerLevelType
Gets the reference for the SetIQPowerEdgeTriggerLevel(String, Double) method. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodGetIQPowerEdgeTriggerSlope
Gets whether the device asserts the trigger when the signal power is rising or when the signal power is falling. The device asserts the trigger when the signal power exceeds the specified level with the slope you specify. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodGetIQPowerEdgeTriggerSource
Gets the channel from which the device monitors the trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodGetLimitedConfigurationChange
Gets the set of properties that are considered by RFmx in the locked signal configuration state.
Public methodGetMaximumNumberOfUsers
Configures the maximum number of users.
Public methodGetMidambleAutoDetectionMode
Gets the midamble auto detection mode.
Public methodGetMidambleCode Obsolete.
Gets the midamble code.
Public methodGetMidambleShift
Gets the midamble shift used when you set the SetMidambleAutoDetectionMode(String, RFmxTdscdmaMXMidambleAutoDetectionMode) method to Off. This value is expressed in chips.
Public methodGetModulationType
Gets the modulation type of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodGetNumberOfChannels
Gets the number of user-defined channels. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined.
Public methodGetPilotCode
Gets the SYNC-UL code used by the uplink pilot time slot (UpPTS). This method is used when the SetSynchronizationMode(String, RFmxTdscdmaMXModAccSynchronizationMode) method is set to Subframe, or the SetSlotType(String, RFmxTdscdmaMXModAccSlotType) method is set to Pilot.
Public methodGetReferenceLevel
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-pk for baseband devices.
Public methodGetReferenceLevelHeadroom
Gets the margin RFmx adds to the Reference Level method. 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.

Default values

PXIe-5668: 6 dB

PXIe-5830/5831/5832/5841/5842/5860: 1 dB

PXIe-5840: 0 dB

Supported devices: PXIe-5668R, PXIe-5830/5831/5832/5840/5841/5842/5860.

Public methodGetResultFetchTimeout
Gets the time to wait before results are available in the RFmx driver. 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 RFmx driver waits until the measurement is complete.
Public methodGetSelectedPorts
Gets the instrument port to be used by the measurement.

Valid values

PXIe-5820/5840: "" (empty string)

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

Default values

PXIe-5820/5840: "" (empty string)

PXIe-5830/5831/5832: 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

Supported devices: PXIe-5820/5830/5831/5832/5840

Public methodGetSlotFormat
Gets the spreading factor, the number of TFCI code words, the number of transmit power control bits, and the number of synchronization shift bits. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodGetSlotIndex
Gets the slot index of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodGetTriggerDelay
Gets the trigger delay time. This value is expressed in seconds.
Public methodGetTriggerMinimumQuietTimeDuration
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 SetIQPowerEdgeTriggerSlope(String, RFmxTdscdmaMXIQPowerEdgeTriggerSlope) method to Rising, the signal is quiet below the trigger level. If you set the IQ Power Edge Slope method to Falling, the signal is quiet above the trigger level.
Public methodGetTriggerMinimumQuietTimeMode
Gets whether the measurement calculates the minimum quiet time used for triggering.
Public methodGetTriggerType
Gets the trigger type.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUplinkScramblingCode
Gets the scrambling code and the basic midamble code for uplink transmission.
Public methodGetWarning
Gets the latest warning code and description.
Public methodInitiate
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 methods. To get the status of measurements, use the WaitForMeasurementComplete(String, Double) method or the CheckMeasurementStatus(String, Boolean) method.
Public methodResetAttribute
Resets the attribute to its default value.
Public methodResetToDefault
Resets a signal to the default values. This method disables all the external attenuation tables in all calibration planes.
Public methodSelectMeasurements
Specifies the measurements that you want to enable.
Public methodSendSoftwareEdgeTrigger
Sends a trigger to the device when you use the RFmxTDSCDMA_CfgTrigger method to choose a software version of a trigger and the device is waiting for the trigger to be sent. You can also use this method to override a hardware trigger.
This method returns an error in the following situations:
  1. You configure an invalid trigger.
  2. You have not previously called the RFmxMXTdscdmaMX.Initiate method.
Public methodSetAttributeBool
Sets the value of a Bool attribute.
Public methodSetAttributeDouble
Sets the value of a Double attribute.
Public methodSetAttributeInt
Sets the value of a Int attribute.
Public methodSetAttributeString
Sets the value of a String attribute.
Public methodSetAutoLevelInitialReferenceLevel
Sets the initial reference level that the AutoLevel(String, Double, Double) function uses to estimate the peak power of the input signal. This value is expressed in dBm.
Public methodSetCenterFrequency
Sets the carrier frequency of the RF signal to acquire. The signal analyzer tunes to this frequency. This value is expressed in Hz.
Public methodSetChannelConfigurationMode
Sets whether to detect the channels automatically or to use a specified channel configuration.
Public methodSetChannelizationCode
Sets the channelization code of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodSetChannelType
Sets the channel type of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodSetDigitalEdgeTriggerEdge
Sets the active edge for the trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to DigitalEdge.
Public methodSetDigitalEdgeTriggerSource
Sets the source terminal for the digital edge trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to DigitalEdge.
Public methodSetExternalAttenuation
Sets the level of external attenuation that is considered by the selected measurement. This value is expressed in dB.
Public methodSetIQPowerEdgeTriggerLevel
Sets the threshold above or below which the signal analyzer triggers, depending on the value of the SetIQPowerEdgeTriggerSlope(String, RFmxTdscdmaMXIQPowerEdgeTriggerSlope) method. This value is expressed in dB when the SetIQPowerEdgeTriggerLevelType(String, RFmxTdscdmaMXIQPowerEdgeTriggerLevelType) method is set to Relative or in dBm when the IQ Power Edge Level Type method is set to Absolute.
Public methodSetIQPowerEdgeTriggerLevelType
Sets the reference for the SetIQPowerEdgeTriggerLevel(String, Double) method. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodSetIQPowerEdgeTriggerSlope
Sets whether the device asserts the trigger when the signal power is rising or when the signal power is falling. The device asserts the trigger when the signal power exceeds the specified level with the slope you specify. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodSetIQPowerEdgeTriggerSource
Sets the channel from which the device monitors the trigger. This method is used only when you set the SetTriggerType(String, RFmxTdscdmaMXTriggerType) method to IQPowerEdge.
Public methodSetLimitedConfigurationChange
Sets the set of properties that are considered by RFmx in the locked signal configuration state.
Public methodSetMaximumNumberOfUsers
Configures the maximum number of users.
Public methodSetMidambleAutoDetectionMode
Sets the midamble auto detection mode.
Public methodSetMidambleCode Obsolete.
Sets the midamble code.
Public methodSetMidambleShift
Sets the midamble shift used when you set the SetMidambleAutoDetectionMode(String, RFmxTdscdmaMXMidambleAutoDetectionMode) method to Off. This value is expressed in chips.
Public methodSetModulationType
Sets the modulation type of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodSetNumberOfChannels
Sets the number of user-defined channels. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined.
Public methodSetPilotCode
Sets the SYNC-UL code used by the uplink pilot time slot (UpPTS). This method is used when the SetSynchronizationMode(String, RFmxTdscdmaMXModAccSynchronizationMode) method is set to Subframe, or the SetSlotType(String, RFmxTdscdmaMXModAccSlotType) method is set to Pilot.
Public methodSetReferenceLevel
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-pk for baseband devices.
Public methodSetReferenceLevelHeadroom
Sets the margin RFmx adds to the Reference Level method. 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.

Default values

PXIe-5668: 6 dB

PXIe-5830/5831/5832/5841/5842/5860: 1 dB

PXIe-5840: 0 dB

Supported devices: PXIe-5668R, PXIe-5830/5831/5832/5840/5841/5842/5860.

Public methodSetResultFetchTimeout
Sets the time to wait before results are available in the RFmx driver. 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 RFmx driver waits until the measurement is complete.
Public methodSetSelectedPorts
Sets the instrument port to be used by the measurement.

Valid values

PXIe-5820/5840: "" (empty string)

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

Default values

PXIe-5820/5840: "" (empty string)

PXIe-5830/5831/5832: 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

Supported devices: PXIe-5820/5830/5831/5832/5840

Public methodSetSlotFormat
Sets the spreading factor, the number of TFCI code words, the number of transmit power control bits, and the number of synchronization shift bits. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodSetSlotIndex
Sets the slot index of the user-defined channel. This method is used only when you set the SetChannelConfigurationMode(String, RFmxTdscdmaMXChannelConfigurationMode) method to UserDefined. Use "channel(n)" as the selector string to configure or read this method.
Public methodSetTriggerDelay
Sets the trigger delay time. This value is expressed in seconds.
Public methodSetTriggerMinimumQuietTimeDuration
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 SetIQPowerEdgeTriggerSlope(String, RFmxTdscdmaMXIQPowerEdgeTriggerSlope) method to Rising, the signal is quiet below the trigger level. If you set the IQ Power Edge Slope method to Falling, the signal is quiet above the trigger level.
Public methodSetTriggerMinimumQuietTimeMode
Sets whether the measurement calculates the minimum quiet time used for triggering.
Public methodSetTriggerType
Sets the trigger type.
Public methodSetUplinkScramblingCode
Sets the scrambling code and the basic midamble code for uplink transmission.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForMeasurementComplete
Waits for the specified number of seconds for all the measurements to complete.
Top

See Also

Log in to get a better experience