[mboyes@lcls-dev2:algorithm]$ sdiff -sB 2011-05-25-a/src/Algorithm.h 2011-02-26-a/src/Algorithm.h > < < < > < < < * Stopper XRT S5 Position < * ----------------------- < * ====== = = ==================== ==================== = < * Name B A Pockels Cell Mechanical Shutter < * ====== = = ==================== ==================== = < * Broken F F 0 Hz 0 Hz < * Out F T -- -- < * In T F -- -- < * Moving T T 0 Hz 0 Hz < * ====== = = ==================== ==================== = < * < * Where:: < * < * A = STPR_XRT1_1_S5OUT_POSITION < * B = STPR_XRT1_1_S5IN_POSITION < */ < < /* Broken */ < if (!STPR_XRT1_1_S5IN_POSITION && !STPR_XRT1_1_S5OUT_POSI < { < setNewTruthTableState(448, (0x80 | 0)); < } < < /* Out */ < else if (!STPR_XRT1_1_S5IN_POSITION && STPR_XRT1_1_S5OUT < { < setNewTruthTableState(448, (0x80 | 1)); < } < < /* In */ < else if ( STPR_XRT1_1_S5IN_POSITION && !STPR_XRT1_1_S5OUT < { < setNewTruthTableState(448, (0x80 | 2)); < } < < /* Moving */ < else if ( STPR_XRT1_1_S5IN_POSITION && STPR_XRT1_1_S5OUT < { < setNewTruthTableState(448, (0x80 | 3)); < } < < < /* < * Stopper XRT S5 Position < * ----------------------- < * ====== = = ==================== ==================== = < * Name B A Pockels Cell Mechanical Shutter < * ====== = = ==================== ==================== = < * Broken F F 0 Hz 0 Hz < * Out F T -- -- < * In T F -- -- < * Moving T T 0 Hz 0 Hz < * ====== = = ==================== ==================== = < * < * Where:: < * < * A = STPR_XRT1_1_S5OUT_POSITION < * B = STPR_XRT1_1_S5IN_POSITION < */ < < /* Broken */ < if (!STPR_XRT1_1_S5IN_POSITION && !STPR_XRT1_1_S5OUT_POSI < { < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setNewTruthTableState(448, 0); < } < < /* Out */ < else if (!STPR_XRT1_1_S5IN_POSITION && STPR_XRT1_1_S5OUT < { < setNewTruthTableState(448, 1); < } < < /* In */ < else if ( STPR_XRT1_1_S5IN_POSITION && !STPR_XRT1_1_S5OUT < { < setNewTruthTableState(448, 2); < } < < /* Moving */ < else if ( STPR_XRT1_1_S5IN_POSITION && STPR_XRT1_1_S5OUT < { < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setMaxRateAfterDevice(MPSRate0Hz, MPSMitigationDevice < setNewTruthTableState(448, 3); < } < < < /* < [mboyes@lcls-dev2:algorithm]$