Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-35
Driver Function Reference
hp4156b_setPiv
hp4156b_setPiv
This function specifies pulsed sweep source and sets the parameters. The pulsed
sweep source is used for the pulsed sweep measurements.
Filter of the pulse source must be set to off by using the hp4156b_setFilter function.
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);
NOTE range, base, start, stop, comp parameters
Available values depend on the unit. See “Parameters” on page 2-6.
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, 2, 3, 4, -1, -2, -3, or -4. For the current mode or
log sweep mode, base, start, and stop must be the same polarity.
1: Voltage-Single-Linear sweep
2: Voltage-Single-Log sweep
3: Voltage-Double-Linear sweep
4: Voltage-Double-Log sweep
-1: Current-Single-Linear sweep (only for SMU)
-2: Current-Single-Log sweep (only for SMU)
-3: Current-Double-Linear sweep (only for SMU)
-4: Current-Double-Log sweep (only for SMU)
range Output ranging mode. 0 (auto) or positive value (limited auto).
base Pulse sweep base value (in A or V).
start Pulse sweep start value (in A or V).
stop Pulse sweep stop value (in A or V).
point Number of sweep steps. 1 to 1001.
hold Hold time (in seconds). 0.0 to 655.35 s. 0.01 s resolution.
width Pulse width (in seconds). 0.5 ms to 0.1 s. 0.1 ms resolution.
period Pulse period (in seconds). 5 ms to 1.0 s. 0.1 ms resolution. The
value must be width + 4 ms or more.