ocycleParam.stateTable[state].period, ocycleParam.stateTable[state].harmonic,
ocycleParam.stateTable[state].numBunches, ocycleParam.stateTable[state].bunchMask, ocycleParam.stateTable[state].state);
ostateInfo->clear();
ostateInfo->setText(str.retStr());
sf.value = ocycleParam.stateTable[state].state;
str.printf("Delay: %d HChange: %d, Injection: %d, CalStart: %d, CalStop: %d, CycleStop: %d",
sf.delay, sf.hchange, sf.injection, sf.calStart, sf.calStop, sf.cycleStop);
ostateField0->clear();
ostateField0->setText(str.retStr());