2-30
Agilent E5270 TIS User’s Guide, Edition 1
TIS Function Reference
measure_p
measure_p
This function performs a pulsed spot measurement according to conditions set by
the set_pbias function, and returns the measurement value.
Synopsis
int measure_p(port, mode, value, range)
int port, mode;
double *value,range;
Arguments
Item Range
Restrictions/Description
port
Specify measurement channel by using the port address or a pin
number that is assigned to the port by the connect_pin function.
Available
port
values are 1 to 49, SMU1 to SMU8, and values
shown in Table 2-2 on page 2-9.
If you specify 0, no measurement is executed and this function just
triggers to force the pulsed bias that is set by set_pbias statement.
mode
Specify whether to perform a voltage or current measurement.
Use one of the following macros (or values):
V_MEAS
(1)
Voltage measurement mode. The channel must
be a current source.
I_MEAS
(2)
Current measurement mode. The channel must
be a voltage source.
value
Specify a pointer to a double variable in which to return the
measurement result.
range
Specify the measurement range.
For voltage measurements [V]: See Table 2-4 on page 2-11.
-
100 to 100 for MPSMU or
-
200 to 200 for HPSMU
0.0 automatically sets
range
to the voltage compliance setting.
For current measurements [A]: See Table 2-3 on page 2-10.
-
0.2 to 0.2 for MPSMU or
-
1.0 to 1.0 for HPSMU
0.0 automatically sets
range
to the current compliance setting.