Skip to content

NI RFmx SpecAn IQ Attributes

Alex Starche edited this page Feb 28, 2022 · 4 revisions

IQ Attributes

RFMXSPECAN_ATTR_IQ_MEASUREMENT_ENABLED

Data Type: int32
Access: read/write
Functions: RFmxSpecAn_SetAttributeI32
RFmxSpecAn_GetAttributeI32
Description: Specifies whether to enable the I/Q measurement.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is RFMXSPECAN_VAL_FALSE.

Get Function: RFmxSpecAn_IQGetMeasurementEnabled
Set Function: RFmxSpecAn_IQSetMeasurementEnabled

RFMXSPECAN_ATTR_IQ_SAMPLE_RATE

Data Type: float64
Access: read/write
Functions: RFmxSpecAn_SetAttributeF64
RFmxSpecAn_GetAttributeF64
Description: Specifies the acquisition sample rate. This value is expressed in samples per second (S/s).

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 50 MS/s.

Get Function: RFmxSpecAn_IQGetSampleRate
Set Function: RFmxSpecAn_IQSetSampleRate

RFMXSPECAN_ATTR_IQ_ACQUISITION_TIME

Data Type: float64
Access: read/write
Functions: RFmxSpecAn_SetAttributeF64
RFmxSpecAn_GetAttributeF64
Description: Specifies the acquisition time for the I/Q measurement. This value is expressed in seconds.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 0.001.

Get Function: RFmxSpecAn_IQGetAcquisitionTime
Set Function: RFmxSpecAn_IQSetAcquisitionTime

RFMXSPECAN_ATTR_IQ_PRETRIGGER_TIME

Data Type: float64
Access: read/write
Functions: RFmxSpecAn_SetAttributeF64
RFmxSpecAn_GetAttributeF64
Description: Specifies the pretrigger time for the I/Q measurement. This value is expressed in seconds.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 0.

Get Function: RFmxSpecAn_IQGetPretriggerTime
Set Function: RFmxSpecAn_IQSetPretriggerTime

IQ Bandwidth

RFMXSPECAN_ATTR_IQ_BANDWIDTH_AUTO

Data Type: int32
Access: read/write
Functions: RFmxSpecAn_SetAttributeI32
RFmxSpecAn_GetAttributeI32
Description: Specifies whether the measurement computes the minimum acquisition bandwidth.



The default value is RFMXSPECAN_VAL_IQ_AUTO_BANDWIDTH_TRUE.

Get Function: RFmxSpecAn_IQGetBandwidthAuto
Set Function: RFmxSpecAn_IQSetBandwidthAuto
Values:
RFMXSPECAN_VAL_IQ_AUTO_BANDWIDTH_FALSE (0) The measurement uses the value of the RFMXSPECAN_ATTR_IQ_BANDWIDTH attribute as the minimum acquisition bandwidth.
RFMXSPECAN_VAL_IQ_AUTO_BANDWIDTH_TRUE (1) The measurement uses 0.8 * sample rate as the minimum signal bandwidth.

RFMXSPECAN_ATTR_IQ_BANDWIDTH

Data Type: float64
Access: read/write
Functions: RFmxSpecAn_SetAttributeF64
RFmxSpecAn_GetAttributeF64
Description: Specifies the minimum acquisition bandwidth when you set the RFMXSPECAN_ATTR_IQ_BANDWIDTH_AUTO attribute to RFMXSPECAN_VAL_IQ_AUTO_BANDWIDTH_FALSE. 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 Strings topic for information about the string syntax for named signals.

The default value is 1 MHz.

Get Function: RFmxSpecAn_IQGetBandwidth
Set Function: RFmxSpecAn_IQSetBandwidth

RFMXSPECAN_ATTR_IQ_NUMBER_OF_RECORDS

Data Type: int32
Access: read/write
Functions: RFmxSpecAn_SetAttributeI32
RFmxSpecAn_GetAttributeI32
Description: Specifies the number of records to acquire.

You do not need to use a selector string to configure or read this attribute for the default signal instance. Refer to the Selector Strings topic for information about the string syntax for named signals.

The default value is 1.

Get Function: RFmxSpecAn_IQGetNumberOfRecords
Set Function: RFmxSpecAn_IQSetNumberOfRecords

RFMXSPECAN_ATTR_IQ_DELETE_RECORD_ON_FETCH

Data Type: int32
Access: read/write
Functions: RFmxSpecAn_SetAttributeI32
RFmxSpecAn_GetAttributeI32
Description: Specifies whether the measurement deletes the fetched record.



The default value is RFMXSPECAN_VAL_IQ_DELETE_RECORD_ON_FETCH_TRUE.

Get Function: RFmxSpecAn_IQGetDeleteRecordOnFetch
Set Function: RFmxSpecAn_IQSetDeleteRecordOnFetch
Values:
RFMXSPECAN_VAL_IQ_DELETE_RECORD_ON_FETCH_FALSE (0) The measurement does not delete the fetched record.
RFMXSPECAN_VAL_IQ_DELETE_RECORD_ON_FETCH_TRUE (1) The measurement deletes the fetched record.

Table of Contents

Internal Development

Creating and Setting Up a gRPC Server

Server Security Support

Creating a gRPC Client

gRPC Client Examples

Session Utilities API Reference

Driver Documentation

gRPC API Differences From C API

Sharing Driver Sessions Between Clients

C API Docs
NI-DAQmx
NI-DCPOWER
NI-DIGITAL PATTERN DRIVER
NI-DMM
NI-FGEN
NI-FPGA
NI-RFmx Bluetooth
NI-RFmx NR
NI-RFmx WCDMA
NI-RFmx GSM
NI-RFmx CDMA2k
NI-RFmx Instr
NI-RFmx LTE
NI-RFmx SpecAn
NI-RFmx TD-SCDMA
NI-RFmx WLAN
NI-RFSA
NI-RFSG
NI-SCOPE
NI-SWITCH
NI-TCLK
NI-XNET
Clone this wiki locally