User`s guide
2-36 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 1
Driver Functions
hp4156b_setSweepSync
hp4156b_setSweepSync
This function specifies the synchronous sweep source channel for the staircase
sweep measurements, the pulsed sweep measurements and the staricase sweep with
pulsed bias measurements, and sets the parameters. Synchronous sweep source is
used for the staircase sweep.
For the staircase sweep measurements, the output synchronizes with the staircase
sweep output by the hp4156b_setIv function.
For the pulsed sweep measurements, the output synchronizes with the pulsed sweep
output by the hp4156b_setPiv function.
For the staircase sweep with pulsed bias measurements, the output synchronizes the
staircase sweep output by the hp4156b_setIv function and the pulse output by the
hp4156b_setPbias function.
Syntax ViStatus _VI_FUNC hp4156b_setSweepSync(ViSession vi, ViInt32 channel,
ViInt32 mode, ViReal64 range, ViReal64 start, ViReal64 stop, ViReal64 comp,
ViReal64 p_comp);
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 (current output, only for SMU) or
2 (voltage output).
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.
start Sweep start value. -1.0 to 1.0 A, or -200.0 to 200.0 V.
stop Sweep stop value. -1.0 to 1.0 A, or -200.0 to 200.0 V.
comp Compliance value. -200.0 V to 200.0 V for voltage compliance,
-1.0 to 1.0 A for current compliance.
p_comp Power compliance. 1.0 to 20.0.