125
Signametrics
DMMSetAperture
SMU2060
SMU2064
Description
Set the measurement Aperture.
#include "SMU2060.h"
#include "USBDMMUser.h"
int DMMSetAperture
(
int
nDmm,
int
iAperture
)
Remarks
This function sets the measurement Aperture. This is the the integration time of the A/D
or the timer during which the A/D makes a measurement. The allowed values are defined
in the USBDMMUser.h file. Depending on DMM model and mode of operation, the
highest Aperture can be set as high as 5.066s (APR_5p066s) and the lowest 2.5µs
(APR_2p5us). See sections
2.11 and 4.4
for details. See also DMMSetPLC() function.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iAperture
int
A pre-defined constant corresponding to the desired integration
time.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
ERR_APERTURE
Invalid aperture value.
Example
status = DMMSetAperture(0, APR_16p67ms); // Set to 16.66ms
DMMSetAutoRange
SMU2060
SMU2064
Description
Enable/Disable autorange operation of DMM
#include "SMU2060.h"
int
DMMSetAutoRange
(
int
nDmm,
int
bAuto
)
Remarks
This function enables or disables autorange operation of the DMM.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
bAuto
int
Determines whether or not autoranging is done. The value TRUE
(1) enables autoranging, FALSE (0) disables it.