Model 4200A-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
);
instr_id
The instrument identification code of the 4210-CVU:
CVU1
model
Measure model (see "Measurement model parameter values" table in
Details
)
speed
Speed settings:
•
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
setmode
command
result1
Array of the first result of the selected measure model
colname1
Column name to pass into Clarius for
result1
array (character string)
result2
Array of the second result of the selected measure model
colname2
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
Measurement model
Parameter value
ZTH
Impedance (Z) and phase (θ in degrees)
KI_CVU_TYPE_ZTH
or
0
RjX
Resistance and reactance
KI_CVU_TYPE_RJX
or
1
CpGp
Parallel capacitance and conductance
KI_CVU_TYPE_CPGP
or
2
CsRs
Series capacitance and resistance
KI_CVU_TYPE_CSRS
or
3
CpD
Parallel capacitance and dissipation factor
KI_CVU_TYPE_CPD
or
4
CsD
Series capacitance and dissipation factor
KI_CVU_TYPE_CSD
or
5
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
(on page 13-189)