Skip to content

NI FGEN Calibration Attributes

Palash Khare edited this page Jun 3, 2021 · 2 revisions

Calibration Attributes

NIFGEN_ATTRIBUTE_CAL_ADC_INPUT

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150227 ViInt32 R/W N/A None None

Description

Specifies the input of the calibration ADC. The ADC can take a reading from several inputs: the analog output, a 2.5 V reference, and ground. The latter two inputs are used to calibrate the ADC itself.

Note:  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

Defined Values

NIFGEN_VAL_ANALOG_OUTPUT Specifies that the ADC measures the analog output.
NIFGEN_VAL_INTERNAL_VOLTAGE_REFERENCE Specifies that the ADC measures the internal voltage reference.
NIFGEN_VAL_GROUND Specifies that the ADC measures the ground voltage.
NIFGEN_VAL_ANALOG_OUTPUT_DIFFERENTIAL Specifies that the ADC measures the differential analog output.
NIFGEN_VAL_ANALOG_OUTPUT_PLUS Specifies that the ADC measures the positive differential analog output.
NIFGEN_VAL_ANALOG_OUTPUT_MINUS Specifies that the ADC measures the negative differential analog output.
NIFGEN_VAL_ANALOG_OUTPUT_IDLE Specifies that the ADC measures the idle analog output.

Default Value: NIFGEN_VAL_ANALOG_OUTPUT

NIFGEN_ATTRIBUTE_GAIN_DAC_VALUE

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150223 ViInt32 R/W N/A None None

Description

Specifies the value programmed to the gain DAC. The value should be treated as an unsigned, right-justified number.

Note:  You cannot change this property while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

NIFGEN_ATTRIBUTE_OFFSET_DAC_VALUE

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150224 ViInt32 R/W N/A None None

Description

Specifies the value programmed to the offset DAC. The value should be treated as an unsigned, right-justified number.

Note:  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

NIFGEN_ATTRIBUTE_OSCILLATOR_FREQ_DAC_VALUE

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150225 ViInt32 R/W N/A None None

Description

Specifies the value programmed to the oscillator DAC. The value should be treated as an unsigned, right-justified number.

Note:  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

NIFGEN_ATTRIBUTE_POST_AMPLIFIER_ATTENUATION

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150229 ViReal64 R/W N/A None None

Description

Specifies the amount of post-amplifier attenuation to apply to the signal.

Note:  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

Units: decibels

NIFGEN_ATTRIBUTE_PRE_AMPLIFIER_ATTENUATION

Specific Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1150228 ViReal64 R/W N/A None None

Description

Specifies the amount of preamplifier attenuation to apply to the signal.

Note:  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.

Units: decibels

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