diff --git a/generated/nirfmxinstr/nirfmxinstr.proto b/generated/nirfmxinstr/nirfmxinstr.proto index e05ca9f3f..3db63dc28 100644 --- a/generated/nirfmxinstr/nirfmxinstr.proto +++ b/generated/nirfmxinstr/nirfmxinstr.proto @@ -184,6 +184,7 @@ enum NiRFmxInstrAttribute { NIRFMXINSTR_ATTRIBUTE_LO_IN_POWER = 78; NIRFMXINSTR_ATTRIBUTE_LO_OUT_POWER = 79; NIRFMXINSTR_ATTRIBUTE_LO_VCO_FREQUENCY_STEP_SIZE = 80; + NIRFMXINSTR_ATTRIBUTE_DIGITAL_GAIN = 84; NIRFMXINSTR_ATTRIBUTE_LO_PLL_FRACTIONAL_MODE_ENABLED = 90; NIRFMXINSTR_ATTRIBUTE_OPTIMIZE_PATH_FOR_SIGNAL_BANDWIDTH = 91; NIRFMXINSTR_ATTRIBUTE_INPUT_ISOLATION_ENABLED = 92; diff --git a/imports/include/niRFmxInstr.h b/imports/include/niRFmxInstr.h index fae22e9ef..2556397a1 100644 --- a/imports/include/niRFmxInstr.h +++ b/imports/include/niRFmxInstr.h @@ -215,6 +215,7 @@ typedef union CVIAbsoluteTime { CVITime cviTime; unsigned int u32Data[4]; } CVIA #define RFMXINSTR_ATTR_LO_SHARING_MODE 0x00000044 #define RFMXINSTR_ATTR_NUMBER_OF_LO_SHARING_GROUPS 0x00000061 #define RFMXINSTR_ATTR_LOAD_OPTIONS 0x000000A3 +#define RFMXINSTR_ATTR_DIGITAL_GAIN 0x00000054 /* -- Values for binary attributes -- */ @@ -2057,6 +2058,18 @@ int32 __stdcall RFmxInstr_FetchRawIQData( int32 arraySize ); + int32 __stdcall RFmxInstr_GetDigitalGain( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 *attrVal + ); + + int32 __stdcall RFmxInstr_SetDigitalGain( + niRFmxInstrHandle instrumentHandle, + char selectorString[], + float64 attrVal + ); + #ifdef __cplusplus } #endif diff --git a/source/codegen/metadata/nirfmxinstr/attributes.py b/source/codegen/metadata/nirfmxinstr/attributes.py index cd0999a4f..f6ba527f8 100644 --- a/source/codegen/metadata/nirfmxinstr/attributes.py +++ b/source/codegen/metadata/nirfmxinstr/attributes.py @@ -351,6 +351,11 @@ 'name': 'LO_VCO_FREQUENCY_STEP_SIZE', 'type': 'float64' }, + 84: { + 'access': 'read-write', + 'name': 'DIGITAL_GAIN', + 'type': 'float64' + }, 90: { 'access': 'read-write', 'enum': 'LOPllFractionalModeEnabled',