127
Signametrics
Value Meaning
DMM_OKAY
Operation successfully terminated
Negative Value
Error code.
Example
double
Buffer[120];
DMMSetBuffTrigRead(0, 4, 50, 0); // Negative edge, 4
//setteling readings, and 50 samples/trigger
while( ! DMMReady(0) );
// wait for completion
for(i=0; i < 50 ; i++)
// read buffer
j = DMMReadBuffer(0, &Buffer[i]);
DMMSetCapsAveSamp
SMU2060
SMU2064
Description
Tunes the capacitance measurement function parameters for higher measurement speed.
#include "SMU2060.h"
Int
DMMSetCapsAveSamp
(
int
nDmm,
int
iAverage,
int
iSamples
)
Remarks
This function should be used carefully since it modifies the capacitance function basic
measurement parameters; the averages value,
iAverage
, and the number of points
sampled,
iSamples
. This function is provided only for cases where it is necessary to
improve measurement speed. When using this function keep in mind that the accuracy
specification provided for capacitance is not guaranteed. Also, modifying these values
could have profound efect on the operation of the function. Any time a capacitance range
is change, these values are set to the default values. For instance, values of 1 and 3 for
iAverage
, and
iSamples
will reduce measurement time on the 12nF range from 0.8s to
about 50ms.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iAverage
int
The average value, must be set between 1 and 100.
iSamples
int
The number of samples must be set to at least 3.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Valid return.
Negative Value
Error code
Example
int status = DMMSetCapsAveSamp(0,1,3);
Содержание SMU2060
Страница 26: ...Signametrics 26 PXI Instrumentation Switching modules SMX4030 SMX4032 IVI COM driver...
Страница 81: ...81 Signametrics Postive Value 100 Warning code Example char cBuf 64 int status status DMMGetCalDate 0 cBuf...
Страница 106: ...Signametrics 106 Postive Value 100 Warning code Example char cBuf 64 int status status DMMPeriodStr 0 cBuf...