Operator`s manual
103 Signametrics
Parameter Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
nRange
int A pre-defined constant corresponding to the desired range.
Return Value
Value
The return value is one of the following constants.
Meaning
DMM_OKAY
ccessfully.
e Value
NGE
tRange(0, _330mA);
DMMSetRate
SM2040 ; SM 4 ;
escription M r the present function.
include "sm204032.h"
int DMMSetRate(int nDmm, int nRate)
Remarks his function sets the reading rate used by the DMM. The table of values is defined by
eader file. It is important to note that the actual range may be
PU as well as other processes running in the background,
consuming CPU resources. In order to improve the DMM’s measurement rate you may
priority of competing
processes, and/or raise the thread priority of the DMM
nce, in C/C++, the functions SetPriorityClass() and
ThreadPrio to manage the thread priority
DMM initialized su
Negativ
Error code
DMM_E_RA
Invalid DMM range value.
Example status = DMMSe
2042 ; SM204
D Set the D M range fo
#include "sm204032.h"
#
T
the RATE_ values in the h
effected by the speed of the C
need to do one of the following. Stop or lower the thread
Thread Priorities can be manipulated manually, or in a programming
environment. manually: In the Windows Task Manager, select the "Processes"
tab, then right click on the process and select "Set Priority". In a programming
envirmonment: Windows provides an API for managing the priority of different
threads. For insta
Set rity() can be used