12-62  Instrument Control Library Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 12 topics
smuX.cal.password
X = SMU channel (a or b)
Attribute Password to enable calibration.
Usage smuX.cal.password = newpassword 
newpassword  The new password (string).
Remarks
• A new password can only be assigned when calibration has been unlocked.
• The calibration password is write-only and cannot be read.
Details See Section 16 (calibration).   
Also see smuX.makebuffer 
Example
Assign a new calibration password for SMU A:
smua.cal.password = "LetMeIn"
smuX.cal.polarity
X = SMU channel (a or b)
Attribute Control which calibration constants are used for all subsequent measurements.
Usage
calpolarity = smuX.cal.polarity -- Reads cal polarity.
smuX.cal.polarity = calpolarity -- Writes cal polarity.
Set calpolarity to one of the following values:
0 or smuX.CAL_AUTO Automatic polarity detection.
1 or smuX.CAL_POSITIVE  Measure with positive polarity calibration constants.
2 or smuX.CAL_NEGATIVE  Measure with negative polarity calibration constants.
Remarks
• This attribute controls which polarity calibration constants are used to make all 
subsequent measurements. This attribute does not affect the 
smuX.measure.calibrateY or the smuX.source.calibrateY function. The 
polarity for those commands are dictated by the range parameter given to the 
command.
• The measurement calibration commands require the measurements provided to 
have been made using the polarity being calibrated. When the calibration points are 
sufficiently far away from zero the desired polarity constants are inherently used 
when making those measurements. When measuring near zero, it is possible for the 
measurement to be made using the calibration constants from either polarity without 
knowing which was used. Setting this attribute to positive or negative forces 
measurements to be made using the calibration constants for a given polarity rather 
than basing the choice on the raw measurement data. 
• This attribute can only be set to positive or negative when calibration is unlocked. 
This attribute will automatically be set back to CAL_AUTO when calibration is 
locked.
Details See Section 16 (calibration).   
Also see smuX.makebuffer, smuX.measure.calibrateY, smuX.source.calibrateY