![Signametrics SMX2040 Operator'S Manual Download Page 105](http://html1.mh-extra.com/html/signametrics/smx2040/smx2040_operators-manual_1268484105.webp)
Signametrics
104
Description
et the DMM reading rate.
Remarks
ning in the
uming CPU resources. In order to improve the
DMM’s measurement rate you may need to do one of the following. Stop or
lower the thre
rity
of the DMM.
Thread Priorities can be manipulated manually, or in a programming
anager, 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
. For in
etPriorityClass() and
adPrio
hread priority
S
#include "sm204032.h"
int DMMSetRate
(
int
nDmm, int nRate
)
This function sets the reading rate used by the DMM. The table of values is
defined by the RATE_ values in the header file. It is important to note that the
actual range may be effected by the speed of the CPU as well as other processes
run
background, cons
ad priority of competing processes, and/or raise the thread prio
environment. manually: In the Windows Task M
threads
SetThre
stance, in C/C++, the functions S
rity() can be used to manage the t
Parameter Type/Description
nDmm
e numbered starting with zero.
nRate
int
A pre-defined constant (RATE_*) corresponding to the desired
reading rate.
Return Value
The return value is one of the following constants.
Value
int
Identifies the DMM. DMMs ar
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
DMM_E_RATE
Invalid DMM reading rate.
Example
status = DMMSetRate(0, RATE_0P1); // Set to 0.1rps
DMMSetRelative
SMX2040
;
SMX2042
;
SMX2044
;
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com