Changeset 11176
- Timestamp:
- 06/24/11 14:36:41 (14 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11175 r11176 1513 1513 fClockCondR14->setValue(sdata.fClockConditioner[6]); 1514 1514 fClockCondR15->setValue(sdata.fClockConditioner[7]); 1515 1516 const uint32_t R0 = sdata.fClockConditioner[0]; 1517 const uint32_t R14 = sdata.fClockConditioner[6]; 1518 const uint32_t R15 = sdata.fClockConditioner[7]; 1519 1520 const uint32_t Ndiv = (R15&0x1ffff00)<<2; 1521 const uint32_t Rdiv = (R14&0x007ff00)>>8; 1522 const uint32_t Cdiv = (R0 &0x000ff00)>>8; 1523 1524 double freq = 40.*Ndiv/(Rdiv*Cdiv); 1525 1526 fClockCondFreqRes->setValue(freq); 1515 1527 1516 1528 //fClockCondFreq->setEditText(""); -
trunk/FACT++/gui/design.ui
r11174 r11176 52 52 </property> 53 53 <property name="currentIndex"> 54 <number> 3</number>54 <number>0</number> 55 55 </property> 56 56 <property name="documentMode"> … … 1662 1662 </spacer> 1663 1663 </item> 1664 <item row="3" column=" 2" colspan="2">1664 <item row="3" column="1" colspan="2"> 1665 1665 <widget class="QComboBox" name="fClockCondFreq"> 1666 1666 <property name="frame"> … … 1669 1669 </widget> 1670 1670 </item> 1671 <item row="2" column=" 2" colspan="3">1671 <item row="2" column="1" colspan="2"> 1672 1672 <widget class="QLabel" name="label_133"> 1673 1673 <property name="text"> … … 1688 1688 </property> 1689 1689 </spacer> 1690 </item> 1691 <item row="3" column="4"> 1692 <widget class="QDoubleSpinBox" name="fClockCondFreqRes"> 1693 <property name="alignment"> 1694 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 1695 </property> 1696 <property name="readOnly"> 1697 <bool>true</bool> 1698 </property> 1699 <property name="buttonSymbols"> 1700 <enum>QAbstractSpinBox::NoButtons</enum> 1701 </property> 1702 <property name="suffix"> 1703 <string> MHz</string> 1704 </property> 1705 <property name="maximum"> 1706 <double>10000.000000000000000</double> 1707 </property> 1708 </widget> 1709 </item> 1710 <item row="2" column="4"> 1711 <widget class="QLabel" name="label_143"> 1712 <property name="text"> 1713 <string>Calculated rate</string> 1714 </property> 1715 </widget> 1690 1716 </item> 1691 1717 </layout> -
trunk/FACT++/src/HeadersFTM.h
r11106 r11176 192 192 uint16_t fDelayTimeMarker; /// (4ns * x + 8ns) FTM internal programmable delay between trigger descision and time marker output 193 193 uint16_t fDeadTime; /// (4ns * x + 8ns) FTM internal programmable dead time after trigger decision 194 uint32_t fClockConditioner[8]; // R0, R1, R8, R9, R11, R13, R14, R15194 uint32_t fClockConditioner[8]; /// R0, R1, R8, R9, R11, R13, R14, R15 195 195 uint16_t fWindowPhysics; /// (4ns * x + 8ns) At least N (multiplicity) rising edges (trigger signal) within this window 196 196 uint16_t fWindowCalib; /// (4ns * x + 8ns) At least N (multiplicity) rising edges (trigger signal) within this window
Note:
See TracChangeset
for help on using the changeset viewer.