Close External Calibration

Ends an external calibration session that you began using Initialize External Calibration. You can choose whether or not to write the new calibration constants set by an external calibration function to the device's non-volatile onboard memory using action.

Note
  • After invoking Close External Calibration, you cannot use the NI-Sync session handle again until you invoke Initialize (niSync) or Initialize External Calibration.
  • If you invoke this function with action set to Commit, the function updates the external calibration date stored in the device's non-volatile onboard memory, even if no calibration constants were changed.

Inputs/Outputs

datatype_icon

session in

The session that you obtain from Initialize.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

action

A 32-bit integer that specifies whether or not to write the external calibration constants set using an external calibration function to the device's non-volatile onboard memory.

Valid values:
Abort Discards any changes made with an external calibration function and maintains calibration constants at their original value.
Commit Writes any changes made with an external calibration function to the device's non-volatile onboard memory. These are the new default calibration constants for the device.
datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior