NI FGEN Calibration Attributes - ni/grpc-device GitHub Wiki
- NIFGEN_ATTRIBUTE_CAL_ADC_INPUT
- NIFGEN_ATTRIBUTE_GAIN_DAC_VALUE
- NIFGEN_ATTRIBUTE_OFFSET_DAC_VALUE
- NIFGEN_ATTRIBUTE_OSCILLATOR_FREQ_DAC_VALUE
- NIFGEN_ATTRIBUTE_POST_AMPLIFIER_ATTENUATION
- NIFGEN_ATTRIBUTE_PRE_AMPLIFIER_ATTENUATION
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150227 | ViInt32 | R/W | N/A | None | None |
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
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150223 | ViInt32 | R/W | N/A | None | None |
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.
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150224 | ViInt32 | R/W | N/A | None | None |
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.
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150225 | ViInt32 | R/W | N/A | None | None |
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.
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150229 | ViReal64 | R/W | N/A | None | None |
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
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150228 | ViReal64 | R/W | N/A | None | None |
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