advertisement
DM MBur stBuffRead(0, 4, 50); // 4 settling readings for each
// measurement, and take 50 readings wh ile( ! DMMReady(0) ); o 50 ; i++)
// wait for completion
// read 64 readings from DMM’s
// on-board b uffer
Buffer[i] = DMMReadBuffer(0);
DMMBurstRead
SMX2040 ; SMX2042 ; SMX2044 ;
Description Setup the DMM for multiple read ings operation, sending back measurements as they come.
#inc lude "sm2 04032.h"
#inc lude "User DMM.h"
Remarks Set the DMM to take multiple measurements, sendi ng readings back to the computer.
This function is similar to th e DMMSetTrigRead function, with the exception that it does not wait for a hardware trigger to start making measurements. Following reception of this c omman d the DMM enters a burst read mode, where it takes iSettle + 1 readings at the se t measu rement functio n, range, and reading rate; and sends the last reading to the computer. This process repeats for iSamples. Following the issue of this command, and until iSa mpels measur ements are read, it is necessary to read the samples from the DMM using the DMMReadMeasurement command as fast as they become available . This will prevent an Overrun communication error, which is an indication that the ra te at which measurements are read from the bus do not keep up with the DMM transmission.
The DMM has five readings FIFO to lessen this problem. No autoranging is allowed in this mode. This function is usable for VDC, VAC, Ohms, IAC, IDC, and RTD measurements. Measur ement rate should be set to 10rps or higher. The total time it takes to com plete this process is equal to iSamples * ( iSettle + 1) / (measurement rate).
Use the DMMRead Measurement to monitor when reading becomes available, and to read the data. Read as many samples as iSamples to guarantee proper conclusion of this capture process.
Parame ter Type/Description nDmm int Identifies the DMM. DMMs are numbered st arting with zero. iSettle int The number of settling measurements prior to read value. Must be set between 0 and 250. Recommended value is 4.
Return Value iSamples int The number of samples the DMM takes following the sam e number of trigger pulses. This number must be between 1 and 32,000, inclusive.
The return valu e is one of the following constants.
Value Meaning
DMM_OKAY Operation successfully terminated
Negative Value Error code.
Reading [250];
DMMBurstRead(0, 10, 250); // settle 10 reads., 250 samples for(i=0; i < 250 ; i++) // read 250 meas. as they come
Signametrics 54
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
advertisement
Related manuals
advertisement
Table of contents
- 8 1.0 INTRODUCTION
- 10 2.0 SPECIFICATIONS
- 10 2.3.1 AC Voltage True RMS Measurement
- 11 2.3.2 AC Peak-to-Peak Measurement (SMX2044)
- 11 2.3.3 AC Crest Factor Measurement (SMX2044)
- 12 2.3.4 AC Median Value Measurement (SMX2044)
- 13 2.5.1 2-wire and 4-wire
- 13 2.5.2 6-wire Guarded Resistance Measurement (SMX2044)
- 13 (SMX2044)
- 14 2.8.1 Diode Characterization
- 14 2.8.2 Capacitance Measurement (SMX2042, 44)
- 14 2.8.3 Inductance Measurement (SMX2044)
- 14 2.8.4 In Circuit AC-Based Capacitance Measurements (SM2044)
- 15 2.9.1 Threshold DAC
- 15 2.9.2 Frequency and Period Measurement
- 15 2.9.3 Duty Cycle Measurement
- 15 2.9.4 Pulse Width
- 16 2.9.5 Totalizer
- 16 2.10.1 External Hardware Trigger (at DIN-7 connector)
- 16 2.10.2 PXI Bus Hardware Trigger Inputs (at PXI J2)
- 16 2.10.3 PXI Bus Hardware Trigger Output (to PXI J2)
- 16 2.10.4 Analog Threshold Trigger
- 17 (SMX2044)
- 17 2.11.1 DC Voltage Source
- 17 2.11.2 AC Voltage Source
- 17 2.11.3 DC Current Source
- 20 3.0 GETTING STARTED
- 25 4.0 DMM OPERATIONS AND MEASUREMENTS
- 25 4.1.1 DC Voltage Measurements
- 26 4.1.2 True RMS AC Voltage Measurements
- 26 4.1.3 AC Peak-to-Peak and Crest Factor Measurement (SMX2044)
- 27 4.1.4 AC Median Value Measurement (SMX2044)
- 27 4.2.1 Improving Current Measurements
- 28 4.2.2 Low Level DC Current Measurements
- 28 4.2.3 Extended DC Current Measurements (SM2044)
- 28 4.3.1 2-wire Ohm Measurements
- 28 4.3.2 4-wire Ohm Measurements
- 29 4.3.3 Using Offset Ohms function
- 29 4.3.4 6-wire Guarded Resistance Measurement (SMX2044)
- 30 4.3.5 Leakage Measurements (SMX2044)
- 31 4.3.6 Extended Resistance Measurements (SMX2044)
- 32 4.3.7 Effects of Thermo-Voltaic Offset
- 33 4.3.8 Guarding High Value Resistance Measurements (SMX2044)
- 33 (SMX2044)
- 35 4.11.1 External Hardware Trigger
- 36 4.11.2 Analog Threshold Trigger
- 36 4.11.3 Software Issued Triggered Operations
- 36 4.11.4 Using the PXI bus Trigger Facilities
- 37 4.12.1 Threshold DAC
- 38 4.12.2 Frequency and Period Measurements
- 39 4.12.3 Duty Cycle Measurement
- 39 4.12.4 Pulse Width
- 39 4.12.5 Totalizer Event Counter
- 40 (SMX2044)
- 40 4.13.1 DC Voltage Source
- 41 4.13.2 AC Voltage Source
- 41 4.13.3 DC Current Source
- 41 4.13.4 Source Current - Measure Voltage
- 42 (SMX2044)
- 43 4.15.1 Triggering the SMX2040 DMMs
- 44 4.15.2 Multiplexing with the SMX2040 DMMs
- 44 4.15.3 Interface Commands and Timing
- 47 5.1.1 The SM40CAL.DAT file
- 48 Multiple Card Operations Under Windows
- 50 5.3.1 Visual Basic Simple Application
- 52 DMMArmAnalogTrigger
- 53 DMMArmTrigger
- 54 DMMBurstBuffRead
- 55 DMMBurstRead
- 56 DMMCalibrate
- 56 DMMCleanRelay
- 57 DMMClearMinMax
- 57 DMMClosePCI
- 58 DMMDelay
- 58 DMMDisableTrimDAC
- 59 DMMDisArmTrigger
- 59 DMMDutyCycleStr
- 60 DMMErrString
- 60 DMMFrequencyStr
- 62 DMMGetACCapsR
- 62 DMMGetBusInfo
- 63 DMMGetCalDate
- 63 DMMGetdB
- 64 DMMGetdBStr
- 64 DMMGetCJTemp
- 65 DMMGetDeviation
- 66 DMMGetDeviatStr
- 66 DMMGetFuncRange
- 67 DMMGetFunction
- 67 DMMGetGrdVer
- 68 DMMGetHwVer
- 68 DMMGetID
- 69 DMMGetManDate
- 69 DMMGetMax
- 70 DMMGetMaxStr
- 70 DMMGetMin
- 71 DMMGetMinStr
- 71 DMMGetRange
- 72 DMMGetRate
- 72 DMMGetSourceFreq
- 73 DMMGetTCType
- 73 DMMGetType
- 74 DMMGetVer
- 74 DMMInit
- 75 DMMIsAutoRange
- 76 DMMIsInitialized
- 76 DMMIsRelative
- 77 DMMLoadCalFile
- 78 DMMOpenPCI
- 78 DMMOpenCalACCaps
- 79 DMMOpenTerminalCal
- 79 DMMPeriodStr
- 81 DMMPolledRead
- 81 DMMPolledReadCmd
- 82 DMMPolledReadStr
- 82 DMMRead
- 83 DMMReadBuffer
- 84 DMMReadBufferStr
- 84 DMMReadCJTemp
- 85 DMMReadCrestFactor
- 86 DMMReadDutyCycle
- 86 DMMReadFrequency
- 87 DMMReadFrequencyStr
- 88 DMMReadInductorQ
- 88 DMMReadMeasurement
- 89 DMMReadMedian
- 89 DMMReadNorm
- 90 DMMReadPeakToPeak
- 90 DMMReadPeriod
- 91 DMMReadStr
- 92 DMMReadTotalizer
- 93 DMMReadWidth
- 93 DMMReady
- 94 DMMSetACCapsDelay
- 94 DMMSetACCapsLevel
- 95 DMMSetACVSource
- 96 DMMSetAutoRange
- 96 DMMSetBuffTrigRead
- 97 DMMSetCapsAveSamp
- 98 DMMSetCJTemp
- 99 DMMSetCompThreshold
- 99 DMMSetCounterRng
- 100 DMMSetDCISource
- 100 DMMSetDCVSource
- 101 DMMSetExternalShunt
- 102 DMMSetFuncRange
- 102 DMMSetFunction
- 103 DMMSetInductFreq
- 103 DMMSetOffsetOhms
- 104 DMMSetRange
- 104 DMMSetRate
- 105 DMMSetRelative
- 107 DMMSetResistance
- 107 DMMSetRTD
- 108 DMMSetSensoreParams
- 108 DMMSetSourceMode
- 109 DMMSetSynchronized
- 110 DMMSetTCType
- 110 DMMSetTempUnits
- 111 DMMSetTrigRead
- 112 DMMSetTrimDAC
- 112 DMMStartTotalizer
- 114 DMMStopTotalizer
- 114 DMMTerminate
- 115 DMMTrigger
- 115 DMMWidthStr
- 116 SetACCapsFreq
- 117 6.0 MAINTENANCE
- 126 7.0 WARRANTY AND SERVICE
- 126 8.0 ACCESSORIES