49
Signametrics
DMMSetRelative
Description
Set the DMM relative reading mode for the present function.
#include "SMU2060.H"
int
DMMSetRelative(int
nDmm,
int
bRelative
)
Remarks
This function selects relative or absolute reading mode for the DMM. If the
bRelative
parameter value is TRUE (1), the DMM will change to relative reading mode. If
FALSE, the DMM will change to absolute reading mode.
Parameter
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
bRelative
int
TRUE (1) to enter relative mode, FALSE (0) to clear mode.
Return Value
The return value is one of the following constants.
Value
Meaning
DMM_OKAY
DMM mode changed successfully.
Negative Value
Error code
Example
status = DMMSetRelative(0, TRUE);
DMMTerminate
Description
Terminate DMM operation (DLL)
#include "SMU2060.H"
int DMMTerminate
(
int
nDmm
)
Remarks
Removes DMM number
nDmm
. This routine is used only where it is needed to terminate
one DMM and start a new one at the same
nDmm
location. Otherwise, it is not
recommended to use this function.
Parameter
Type/Description
nDmm
int
Identifies the DMM to be suspended.
Return Value
The return value is one of the following constants.
Value
Meaning
TRUE
DMM Terminated
FALSE
DMM was not initialized, termination is redundant.
Example
DMMTerminate(0); /* Terminate DMM # 0 */
5.7 Calibration Service Commands