Signametrics
86
DMMGetSourceFreq(0, &f);
DMMGetTCTy
n
clude
"SM206032.h"
clude "DMM
int
DMMGetTC
pe currently selected.
eter
Example
double f; int status =
pe
SM2060
;
SM2064
;
Descriptio
Get the themocouple type currently selected.
#in
#in
User.h"
Type
(
int nDmm
)
Remarks
This function returns the Themocouple ty
Param
Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
DMM type Integer or an error code.
Value
Meaning
Btype to TType
Type of thermocuple as specified in DMMUser.h file
alue
Error code
Example
int TCtype = DMMGetTCType(0);
DMMGetTriggerInfo
SM2060
;
SM2064
;
gger operation.
int
DMMGetTriggerInfo
nt * iNullCount, int * iPreTrig, int *iBufCycles)
Remarks
This function retu
instance, if the tr
d,
the buffer does have a chance to fill. That is the total number of pre trigger samples plus
post trigger samples is less than the size of the buffer. The
iNullCount
is the number of
ples at the begining of the buffer. These empty samples should be
ng the buffer by reading and discarding
iNullCount
samples. The
iPreTrig
va
umber of valid samples taken prior to the trigger event. If the
circular bu
least once, or “wraps”, the value of
iBufCycles
will be greater than
ples is equat to the size of the buffer.
oun
ollowing the issue of the command may
be calculated using the following relation:
* 120) +
iPreTrig
)
DMMArmTrigger
,
DMMGetTriggerInfo
,
uffer
,
DMMReadBufferStr
,
DMMSetReadInterval
,
MMSetSync
,
DMMSetTrigPolarity
,
DMMDisarmTrigger
.
Parame
Negative V
Description
Get Capture Infromation following Tri
#include "SMX2060.h"
(
int nDmm i
rns various parameters associated with previous trigger operation. For
igger event occurred soon after DMMArmTrigger command is issue
these “empty” sam
ignored when readi
lue is the n
ffer fills at
0. Than the sum
The am
of
iPreTrig
and
iPostTrig
sam
t of time the trigger event occurred f
tTriggDelay =
iReadInterval
* ( (
iBufCycles
Other related functions include;
DMMReadB
D
ter
Type/Description
nDmm
e DMM. DMMs are numbered starting with zero.
int
Identifies th