Operator`s manual
129 Signametrics
scription Terminate DMM operation (DLL)
int DMMTerminate(int nDmm)
Remarks Removes DMM number nDmm. This routine is used only where it is needed to terminate
e nDmm location. Otherwise, it is not
commended to use this function.
Parame
De
#include "SM206032.h"
one DMM and start a new one at the sam
re
ter
Type/Description
nDmm
int Identifies the DMM to b
e suspended.
lue
Value
Return Va The return value is one of the following constants.
Meaning
TRUE
DMM Terminated
ination is redundant.
Example DMMTerminate(0); /* Terminate DMM # 0 */
DMMTrigger
SM2060 ; SM2064 ;
Description Software Trigger the DMM. Take iSamples.
#include "SM206032.h"
int DMMTrigger int iSamples)
Remarks iSamples readings at the currently set function
e, and n an internal buffer at the currenly set Aperture and Read
lowed during this operation. Read Interval must be set
4ms to 160ms. It
set between 1 and 120 for Apertures in the range of 625us to 2.5us. The highest
lowed is 160ms. Between the times the DMMTrigger command is issued and
he time the buffer is read, no other command should be sent to the DMM, with the
exception of DMMReady function, which monitors the completion of the capture
process. When DMMReady returns TRUE, the buffer can be read one reading at a time
using DMMReadBuffer. The value of the Aperture is set using the DMMSetAperture
function, and that of the Read Interval is set using the DMMSetReadInteval.
Parame
FALSE
DMM was not initialized, term
(int nDmm,
Following reception of this function takes
and rang
stores them i
Interval. No autoranging is al
between 0 (default) and 65ms. Aperture must be set between 160ms and 2.5us. The
value of iSamples should be between 1 and 80 for an Aperture of 1.
can be
Aperture al
t
ter Type/Description
nDmm
iSamples
Return Value the following constants.
Value
int Identifies the DMM. DMMs are numbered starting with zero.
int The number of samples the DMM takes following a trigger pulse.
This number must be between 1 and 80 or 1 and 120. See above.
The return value is one of
Meaning
DMM_OKAY
Operation successfully terminated.