niDMM_SetCalPassword

NI-DMM C/CVI/VB

niDMM_SetCalPassword

ViStatus = niDMM_SetCalPassword(ViSession Instrument_Handle, ViChar Old_Password[], ViChar New_Password[])

Purpose

Changes the password required to enable external calibration functionality for the specified instrument. The maximum password string length is eight characters, excluding the termination character. "NI" is the default password.

Notes   The NI 4050 and NI 4060 are not supported.

A password is required for external calibration. Be sure to record the password in a secure location.

Parameters

Input
Name Type Description
Instrument_Handle ViSession Identifies a particular instrument session. You obtain the Instrument_Handle parameter from niDMM_init or niDMM_InitWithOptions. The default is None.
Old_Password ViChar[] Specifies the current password required to enable external calibration functionality. The maximum password string length is eight characters, excluding the termination character.
New_Password ViChar[] Specifies the New_Password required to enable external calibration functionality. The maximum password string length is eight characters, excluding the termination character.

Return Value

Name Type Description
Status ViStatus Reports the Status of this operation. To obtain a text description of the status code, call niDMM_error_message. To obtain additional information concerning the error condition, use niDMM_GetError.