151
Signametrics
DMMWaitForTrigger
SMU2060
SMU2064
Description
Put the DMM in a wait state which gets relesed on trigger event.
#include "SMU2060.h"
int
DMMWaitForTrigger
(
int
nDmm
)
Remarks
Setup the DMM for external hardware trigger (Trigger input DIN7 connector).
Following reception of this command the DMM enters a wait state. It waits until the
selected trigger edge, previously defined by
DMMSetTrigPolarity() i
s detected. During
the wait, no other command except for
DMMReady()
or
DMMDisarmTrigger()
should
be issued. Prior to issuing this command the DMM may be set up for a composit
function such as Capacitance or any other measurement mode. Monitor readyness using
the
DMMReady()
command. While no trigger is received, it will return a FALSE (0). If
trigger event occured it will returne a TRUE (1). It is possible to terminate the wait for
trigger by issuing
DMMDisarmTrigger()
command. Also see
DMMArmTrigger()
,
DMMDisarmTrigger()
and
DMMSetTrigPolarity()
.
Positive Edge is imlied by a transition from 0V to a voltage over 3.5V at the Trigger
input line. Negative edge is implied by transition from a voltage over 3.5V to 0V.
Parameter Type/Description
nDmm
int
Identifies the DMM.
Return Value
The return value is one of the following constants.
Value Meaning
Negative Value
Error code
DMM_OKAY
Normal response
Postive Value
Warning code
Example
int status = DMMWaitForTrigger(0);
DMMWidthStr
SMU2060
SMU2064
Description
Return the indicated pulse width in string format.
#include "SMU2060.h"
int
DMMWidthStr
(
int
nDmm,
int
iPol,
LPSTR
lpszNeg
)
Remarks
This function is the string equivalent of
DMMReadWidth
. The measurement results are
stored at the location pointed to by
lpszWidth
. See
DMMReadWidth
for more details.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Содержание SMU2060
Страница 26: ...Signametrics 26 PXI Instrumentation Switching modules SMX4030 SMX4032 IVI COM driver...
Страница 81: ...81 Signametrics Postive Value 100 Warning code Example char cBuf 64 int status status DMMGetCalDate 0 cBuf...
Страница 106: ...Signametrics 106 Postive Value 100 Warning code Example char cBuf 64 int status status DMMPeriodStr 0 cBuf...