Operator`s manual

Signametrics 118
both is 0, which disconnects both the input and output PXI trigger connections to the
DMM. Se
escription
e section 4.18 for more details.
Type/D
nDmm
M. D
iTrigIn
efault,
ects all trigger inputs from the PXI bus.
Selects the PXI Trigger line to which the DMM DMM Trigger
out is connected. Value 0 to 7. 0 – default, disconncets the DMM
Return Value
int Identifies the DM MMs are numbered starting with zero.
int Selects the PXI Trigger input source. Value 0 to 7. 0 – d
desel
int
iTrigOut
Trigger oput from the PXI trigger bus.
Integer error code.
Value Meaning
DMM_
Negativ
Example
DMMSetRang
SM2060 ; SM2064
Description Set the DMM ran
#include "SM206032.h"
int DMMSetRange(int nDmm, int nRange)
Remarks This function sets the range used by the DMM for the present function. The table of
values is define , the lowest range is 0, next is 1
etc. Each function has a pre defined number of ranges as specified in the specification
ual. Not all ranges are available for all DMM types. For instance the
SM2064 has a 24 Ohms and 240Meg range, while the SM2060 does not.
Parameter
OKAY
Operation successfully completed.
e Value
Error code
DMMSetPXITrigger(0, 1, 0);
e
;
ge for the present function.
d by the _330mV, _3mA, etc. In general
section of this man
Type/Description
nDmm
int Identifies the DMM. DMMs are numbered starting with zero.
nRange
int A pre-defined constant corresponding to the desired range.
turn Value The return value is one of the following constants.
Value
Re
Meaning
DMM_OKAY
DMM initialized successfully.
Negative Value
Error code
Invalid DMM range value.
DMM_E_RANGE
Example status = DMMSetRange(0, _330mA);