Signametrics
104
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
Integer error code.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int status = DMMOpenterminalCal(0);
DMMOpenUSB
SMU2060
SMU2064
Description
Open the USB DMM for communications. Not for user application.
#include "SMU2060.h"
int
DMMOpenUSB
(
int
nDmm
)
Remarks
This function is provided for servicing the DMM. It has no use in normal DMM
operation since
DMMInit()
takes care of device opening. See also
DMMCloseUSB()
function.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
Return Value
Integer error code.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Example
int status = DMMOpenUSB(0);
DMMOutputSync
SMU2060
SMU2064
Description
Generate as Sync output pulse or level.
#include "SMU2060.h"
int
DMMOutputSync
(
int
nDmm
int
iMode,
double
dWide
)
Remarks
This function has three modes. It sets the Sync output line low (
iMode
=0), it can set it
high (
iMode
=1) or generate a pulse of
dWide
in width (
iMode
= 2). In modes 0 and 1 the
value of dWide is ignored. If iMode = 2 the polarity of the Sync pulse is determined by
its previously setting by the
DMMSetSync()
function. The pulse width (
dWide
) can be
set from 100us to 1.04s. In all three modes the Sync pulse gets set regardless if it was
enabled by
DMMSetSync()
. The sync can also be activated to synchronize
Содержание 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...