-SCS Parameter Analyzer Reference Manual Section 13:
LPT library function reference
4200A-901-01 Rev. C / February 2017 13-191
smeaszRT
This command makes and returns impedance measurements for a voltage or frequency sweep in real time.
Usage
int smeaszRT(int instr_id, long model, long speed, double *result1, char *colname1,
double *result2, char *colname2);
The instrument identification code of the 4210-CVU: CVU1
Measure model (see "Measurement model parameter values" table in Details)
• KI_CVU_SPEED_FAST: Fast measurements (higher noise)
• KI_CVU_SPEED_NORMAL: Selects a balance between speed and low noise
• KI_CVU_SPEED_QUIET: Low-noise measurements
• KI_CVU_SPEED_CUSTOM: Selects custom settings; the delay factor, filter
factor, and aperture are set using the
command
Array of the first result of the selected measure model
Column name to pass into Clarius for result1 array (character string)
Array of the second result of the selected measure model
Column name to pass into Clarius for result2 array (character string)
Details
This command is similar to the smeasz command; both commands return the measured impedance
readings for a sweep returned in arrays. However, the readings from smeaszRT are posted to the
Clarius Analyze sheet and graph in real time. Two measurement results appear in the sheet and
graph after each step of the sweep is executed.
Note that the values are only available in real-time if Clarius is running. Otherwise, they are stored in
an array.
The colname1 and colname2 parameters specify names for data sheet columns in Clarius.
Measurement model parameter values
Impedance (Z) and phase (θ in degrees)
Parallel capacitance and conductance
CsRs Series capacitance and resistance
or
Parallel capacitance and dissipation factor
Series capacitance and dissipation factor
Example
smeaszRT(CVU1, 2, KI_NORMAL, result1, "result1", result2, "result2");
This command posts the results into the Clarius data sheet under columns named result1_arr and
result2_arr.
Also see
smeasz (on page 13-189)