2-34 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hp4156b_setPguR
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.
hold Hold time (in seconds). 0.0 to 655.35 s. 0.01 s resolution.
comp Compliance value (in V or A). It must be voltage for the current
source, or current for the voltage source. Compliance polarity is
automatically set to the same polarity as the output value,
regardless of the specified comp polarity. The compliance
polarity is positive if the output value is 0.
For mode= 1, if base or peak is within 10 μA and not 0, comp
must be 2 V or less.
For mode= 2, the minimum comp value must be as shown in
Table 2-12.
Table 2-12 Minimum Compliance Value for Voltage Pulse Output
hp4156b_setPguR
This function sets the PGU output impedance.
Syntax ViStatus _VI_FUNC hp4156b_setPguR(ViSession vi, ViInt32 channel,
ViInt32 state);
Parameters vi Instrument handle returned from hp4156b_init( ).
channel Channel number of PGU. 27 (PGU1) or 28 (PGU2).
state Status. 0 (approx. 0 ohm low impedance) or 1 (50 ohm).
Voltage pulse
a
a. |Vp-p| is the voltage from the pulse base value to the pulse peak value.
comp (current compliance)
0 < |Vp-p| < 2 V |comp| > 2 nA
2 V < |Vp-p| < 20 V |comp| > |Vp-p|×1.111×10E−6 −2.22×10E−6
20 V < |Vp-p| |comp| > 20 μA