Section 13: LPT library function reference Model 4200A-SCS Parameter Analyzer Reference Manual13-44 4200A-901-01 Rev. C / February 2017sintgXThis command makes an integrated measurement for every point in a sweep.Usageint sintgi(int instr_id, double *result);int sintgv(int instr_id, double *result);instr_id The instrument identification code of the measuring instrumentresult The floating point array where the results are storedDetailsUsed this command to create an entry in the measurement scan table. During any of the sweepingcommands, a measurement scan is performed for every force point in the sweep. During each scan,a measurement is made for every entry in the scan table. The measurements are made in the sameorder in which the entries were made in the scan table.The sintgX command sets up the new scan table entry to make an integrated measurement. Themeasurement results are stored in the array, specified by the result parameter. Each time ameasurement scan is made, a new measurement result is stored at the next location in the resultsarray. If the scan table is not cleared, making multiple sweeps will continue to add new measurementresults to the end of the array. Care must be taken that the results array is large enough to hold allmeasurements that are made before the scan table is cleared. The scan table is cleared by an explicitcall to the clrscn command, or implicitly when the devint or execut command is called.Exampledouble idss[16];..conpin(SMU1, 2, 0);conpin(GND, 5, 4, 3, 0);limiti(SMU1, 1.5E-8);rangei(SMU1, 2.0E-8); /* Select range for 20 nA. */sintgi(SMU1, idss); /* Measure current with SMU1;*//* return results to idss. */..sweepv(SMU1, 0.0, 25.0, 15, /* Perform 16 measurements */1.0E-3); /* (steps) from 0 through */. /* 25 V; each step 1 ms in */. /* duration. */