Section 13: LPT library function reference Model 4200A-SCS Parameter Analyzer Reference Manual13-84 4200A-901-01 Rev. C / February 2017Exampledouble icer2;..conpin(3, 2, GND, 0);conpin(SMU1, 4, 0);limiti(SMU1, 1.0E-3); /* Limit current to 1.0 mA. */rangei(SMU1, 2.0E-3); /* Select range for 2 mA. */forcev(SMU1, 35.0); /* Force 35 V. */measi(SMU1, &icer2); /* Measure leakage; return *//* results to icer2. */This example specifies connections, sets a 1 mA limit on the 2 mA range and forces 35 V, then measurescurrent leakage and returns the results to the variable icer2.Also seeasweepX (on page 13-59)bsweepX (on page 13-65)forceX (on page 13-69)pulseX (on page 13-81)searchX (on page 13-38)sweepX (on page 13-88)rtfaryThis command returns the array of force values used during the subsequent voltage or frequency sweep.Usageint rtfary(double *forceArray);forceArray Array of force values for voltage or frequencyDetailsThis command is used to return an array of voltage or frequency force values for a sweep. Send thiscommand before calling any sweep command.To prevent a memory exception error, make sure that the array that will receive the sourced values islarge enough.