149
Signametrics
Parameter Type/Description
nDmm
int
Identifies the DMM. DMMs are numbered starting with zero.
iSamples
int
The number of samples the DMM takes following a trigger pulse.
This number must be between 1 and 80 or 1 and 120. See above.
Return Value
The return value is one of the following constants.
Value Meaning
DMM_OKAY
Operation successfully terminated.
DMM_E_INIT
DMM is uninitialized. Must be initialize prior to using any function.
DMM_TRIG_N
Measurement count is out of allowed range.
DMM_E_DMM
Invalid DMM number.
Example
double
Buffer[60];
int
state;
DMMTrigger(0,60);
while( ! DMMReady(0));
for(i=0; i < 60 ; i++)
state = DMMReadBuffer(0, &Buffer[i]);
DMMTriggerBurst
SMU2060
SMU2064
Description
Hardware multi sample trigger operation.
#include "SMU2060.h"
int DMMTriggerBurst
(
int
nDmm,
int
iSamples, int iEvents, int iEdge
)
Remarks
Setup for external hardware trigger operation. Following reception of this
command the DMM enters a wait state. In response to the detection of the
selected
iEdge
polarity on its external trigger, the DMM makes
iSamples
readings and sends them back. It does it at the currently set measurement
function, range, Aperture and Read Interval. This process is repeated for
iEvents
times. Therefore a total of
iEvents
Trigger pulses must be received, and iEvents *
iSample measurements should be read to complete this process. This function is
useful in conjunction with triggering instruments such as the SM4042 or
SMX4032 relay scanner. No auto ranging is allowed in this mode. U
ntil all
measurements are read back, it is necessary to keep up with the DMM and read all
measurements as fast as they become available. Failing to do so will result in
communication overrun.
The DMM has a small FIFO to reduce the likelihood of an
overrun. This function is usable for VDC, VAC, Ohms, IAC, IDC and RTD
measurements. Use the
DMMReadMeasurement
to monitor for data
availability, and to read this data
Содержание 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...