2-36 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Driver Functions
agb1500_msweepMiv
agb1500_msweepMiv
This function performs a multi channel sweep measurement using up to ten
measurement channels at a time, and returns the number of measurement steps,
sweep source data, measurement data, measurement status, and time stamp data.
Before this function, execute the agb1500_setIv function to set the primary sweep
source and execute the agb1500_setNthSweep function to set an synchronous sweep
source. Up to nine synchronous sweep sources can be set by using the
agb1500_setNthSweep function for each channel.
Syntax ViStatus _VI_FUNC agb1500_msweepMiv(ViSession vi, ViInt32 channel[ ],
ViInt32 mode[ ], ViReal64 range[ ], ViPInt32 point, ViReal64 source[ ] ,
ViReal64 value[ ], ViInt32 status[ ], ViPReal64 time[ ] );
Parameters vi Instrument handle returned from agb1500_init( ).
channel[ ] Slot number of the slot that installs the SMU to be used. See
Table 2-2.
Enter 0 to the last element of channel[ ]. For example, if you use
two channels, set the array size to 3, specify the channels to the
first and second elements, and enter 0 to the third element.
mode[ ] Measurement mode. 1 (current) or 2 (voltage).
range[ ] Measurement ranging mode. 0 (auto), positive value (limited
auto), or negative value (fixed range). For the available values,
see Table 2-3.
point Number of measurement steps. Returned data.
source[ ] Sweep source setup data. Returned data. To disable the source
data output, set 0 (NULL pointer) instead of array.
value[ ] Measurement data. Returned data.
status[ ] Measurement status. Returned data. See “Status Code” on page
2-14. To disable the status data output, set 0 (NULL pointer)
instead of array.
time[ ] Time stamp data (measurement start time). Returned data. To
disable the time stamp data output, set 0 (NULL pointer)
instead of array.