0% found this document useful (0 votes)
49 views1 page

Installer License

This document discusses checking if a configuration has changed, and if so, reloading a change counter to delay functionality checks until the system state is certain. It gets expected values based on the current configuration, decrements a change counter, and if the counter hits zero, it can check functionality by comparing current test and Campbell voltage values.

Uploaded by

castillo_leo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views1 page

Installer License

This document discusses checking if a configuration has changed, and if so, reloading a change counter to delay functionality checks until the system state is certain. It gets expected values based on the current configuration, decrements a change counter, and if the counter hits zero, it can check functionality by comparing current test and Campbell voltage values.

Uploaded by

castillo_leo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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

You might also like