niSync_ChangeExtCalPassword

C Function Prototype

ViStatus niSync_ChangeExtCalPassword (ViSession vi, ViConstString oldPassword, ViConstString newPassword);

Purpose

Sets the password required to begin a new external calibration session on the specified device.

Note  
  • You must supply the existing calibration password using the oldPassword parameter for this operation to succeed. If this is the first time you have set the device's calibration password, refer to the device's calibration procedure manual to find the default calibration password.
  • In order to successfully change the calibration password, you must call niSync_CloseExtCal and set the action parameter to NISYNC_VAL_EXT_CAL_COMMIT.
  • You can invoke this function with an instrument handle created with either niSync_init or niSync_InitExtCal.

Parameters

Name Type Description
vi ViSession The session handle that you obtain from niSync_init or niSync_InitExtCal. The handle identifies a particular instrument session.

oldPassword ViConstString Specifies the old external calibration password for the device. oldPassword must exactly match the value, including case, in the device's non-volatile onboard memory for this operation to succeed.

newPassword ViConstString Specifies the new external calibration password for the module. The new password is case-sensitive and must be entered exactly to begin a new calibration session.

Return Values