Appendix D: Using a Model 82 C-V System Model 4200A-SCS Parameter Analyzer Reference ManualD-38 4200A-901-01 Rev. C / February 2017The return values from status can be:• 0: OK.• -10021 (COMP_FILE_NOT_EXIST): The specified compensation file does not exist• -10022 (KI590_NOT_IN_KCON): There is no CMTR defined in your system configuration• -10090 (GPIB_ERROR_OCCURRED): A GPIB communications error occurred• -10100 (INVAL_PARAM): An invalid input parameter is specifiedAlso seeSaveCableCompCaps82 user module (on page D-41)QTsweep82 user moduleThis user module uses the 595 to determine the equilibrium point for a device by measuringquasistatic capacitance using different delay times.Usagestatus = QTsweep82(double Test_Bias, int LeakageCorrection, double Hold_time,double V-Step, char *InstldStr, int InputPin, int OutPin, double Delay_Max, intRange, double *CQS, int, CQS_ArrSize, double *QT, int QT_ArrSize, double*Delay_time, int Delay_time_ArrSize);status Returned values are placed in the Analyze sheet; see DetailsTest_Bias Voltage bias for capacitance measurements (−120 V to +120 V)LeakageCorrection Disable: 0Enable: 1Hold_Time Hold time at the beginning of the sweep (0 s to 200 s; default 5)V-Step Step voltage size: ±0 V, ±0.01 V, ±0.02 V, ±0.05 V, ±0.1 VInstldStr KCon instrument ID; default is CMTR1; can be CMTR1 to CMTR4, depending onyour system configurationInputPin The DUT pin to which the 5951 input terminal is attached (−1 to 72); if a value ofless than 1 is specified, no switch matrix connections are madeOutPin The DUT pin to which the 5951 output terminal is attached (−1 to 72); if a valueof less than 1 is specified, no switch matrix connections are madeDelay_Max Maximum delay time: 1 s to 199.99 s (default 10 s)Range The measurement range for the 595 to use: 1 to 3; see DetailsCQS Output; the measured array of quasistatic capacitance valuesCQS_ArrSize Set to 20QT Output; the measured array of leakage current Q/TQT_ArrSize Set to 20Delay_time Output; the array of Delay_Time used up to Delay_Max in logarithm scaleDelay_time_ArrSize Set to 20