2-32 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hp4156b_setIv
hp4156b_setIv
This function specifies staircase sweep source and sets the parameters. The sweep
source is used for the staircase sweep measurements and the staircase sweep with
pulsed bias measurements.
For the staircase sweep with pulsed bias measurements, the sweep output
synchronizes with the pulse output by the hp4156b_setPbias function.
Syntax ViStatus _VI_FUNC hp4156b_setIv(ViSession vi, ViInt32 channel, ViInt32 mode,
ViReal64 range, ViReal64 start, ViReal64 stop, ViInt32 point, ViReal64 hold,
ViReal64 delay, ViReal64 s_delay, ViReal64 comp, ViReal64 p_comp);
NOTE range, 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 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 log sweep
mode, 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).
start Sweep start value (in A or V).
stop Sweep stop value (in A or V).
point Number of sweep steps. 1 to 1001.
hold Hold time. 0 to 655.35 seconds, in 0.01 seconds resolution.
delay Delay time. 0 to 65.535 seconds, in 0.0001 seconds resolution.
s_delay Step delay time. 0 to 1.0 seconds, in 0.0001 seconds resolution.