105
Signametrics
measurements with other instruments. The DMMOutputSync enhances this capability by
providing full control over is behavior.
High setting, implies the Open Collector Sync line is turned off.
Low setting high, implies the Open Collector Sync line is turned on.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iMode
int
Identifies the operation, be it setting high or low or generation a
pulse.
dWide
Doubl
e Sets the width of the pulse in mode 2. Can take a value from
100e-6 to 1.04. Ignored in modes 0 and 1.
Return Value
Integer error code.
Value Meaning
DMM_OKAY
Operation successfully completed.
Negative Value
Error code
Positive Value
Warning code
Example
int status = DMMOutputSync(0, 2, 10e-6); // Generate a 10ms pulse
DMMPeriodStr
SMU2060
SMU2064
Description
Return the next DMM period reading, formatted for printing.
#include "SMU2060.h"
int DMMPeriodStr
(
int
nDmm,
LPSTR
lpszReading
)
Remarks
This function makes a period measurement and returns the result as a string formatted for
printing. The print format is fixed to five digits plus units, e.g., 150.01 ms. See
DMMFrequencyStr()
for more details.
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
lpszReading
LPSTR
Points to a buffer (at least 64 characters long) to hold the
converted result. The return value will consist of a leading sign, a
floating-point value in exponential notation, and a units specifier.
Return Value
The return value is one of the following constants.
Value Meaning
Negative Value
Error code
Positive Value < 100
The length of the returned string
Содержание 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...