User`s guide
2-62 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Driver Functions
agb1500_setSwitch
comp  Compliance value (in V or A). It must be voltage for the current 
sweep source, or current for the voltage sweep 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.
p_comp  Power compliance. 0.001 to 4.0 VA (for MPSMU), or 0.001 to 
20.0 VA (for HPSMU) in 0.001 VA resolution. If you enter the 
other value, the power compliance is not set.
agb1500_setSwitch
This function sets the output switch of the specified channel.
Syntax ViStatus _VI_FUNC agb1500_setSwitch(ViSession vi, ViInt32 channel, 
ViInt32 state); 
Parameters vi  Instrument handle returned from agb1500_init( ).
channel  Slot number of the slot that installs the SMU/MFCMU to be 
used. See Table 2-2. 
channel=0 specifies all modules.
channel=-1 detects the CMU slot automatically.
state  Output switch setting. 0 (off) or 1 (on).
agb1500_spotCmuMeas
This function executes the high speed spot C measurement, and returns the 
measurement data, measurement status, MFCMU monitor data, MFCMU monitor 
status, and time stamp data.
Before this function, execute the agb1500_setCmuFreq, 
agb1500_forceCmuAcLevel, and agb1500_forceCmuDcBias functions to set the 
oscillator and DC bias source.
Syntax ViStatus _VI_FUNC agb1500_spotCmuMeas(ViSession vi, ViInt32 channel, 
ViInt32 mode, ViReal64 range, ViReal64 value[], ViInt32 status[], 
ViReal64 monitor[],ViInt32 status_mon[], ViPReal64 time);
Parameters vi  Instrument handle returned from agb1500_init( ).










