User`s guide
Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3 2-57
Driver Functions
agb1500_setSample
period  Pulse period (in seconds). 0.005 to 5.0 s. 0.1 ms resolution.
• period ≥ width +2 msec (for width ≤ 100 ms)
• period ≥ width +10 msec (for width > 100 ms)
If you set period=0, the B1500 automatically sets the pulse 
period to 5 msec (for width ≤ 3 ms), width +2 msec (for 3 ms < 
width ≤ 100 ms), or width +10 msec (for width > 100 ms).
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.
agb1500_setSample
This function sets the timing parameters of the sampling measurement.
To set the synchronous constant voltage/current source for the sampling 
measurement, execute the agb1500_addSampleSyncIv function. To set the linear or 
logarithmic sampling mode, execute the agb1500_setSampleMode function. To set 
the automatic measurement abort function and the post measurement output value, 
execute the agb1500_stopMode function. To define the measurement channels and 
start the measurement, execute the agb1500_sampleIv function.
Syntax ViStatus _VI_FUNC agb1500_setSample(ViSession vi, ViReal64 bias_hold, 
ViReal64 base_hold, ViReal64 interval, ViInt32 point);
Parameters vi  Instrument handle returned from agb1500_init( ).
bias_hold  Time since the bias value output until the first sampling point. 
Numeric expression. in seconds. 0 (initial setting) to 655.35 s, 
resolution 0.01 s.
The following values are also available for interval < 0.002 s. 
|bias_hold| will be the time since the sampling start until the 
bias value output.
-0.09 to -0.0001 s, resolution 0.0001 s.
base_hold  Hold time of the base value output until the bias value output. 
Numeric expression. in seconds. 0 (initial setting) to 655.35 s, 
resolution 0.01 s.










