RFmx Pulse DotNET

Table of Contents

RFmxPulseMX Methods

  • Updated2024-07-17
  • 15 minute(s) read
RFmxPulseMX Methods

RFmxPulseMX Methods

The RFmxPulseMX type exposes the following members.

Methods

  NameDescription
Public methodAbortMeasurements
Stops acquisition and measurements associated with signal instance that you specify in the selectorString parameter, which 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 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 in the method node. Use this method only if the RFmxInstrMX.GetRecommendedAcquisitionType method value is either IQ or IQorSpectral.
Query the Recommended Acquisition Type method from the RFmxInstr Property Node after calling the RFmx Pulse Commit method.
Public methodAutoLevel
Examines the input signal to calculate the peak power level and sets it as the value of the ReferenceLevel method. Use this method to help calculate an approximate setting for the reference level.
The RFmxPulse Auto Level method does the following:
  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 preamp 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 completing execution.
You can also specify the starting reference level using the AutoLevelInitialReferenceLevel method.
When using PXIe-5663, 5665, or 5668R devices, NI recommends that you set an appropriate value for mechanical attenuation before calling the RFmx Pulse 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 memberBuildResultString
Creates selector string for use with configuration or fetch.
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. RFmxPulse commits settings to the hardware when you call the Initiate(String, String) method or any of the measurement Read methods.
Public methodConfigureDigitalEdgeTrigger
Configures the device to wait for a digital edge trigger and then marks a reference point within the record.
Public methodConfigureExternalAttenuation
Specifies the attenuation of a switch (or cable) connected to the RF IN connector of the signal analyzer.
Public methodConfigureFrequency
Configures the expected carrier frequency of the RF signal to acquire. 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 methodConfigureReferenceLevel
Configures the reference level, which represents the maximum expected power of an RF input signal.
Public methodConfigureRF
Configures the RF methods of the signal specified by the selector string.
Public methodConfigureSoftwareEdgeTrigger
Configures the device to wait for a software trigger and then marks a reference point within the record.
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 methodGetAcquisitionLength
Gets the acquisition length for the pulse measurement. This value is expressed in seconds.You configure this method when you set the SegmentedAcquisitionEnabled method to False.
Public methodGetAllNamedResultNames
Gets the named result names of the signal that you specify in the selectorString parameter.
Public methodGetAttributeBool
Gets the value of a Bool attribute.
Public methodGetAttributeDouble
Gets the value of a Double attribute.
Public methodGetAttributeDoubleArray
Gets the value of a double array attribute.
Public methodGetAttributeInt
Gets the value of an RFmx 32-bit integer (int32) attribute.
Public methodGetAttributeIntArray
Gets the value of a integer array attribute.
Public methodGetAttributeString
Gets the value of a of an RFmx string.
Public methodGetAutoLevelInitialReferenceLevel
Gets the initial reference level, in dBm, which the AutoLevel(String, Double, Double, Double) function uses to estimate the peak power of the input signal.
Public methodGetCenterFrequency
Gets the expected carrier frequency of the acquired RF signal. This value is expressed in Hz. The signal analyzer tunes to this frequency.
Public methodGetDigitalEdgeTriggerEdge
Gets the active edge for the trigger. This method is used only when you set the TriggerType method to DigitalEdge.
Public methodGetDigitalEdgeTriggerSource
Gets the source terminal for the digital edge trigger. This method is used only when you set the TriggerType method to DigitalEdge.
Public methodGetErrorString
Converts the status code returned by an RFmxPULSE function into a string.
Public methodGetExternalAttenuation
Gets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer. This value is expressed in dB. 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.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIQPowerEdgeTriggerLevel
Gets the power level at which the device triggers. This value is expressed in dB when you set the IQPowerEdgeTriggerLevelType method to Relative and in dBm when you set the IQ Power Edge Level Type method to Absolute. The device asserts the trigger when the signal exceeds the level specified by the value of this method, taking into consideration the specified slope. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodGetIQPowerEdgeTriggerLevelType
Gets the reference for the IQPowerEdgeTriggerLevel method. The IQ Power Edge Level Type method is used only when you set the TriggerType method to IQPowerEdge.
Public methodGetIQPowerEdgeTriggerSlope
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 level that you specify in the IQPowerEdgeTriggerLevel method with the slope you specify. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodGetIQPowerEdgeTriggerSource
Gets the channel from which the device monitors the trigger. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodGetMaximumPulseCount
Gets the maximum number of pulses to be measured when you set the MaximumPulseCountEnabled method to True.
Public methodGetMaximumPulseCountEnabled
Gets whether to enable the maximum pulse count for pulse measurements.You must configure this method when you set the SegmentedAcquisitionEnabled method to False.
Public methodGetMeasurementBandwidth
Gets the bandwidth of the filter used for the required sample rate. This value is expressed in Hz.
Public methodGetMeasurementFilterType
Gets the demodulation filter type to be used in the measurements.
Public methodGetNumberOfSegments
Gets the number of segments to acquire when you set the SegmentedAcquisitionEnabled method to True.
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 ReferenceLevel method. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.
Public methodGetResultFetchTimeout
Gets the wait time before results are available in the PropertyNode. 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 RFmxPulse Property Node waits until the measurement is complete.
Public methodGetSegmentAcquisitionLength
Gets the acquisition length for the pulse measurement when you set the SegmentedAcquisitionEnabled method to True. This value is expressed in seconds.
Public methodGetSegmentedAcquisitionEnabled
Gets whether to enable Segmented Acquisition. This mode is best applied when the pulses are sparsely spaced.
Public methodGetSelectedPorts
Gets the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.
Public methodGetTriggerDelay
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.
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 IQPowerEdgeTriggerSlope 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 computes 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 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 in the method node. To get the status of measurements, use the RF WaitForMeasurementComplete(String, Double) method or CheckMeasurementStatus(String, Boolean) method.
Public methodResetAttribute
Resets the attribute to its default value.
Public methodResetToDefault
Resets a signal to the default values.
Public methodSelectMeasurements
Specifies the measurements that you want to enable.
Public methodSendSoftwareEdgeTrigger
Sends a trigger to the device when you use the ConfigureSoftwareEdgeTrigger(String, Double, Boolean) 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:
Public methodSetAcquisitionLength
Sets the acquisition length for the pulse measurement. This value is expressed in seconds.You configure this method when you set the SegmentedAcquisitionEnabled method to False.
Public methodSetAttributeBool
Sets the value of a Bool attribute.
Public methodSetAttributeDouble
Sets the value of a Double attribute.
Public methodSetAttributeDoubleArray
Set the value of a double array attribute.
Public methodSetAttributeInt
Sets the value of a Int attribute.
Public methodSetAttributeIntArray
Set the value of a integer array attribute.
Public methodSetAttributeString
Sets the value of a String attribute.
Public methodSetAutoLevelInitialReferenceLevel
Sets the initial reference level, in dBm, which the AutoLevel(String, Double, Double, Double) function uses to estimate the peak power of the input signal.
Public methodSetCenterFrequency
Sets the expected carrier frequency of the acquired RF signal. This value is expressed in Hz. The signal analyzer tunes to this frequency.
Public methodSetDigitalEdgeTriggerEdge
Sets the active edge for the trigger. This method is used only when you set the TriggerType method to DigitalEdge.
Public methodSetDigitalEdgeTriggerSource
Sets the source terminal for the digital edge trigger. This method is used only when you set the TriggerType method to DigitalEdge.
Public methodSetExternalAttenuation
Sets the attenuation of a switch or cable connected to the RF IN connector of the signal analyzer. This value is expressed in dB. 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.
Public methodSetIQPowerEdgeTriggerLevel
Sets the power level at which the device triggers. This value is expressed in dB when you set the IQPowerEdgeTriggerLevelType method to Relative and in dBm when you set the IQ Power Edge Level Type method to Absolute. The device asserts the trigger when the signal exceeds the level specified by the value of this method, taking into consideration the specified slope. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodSetIQPowerEdgeTriggerLevelType
Sets the reference for the IQPowerEdgeTriggerLevel method. The IQ Power Edge Level Type method is used only when you set the TriggerType method to IQPowerEdge.
Public methodSetIQPowerEdgeTriggerSlope
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 level that you specify in the IQPowerEdgeTriggerLevel method with the slope you specify. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodSetIQPowerEdgeTriggerSource
Sets the channel from which the device monitors the trigger. This method is used only when you set the TriggerType method to IQPowerEdge.
Public methodSetMaximumPulseCount
Sets the maximum number of pulses to be measured when you set the MaximumPulseCountEnabled method to True.
Public methodSetMaximumPulseCountEnabled
Sets whether to enable the maximum pulse count for pulse measurements.You must configure this method when you set the SegmentedAcquisitionEnabled method to False.
Public methodSetMeasurementBandwidth
Sets the bandwidth of the filter used for the required sample rate. This value is expressed in Hz.
Public methodSetMeasurementFilterType
Sets the demodulation filter type to be used in the measurements.
Public methodSetNumberOfSegments
Sets the number of segments to acquire when you set the SegmentedAcquisitionEnabled method to True.
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 ReferenceLevel method. The margin avoids clipping and overflow warnings if the input signal exceeds the configured reference level.
Public methodSetResultFetchTimeout
Sets the wait time before results are available in the RFmx Property. 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 RFmxPulse Property Node waits until the measurement is complete.
Public methodSetSegmentAcquisitionLength
Sets the acquisition length for the pulse measurement when you set the SegmentedAcquisitionEnabled method to True. This value is expressed in seconds.
Public methodSetSegmentedAcquisitionEnabled
Sets whether to enable Segmented Acquisition. This mode is best applied when the pulses are sparsely spaced.
Public methodSetSelectedPorts
Sets the instrument port to be configured to acquire a signal. Use RFmxInstr_GetAvailablePorts function to get the valid port names.
Public methodSetTriggerDelay
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.
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 IQPowerEdgeTriggerSlope 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 computes the minimum quiet time used for triggering.
Public methodSetTriggerType
Sets the trigger type.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForMeasurementComplete
Waits for the specified number for seconds for all the measurements to complete.
Top

See Also

Log in to get a better experience