EasyManua.ls Logo

Keithley 4200A-SCS

Keithley 4200A-SCS
1381 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
13: LPT library function reference Model 4200A-SCS Parameter Analyzer
Reference Manual
13-52 4200A-901-01 Rev. C / February 2017
Example
double res1, res2, resia;
.
.
measv(SMU1, &res1);/* Measure SMU1 voltage; store */
/* in res1. */
measi(SMU2, &res2);/* Measure SMU2 current; store */
/* in res2. */
kfpadd(&res1, &res2, &resia);/* Adds res1 and res2; return */
/* result to resia. */
.
.
This example adds the data in res1 to the data in res2. The result is stored in the resia variable.
Also see
None
kfpdiv
This command divides two real numbers and stores the result in a specified variable.
Usage
int kfpdiv(double *x, double *y, double *z);
x
The dividend
y
The divisor
z
A variable where the result of x/y is stored
Details
The value referenced by x is divided by the value referenced by y. The result is stored in the location
pointed to by z. If an overflow occurs, the result is ±Inf. If an underflow occurs, the result is zero (0).
Example
double res1, res2, resia;
.
.
measv(SMU1, &res1);/* Measure SMU1 voltage; store */
/* in res1. */
measi(SMU2, &res2);/* Measure SMU2 current; store */
/* in res2. */
kfpdiv(&res1, &res2, &resia);/* Divide res1 by res2; return */
/* result to resia. */
.
.
This example divides the data in res1 by the data in res2. The result is stored in the resia variable.
Also see
None

Table of Contents

Other manuals for Keithley 4200A-SCS

Related product manuals