Signametrics
148
DMMTerminate
SMU2060
SMU2064
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 */
DMMTrigger
SMU2060
SMU2064
Description
Software Trigger the DMM. Take
iSamples
.
#include "SMU2060.h"
int DMMTrigger
(
int
nDmm,
int
iSamples
)
Remarks
Following reception of this function takes
iSamples
readings at the currently set function
and range, and stores them in an internal buffer at the currenly set Aperture and Read
Interval. No autoranging is allowed during this operation. Read Interval must be set
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.4ms to 160ms. It
can be set between 1 and 120 for Apertures in the range of 625us to 2.5us. The highest
Aperture allowed is 160ms. Between the times the
DMMTrigger
command is issued and
the 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
.