User`s guide
2-48 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Driver Functions
agb1500_setCmuAdjustMode
agb1500_setCmuAdjustMode
This function selects the phase compensation mode of the MFCMU. After this 
function, the MFCMU is initialized.
Syntax ViStatus _VI_FUNC agb1500_setCmuAdjustMode(ViSession vi, ViInt32 channel, 
ViInt32 mode);
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  0: Auto mode. The B1500 sets the compensation data 
automatically.
1: Manual mode. Execute the agb1500_execCmuAdjust 
function to perform the phase compensation and set the 
compensation data.
agb1500_setCmuFreq
This function sets the frequency of the AC voltage forced by the MFCMU. The AC 
voltage output will be triggered by the agb1500_forceCmuAcLevel.
Syntax ViStatus _VI_FUNC agb1500_setCmuFreq(ViSession vi, ViInt32 channel, 
ViReal64 value);
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.
value  Frequency (in Hz). Numeric expression.
1000 (1 kHz, initial setting) to 5000000 (5 MHz)
Setting resolution: 1 mHz (1 kHz to), 10 mHz (10 kHz to), 
0.1 Hz (100 kHz to), or 1 Hz (1 MHz to 5 MHz).
agb1500_setCmuInteg
This function sets the number of averaging samples or the averaging time set to the 
A/D converter of the MFCMU.










