User`s guide
Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3 2-49
Driver Functions
agb1500_setCv
Syntax ViStatus _VI_FUNC agb1500_setCmuInteg(ViSession vi, ViInt32 mode, 
ViInt32 value);
Parameters vi  Instrument handle returned from agb1500_init( ).
mode  Integration/averaging mode. 0 (auto) or 2 (PLC).
value  Coefficient for a reference value to set the integration time or 
number of averaging samples. 1 to 1023 for auto mode, or 1 to 
100 for PLC mode.
The reference value depends on the mode settings:
• For auto mode:
The reference value is the number of averaging samples that 
is automatically set by the B1500. You cannot change it.
• For PLC mode:
The reference value is the averaging time (1/power line 
frequency).
agb1500_setCv
This function specifies staircase sweep voltage source and sets the parameters. The 
sweep source is used for the CV sweep measurement.
Syntax ViStatus _VI_FUNC agb1500_setCv(ViSession vi, ViInt32 channel, ViInt32 mode, 
ViReal64 start, ViReal64 stop, ViInt32 point, ViReal64 hold, ViReal64 delay, 
ViReal64 s_delay);
Parameters vi  Instrument handle returned from agb1500_init( ).
channel  Slot number of the slot that installs the MFCMU to be used. See 
Table 2-2. channel=-1 detects the slot automatically.
mode  Source output mode. 1, 2, 3, or 4. For the log sweep mode, start 
and stop must be the same polarity.
1: Single-Linear sweep
2: Single-Log sweep
3: Double-Linear sweep
4: Double-Log sweep
start, stop  Start or stop voltage (in V). Numeric expression. start and stop 
must have the same polarity for log sweep.
0 (initial setting) to ±100 V










