
2-34
Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
Driver Functions
hp4156b_setPiv
hp4156b_setPiv
This function specifies the pulsed sweep source channel for the pulsed sweep
measurements, and sets the parameters.
Syntax
ViStatus _VI_FUNC hp4156b_setPiv(ViSession vi, ViInt32 channel, ViInt32 mode,
ViReal64 range, ViReal64 base, ViReal64 start, ViReal64 stop, ViInt32 point,
ViReal64 hold, ViReal64 width, ViReal64 period, ViReal64 comp);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
channel
Channel number of the pulse sweep source.
1 to 6 (SMU1 to SMU6), 21 (VSU1), or 22 (VSU2).
mode
Output mode. 1 (single linear), 2 (single log), 3 (double linear),
or 4 (double log). Use positive value for voltage output, use
negative value for current output (only for SMU).
range
Output range. 0 (auto ranging) or positive value (limited auto
ranging). See below.
For current output:
1E-11 to 1.0 A, or 0.
For voltage output:
2.0 to 200.0 V, or 0.
base
Pulse sweep base value. -1.0 to 1.0 A, or -200.0 to 200.0 V.
start
Pulse sweep start value. -1.0 to 1.0A, or -200.0 to 200.0 V.
stop
Pulse sweep stop value. -1.0 to 1.0A, or -200.0 to 200.0 V.
point
Number of sweep steps. 1 to 1001.
hold
Hold time. 0.0 to 655.35 seconds.
width
Pulse width. 0.5E-3 to 100E-3 seconds.
period
Pulse period. 5E-3 to 1.0 seconds.
comp
Compliance value. -200.0 V to 200.0 V for voltage compliance,
-1.0 to 1.0 A for current compliance.