We are measuring capacitors from 2n2F to 330nF with the PXI-4072 DMM using Visual Basic .NET. The application is running without problems but we have to improve the measuring time, because of the 2.5 seconds to measure 15 capacitors (14 of 10nF and 1 of 220nF). We have improve a lot configuring the measurement range once but it is necessary to reduce it.
Wich is the best way to configure the NI 4072 DMM? Where we can find software examples?
We don't need accuracy because we have an In-Circuit Tester to measure the value with accuracy.
Wich are the best parameters RANGE and RESOLUTION to achieve a faster measurement?
And what about: NiDMMConstantsWrapper.NiDMM_VAL_TIME_LIMIT_AUTO???
This is the general function we are using:
Public Function MeasureCapacitance(ByVal range As Double, ByVal resolution As Double, ByVal configure As Boolean, ByRef measurement As Double) As Boolean
Dim valRet As Boolean
valRet =
False
Try
measurement = -1
If (configure) Then
_dmm.ConfigureMeasurement(NiDMMConstantsWrapper.NiDMM_VAL_CAPACITANCE, range, resolution)
End If
_dmm.Read(NiDMMConstantsWrapper.NiDMM_VAL_TIME_LIMIT_AUTO, measurement)
valRet =
True
Catch ex As Exception
measurement = -1
valRet =
False
End Try
Return valRet
End Function
Thanks for your support.
C.Rubio