NIDCPOWER_ATTR_SELF_CALIBRATION_PERSISTENCE
- Updated2025-10-06
- 1 minute(s) read
Specifies whether the values calculated during self-calibration should be written to hardware to be used until the next self-calibration or only used until the niDCPower_ResetDevice function is called or the machine is powered down.
Syntax
NIDCPOWER_ATTR_SELF_CALIBRATION_PERSISTENCE
Numeric Value | Data Type | Access | Applies To |
|---|---|---|---|
1150073 | ViInt32 | Read/Write | Instruments |
Remarks
This attribute affects the behavior of the niDCPower_CalSelfCalibrate function. When set to NIDCPOWER_VAL_KEEP_IN_MEMORY, the values calculated by the niDCPower_CalSelfCalibrate function are used in the existing session, as well as in all further sessions until you call the niDCPower_ResetDevice function or restart the machine. When you set this property to NIDCPOWER_VAL_WRITE_TO_EEPROM, the values calculated by the niDCPower_CalSelfCalibrate function are written to hardware and used in the existing session and in all subsequent sessions until another call to the niDCPower_CalSelfCalibrate function is made.
This attribute is not supported by all devices. Refer to Supported Attributes by Device for information about supported devices.
To specify an instrument name when accessing this attribute, you must first initialize the session using the niDCPower_InitializeWithIndependentChannels function.
Defined Values:
Name | Value | Description |
|---|---|---|
NIDCPOWER_VAL_KEEP_IN_MEMORY | 1045 (0x415) | Keep new self-calibration values in memory only. |
NIDCPOWER_VAL_WRITE_TO_EEPROM | 1046 (0x416) | Write new self-calibration values to hardware. Refer to your device documentation for more information about the implications of frequent writes to the EEPROM. |
Default Value: NIDCPOWER_VAL_KEEP_IN_MEMORY