Sei sulla pagina 1di 1

Determina los valores

esperados según la
configuración actual

getExpectedValues()

Si la configuración cambió,
recarga el contador de
cambios para
configuration_changed
evitar una verificación de
funcionamiento en un estado
incierto.

True

Decrementa el contador False changeCounter = NON_CHECK_DELAY_N

Si el contador llegó a cero,
se puede realizar la
changeCounter>0
verificación de
funcionamiento.

False True

currentVcampbell = vCampbell changeCounter--

Check the Test line to see
currentVtestAdc = vTestAdc
if the output is ON

The module and the output is
ON
**Check for
ADC errors *** ((currentNimBits & TEST_MSK) == TEST_MODE) || (nimOn != NIM_OFF)
The max and min are
referenced to
REF_TEST_ADC_VALUE

True

minExpected = (1.0 - (float)VTEST_ADC_TOL)( (float) REF_TEST_ADC_VALUE )

check if the vFeed value is
between the minExpected and maxExpected = (1.0 + (float)VTEST_ADC_TOL)( (float) REF_TEST_ADC_VALUE )
the maxExpected

(float)currentVtestAdc < minExpected

True

detectedErrors |= ERR_DISC_ADC False

(float)currentVtestAdc > maxExpected

True

*END  Check
for ADC errors ** False
**Check for detectedErrors |= ERR_DISC_ADC
Local Rate selection error *

localRate == RATE_ERROR

True

*END Check
for Local Rate selection
error *** detectedErrors |= ERR_LOC_RATE False
**Check for Local
Output selection error *

currentLocalOutput == DEC_ERROR

True

***END Check
for Local Output selection
error *** detectedErrors |= ERR_LOC_OUT False
**Check for
Output errors ***

Pulses Mode output
isOutputInPulsesMode()
verification

True

When the module is
performing a Sweep
The max and min value are:
The max and min are
currentSweepState == SWEEP_OFF 1000Hz 10Hz or    100000Hz
referenced to freqExpected
1000Hz
freqExpected stores the
value of the first decade

True False

constantErrorWindow = ((float)freqExpected < (float)FREQ_MIN_RANGE)? (float) FREQ_CONSTANT_ERROR: (float) 0.0 minExpected = (1.0 - (float)FREQ_TOL)( (float) freqExpected)

minExpected = (1.0 - (float)FREQ_TOL)( (float) freqExpected) - constantErrorWindow maxExpected = (1.0 + (float)FREQ_TOL)( (float)100.0(float)freqExpected)

maxExpected = (1.0 + (float)FREQ_TOL)( (float) freqExpected) + constantErrorWindow

Potrebbero piacerti anche