93
Signametrics
DMMGetNumDevices
SMU2060
SMU2064
Description
Get the number of USB DMM devices connected to the USB structure.
#include "SMU2060.h"
int DMMGetNumDevices(int *
nDevices
)
Remarks
This function retrieves the number of USB DMM devices connected to the USB bus. The
number of devices is saved at a location pointed to by
nDevices
. This function must be
used prior to opening the DMM. That is, prior to initialized or opening it by
DMMInit()
or
DMMOpenUSB()
. See also
DMMGetDevLocation()
.
Parameter Type/Description
nDevices
* int
Points to a location at which the number of devices is saved.
Return Value
Integer string length if successful, or an error code.
Value Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Postive Value
≥
100
Warning code
Example
int I; int number;
I = DMMGetNumDevices(& number);
DMMGetRange
SMU2060
SMU2064
Description
Get DMM range code.
#include "SMU2060.h"
#include "USBDMMUser.h"
int DMMGetRange
(
int
nDmm
)
Remarks
This function returns the DMM range code. The range codes are in the sequence of 0, 1,
2, 3, … where 0 is the lowest range.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting
with zero.
Return Value
Integer value corresponding to the currently set DMM range, or an error code.
Value Meaning
Содержание 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...