155
Signametrics
Parameter Type/Description
iDmm
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
The return value is one of the following constants.
Value Meaning
lpdGain
double
the gain.
DMM_OKAY
Valid return.
Negative Value
Error code
Example
SetGain(0, 1.00023); // set gain
GetGain
SMU2060
SMU2064
Description
Retrieve currently set gain.
#include "SMU2060.h"
#include "USBDMMUser.h"
int
GetGain(int
nDmm,
doulbe *
lpdGain
)
Remarks
This function returns the currently set gain,. This is the gain associated with the currently
selected function and range. The value should be the same as that set in the calibration
record for this function and range. The gain is returned as a 64-bit double-precision
floating-point number in the location pointed to by
lpdGaint
. This function is useful
while performaing calibration. Set
SetGain()
function for additional details.
Parameter Type/Description
iDmm
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
The return value is one of the following constants.
Value Meaning
lpdGain
double *
Points to the location to hold the gain.
DMM_OKAY
Valid return.
Negative Value
Error code
Example
double
gain;
GetGain(0, &gain); // read gain
GetOffset
SMU2060
SMU2064
Содержание 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...