- Timestamp:
- 08/06/11 18:34:39 (13 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11823 r11824 394 394 395 395 DimStampedInfo fDimFadWriteStats; 396 DimStampedInfo fDimFadStartRun; 396 397 DimStampedInfo fDimFadRuns; 397 398 DimStampedInfo fDimFadEvents; … … 1018 1019 } 1019 1020 1021 void handleFadStartRun(const DimData &d) 1022 { 1023 if (!CheckSize(d, 8)) 1024 return; 1025 1026 const int64_t *runs = d.ptr<int64_t>(); 1027 1028 fFadRunNoCur->setValue(runs[0]); 1029 fFadRunNoNext->setValue(runs[1]); 1030 fFadRunNoCur->setEnabled(runs[0]>=0); 1031 } 1032 1020 1033 void handleFadEvents(const DimData &d) 1021 1034 { … … 1028 1041 fEvtsSuccessTotal->setValue(ptr[1]); 1029 1042 fEvtBldEventId->setValue(ptr[2]); 1043 fFadEvtCounter->setValue(ptr[2]); 1030 1044 fEvtBldTriggerId->setValue(ptr[3]); 1031 1045 } … … 1782 1796 fFadEvtRateNew->setValue(1000*stat.rateNew/stat.deltaT); 1783 1797 fFadEvtRateWrite->setValue(1000*stat.rateWrite/stat.deltaT); 1798 1799 fFadTransmission->setValue(fFadEvtRateNew->value()); 1800 fFadEthernet->setValue(fFadEthernetRateTot->value()); 1801 fFadWriteRate->setValue(fFadEvtRateWrite->value()); 1784 1802 } 1785 1803 … … 2675 2693 if (getInfo()==&fDimFadRuns) 2676 2694 return PostInfoHandler(&FactGui::handleFadRuns); 2695 2696 if (getInfo()==&fDimFadStartRun) 2697 return PostInfoHandler(&FactGui::handleFadStartRun); 2677 2698 2678 2699 if (getInfo()==&fDimFadRawData) … … 3139 3160 //- 3140 3161 fDimFadWriteStats ("FAD_CONTROL/STATS", (void*)NULL, 0, this), 3162 fDimFadStartRun ("FAD_CONTROL/START_RUN", (void*)NULL, 0, this), 3141 3163 fDimFadRuns ("FAD_CONTROL/RUNS", (void*)NULL, 0, this), 3142 3164 fDimFadEvents ("FAD_CONTROL/EVENTS", (void*)NULL, 0, this), -
trunk/FACT++/gui/design.ui
r11820 r11824 11 11 <x>0</x> 12 12 <y>0</y> 13 <width>1 186</width>14 <height>85 0</height>13 <width>1203</width> 14 <height>852</height> 15 15 </rect> 16 16 </property> … … 53 53 </property> 54 54 <property name="currentIndex"> 55 <number> 5</number>55 <number>3</number> 56 56 </property> 57 57 <property name="documentMode"> … … 3305 3305 <layout class="QVBoxLayout" name="verticalLayout_7"> 3306 3306 <item> 3307 < widget class="QGroupBox" name="groupBox_14">3308 <property name="t itle">3309 < string>FAD Controls I</string>3307 <layout class="QHBoxLayout" name="horizontalLayout_32"> 3308 <property name="topMargin"> 3309 <number>0</number> 3310 3310 </property> 3311 <layout class="QGridLayout" name="gridLayout_43"> 3312 <item row="1" column="1"> 3313 <layout class="QGridLayout" name="gridLayout_38"> 3314 <item row="2" column="1"> 3315 <widget class="QPushButton" name="fFadLedPrescaler"> 3316 <property name="enabled"> 3317 <bool>true</bool> 3318 </property> 3319 <property name="sizePolicy"> 3320 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3321 <horstretch>0</horstretch> 3322 <verstretch>0</verstretch> 3323 </sizepolicy> 3324 </property> 3325 <property name="maximumSize"> 3326 <size> 3327 <width>18</width> 3328 <height>16777215</height> 3329 </size> 3330 </property> 3331 <property name="text"> 3332 <string/> 3333 </property> 3334 <property name="icon"> 3335 <iconset resource="design.qrc"> 3336 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3337 </property> 3338 <property name="iconSize"> 3339 <size> 3340 <width>16</width> 3341 <height>16</height> 3342 </size> 3343 </property> 3344 <property name="checkable"> 3345 <bool>false</bool> 3346 </property> 3347 <property name="flat"> 3348 <bool>true</bool> 3349 </property> 3350 </widget> 3351 </item> 3352 <item row="3" column="1"> 3353 <widget class="QPushButton" name="fFadLedRoi"> 3354 <property name="enabled"> 3355 <bool>true</bool> 3356 </property> 3357 <property name="sizePolicy"> 3358 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3359 <horstretch>0</horstretch> 3360 <verstretch>0</verstretch> 3361 </sizepolicy> 3362 </property> 3363 <property name="maximumSize"> 3364 <size> 3365 <width>18</width> 3366 <height>16777215</height> 3367 </size> 3368 </property> 3369 <property name="text"> 3370 <string/> 3371 </property> 3372 <property name="icon"> 3373 <iconset resource="design.qrc"> 3374 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3375 </property> 3376 <property name="iconSize"> 3377 <size> 3378 <width>16</width> 3379 <height>16</height> 3380 </size> 3381 </property> 3382 <property name="checkable"> 3383 <bool>false</bool> 3384 </property> 3385 <property name="flat"> 3386 <bool>true</bool> 3387 </property> 3388 </widget> 3389 </item> 3390 <item row="2" column="0"> 3391 <widget class="QLabel" name="label_99"> 3392 <property name="text"> 3393 <string>Prescaler</string> 3394 </property> 3395 </widget> 3396 </item> 3397 <item row="3" column="0"> 3398 <widget class="QLabel" name="label_100"> 3399 <property name="text"> 3400 <string>Region of interest</string> 3401 </property> 3402 </widget> 3311 <item> 3312 <widget class="QGroupBox" name="groupBox_14"> 3313 <property name="title"> 3314 <string>FAD Controls I</string> 3315 </property> 3316 <layout class="QGridLayout" name="gridLayout_43"> 3317 <item row="1" column="0"> 3318 <layout class="QGridLayout" name="gridLayout_38"> 3319 <item row="2" column="1"> 3320 <widget class="QPushButton" name="fFadLedPrescaler"> 3321 <property name="enabled"> 3322 <bool>true</bool> 3323 </property> 3324 <property name="sizePolicy"> 3325 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3326 <horstretch>0</horstretch> 3327 <verstretch>0</verstretch> 3328 </sizepolicy> 3329 </property> 3330 <property name="maximumSize"> 3331 <size> 3332 <width>18</width> 3333 <height>16777215</height> 3334 </size> 3335 </property> 3336 <property name="text"> 3337 <string/> 3338 </property> 3339 <property name="icon"> 3340 <iconset resource="design.qrc"> 3341 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3342 </property> 3343 <property name="iconSize"> 3344 <size> 3345 <width>16</width> 3346 <height>16</height> 3347 </size> 3348 </property> 3349 <property name="checkable"> 3350 <bool>false</bool> 3351 </property> 3352 <property name="flat"> 3353 <bool>true</bool> 3354 </property> 3355 </widget> 3356 </item> 3357 <item row="3" column="1"> 3358 <widget class="QPushButton" name="fFadLedRoi"> 3359 <property name="enabled"> 3360 <bool>true</bool> 3361 </property> 3362 <property name="sizePolicy"> 3363 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3364 <horstretch>0</horstretch> 3365 <verstretch>0</verstretch> 3366 </sizepolicy> 3367 </property> 3368 <property name="maximumSize"> 3369 <size> 3370 <width>18</width> 3371 <height>16777215</height> 3372 </size> 3373 </property> 3374 <property name="text"> 3375 <string/> 3376 </property> 3377 <property name="icon"> 3378 <iconset resource="design.qrc"> 3379 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3380 </property> 3381 <property name="iconSize"> 3382 <size> 3383 <width>16</width> 3384 <height>16</height> 3385 </size> 3386 </property> 3387 <property name="checkable"> 3388 <bool>false</bool> 3389 </property> 3390 <property name="flat"> 3391 <bool>true</bool> 3392 </property> 3393 </widget> 3394 </item> 3395 <item row="2" column="0"> 3396 <widget class="QLabel" name="label_99"> 3397 <property name="text"> 3398 <string>Prescaler</string> 3399 </property> 3400 </widget> 3401 </item> 3402 <item row="3" column="0"> 3403 <widget class="QLabel" name="label_100"> 3404 <property name="text"> 3405 <string>Region of interest</string> 3406 </property> 3407 </widget> 3408 </item> 3409 <item row="0" column="0"> 3410 <widget class="QLabel" name="label_102"> 3411 <property name="toolTip"> 3412 <string>This is<br>a tool tip</string> 3413 </property> 3414 <property name="text"> 3415 <string>Version</string> 3416 </property> 3417 </widget> 3418 </item> 3419 <item row="2" column="2"> 3420 <widget class="QSpinBox" name="fFadPrescaler"> 3421 <property name="enabled"> 3422 <bool>true</bool> 3423 </property> 3424 <property name="alignment"> 3425 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3426 </property> 3427 <property name="readOnly"> 3428 <bool>true</bool> 3429 </property> 3430 <property name="buttonSymbols"> 3431 <enum>QAbstractSpinBox::NoButtons</enum> 3432 </property> 3433 <property name="maximum"> 3434 <number>65535</number> 3435 </property> 3436 </widget> 3437 </item> 3438 <item row="0" column="2"> 3439 <widget class="QDoubleSpinBox" name="fFadFwVersion"> 3440 <property name="alignment"> 3441 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3442 </property> 3443 <property name="readOnly"> 3444 <bool>true</bool> 3445 </property> 3446 <property name="buttonSymbols"> 3447 <enum>QAbstractSpinBox::NoButtons</enum> 3448 </property> 3449 <property name="prefix"> 3450 <string>V</string> 3451 </property> 3452 </widget> 3453 </item> 3454 <item row="2" column="3"> 3455 <widget class="QSpinBox" name="fFadPrescalerCmd"> 3456 <property name="enabled"> 3457 <bool>true</bool> 3458 </property> 3459 <property name="alignment"> 3460 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3461 </property> 3462 </widget> 3463 </item> 3464 <item row="1" column="0"> 3465 <widget class="QLabel" name="label_145"> 3466 <property name="text"> 3467 <string>Run Number</string> 3468 </property> 3469 </widget> 3470 </item> 3471 <item row="1" column="2"> 3472 <widget class="QSpinBox" name="fFadRunNumber"> 3473 <property name="alignment"> 3474 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3475 </property> 3476 <property name="readOnly"> 3477 <bool>true</bool> 3478 </property> 3479 <property name="buttonSymbols"> 3480 <enum>QAbstractSpinBox::NoButtons</enum> 3481 </property> 3482 <property name="maximum"> 3483 <number>2147483647</number> 3484 </property> 3485 </widget> 3486 </item> 3487 <item row="1" column="1"> 3488 <widget class="QPushButton" name="fFadLedRunNumber"> 3489 <property name="enabled"> 3490 <bool>true</bool> 3491 </property> 3492 <property name="sizePolicy"> 3493 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3494 <horstretch>0</horstretch> 3495 <verstretch>0</verstretch> 3496 </sizepolicy> 3497 </property> 3498 <property name="maximumSize"> 3499 <size> 3500 <width>18</width> 3501 <height>16777215</height> 3502 </size> 3503 </property> 3504 <property name="text"> 3505 <string/> 3506 </property> 3507 <property name="icon"> 3508 <iconset resource="design.qrc"> 3509 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3510 </property> 3511 <property name="iconSize"> 3512 <size> 3513 <width>16</width> 3514 <height>16</height> 3515 </size> 3516 </property> 3517 <property name="checkable"> 3518 <bool>false</bool> 3519 </property> 3520 <property name="flat"> 3521 <bool>true</bool> 3522 </property> 3523 </widget> 3524 </item> 3525 <item row="1" column="3"> 3526 <widget class="QSpinBox" name="fFadRunNumberCmd"> 3527 <property name="alignment"> 3528 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3529 </property> 3530 <property name="maximum"> 3531 <number>2147483647</number> 3532 </property> 3533 </widget> 3534 </item> 3535 <item row="5" column="1"> 3536 <spacer name="verticalSpacer_26"> 3537 <property name="orientation"> 3538 <enum>Qt::Vertical</enum> 3539 </property> 3540 <property name="sizeType"> 3541 <enum>QSizePolicy::Fixed</enum> 3542 </property> 3543 <property name="sizeHint" stdset="0"> 3544 <size> 3545 <width>20</width> 3546 <height>10</height> 3547 </size> 3548 </property> 3549 </spacer> 3550 </item> 3551 <item row="6" column="2"> 3552 <widget class="QLabel" name="label_128"> 3553 <property name="text"> 3554 <string>Min</string> 3555 </property> 3556 <property name="alignment"> 3557 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 3558 </property> 3559 </widget> 3560 </item> 3561 <item row="6" column="3"> 3562 <widget class="QLabel" name="label_129"> 3563 <property name="text"> 3564 <string>Max</string> 3565 </property> 3566 <property name="alignment"> 3567 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 3568 </property> 3569 </widget> 3570 </item> 3571 <item row="7" column="2"> 3572 <widget class="QDoubleSpinBox" name="fFadTempMin"> 3573 <property name="alignment"> 3574 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3575 </property> 3576 <property name="readOnly"> 3577 <bool>true</bool> 3578 </property> 3579 <property name="buttonSymbols"> 3580 <enum>QAbstractSpinBox::NoButtons</enum> 3581 </property> 3582 <property name="suffix"> 3583 <string>°C</string> 3584 </property> 3585 </widget> 3586 </item> 3587 <item row="7" column="3"> 3588 <widget class="QDoubleSpinBox" name="fFadTempMax"> 3589 <property name="alignment"> 3590 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3591 </property> 3592 <property name="readOnly"> 3593 <bool>true</bool> 3594 </property> 3595 <property name="buttonSymbols"> 3596 <enum>QAbstractSpinBox::NoButtons</enum> 3597 </property> 3598 <property name="suffix"> 3599 <string>°C</string> 3600 </property> 3601 </widget> 3602 </item> 3603 <item row="8" column="2"> 3604 <widget class="QDoubleSpinBox" name="fFadRefClockMin"> 3605 <property name="enabled"> 3606 <bool>true</bool> 3607 </property> 3608 <property name="sizePolicy"> 3609 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 3610 <horstretch>0</horstretch> 3611 <verstretch>0</verstretch> 3612 </sizepolicy> 3613 </property> 3614 <property name="alignment"> 3615 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3616 </property> 3617 <property name="readOnly"> 3618 <bool>true</bool> 3619 </property> 3620 <property name="buttonSymbols"> 3621 <enum>QAbstractSpinBox::NoButtons</enum> 3622 </property> 3623 <property name="suffix"> 3624 <string> MHz</string> 3625 </property> 3626 <property name="decimals"> 3627 <number>3</number> 3628 </property> 3629 <property name="maximum"> 3630 <double>70000000.000000000000000</double> 3631 </property> 3632 <property name="value"> 3633 <double>0.000000000000000</double> 3634 </property> 3635 </widget> 3636 </item> 3637 <item row="8" column="3"> 3638 <widget class="QDoubleSpinBox" name="fFadRefClockMax"> 3639 <property name="sizePolicy"> 3640 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 3641 <horstretch>0</horstretch> 3642 <verstretch>0</verstretch> 3643 </sizepolicy> 3644 </property> 3645 <property name="alignment"> 3646 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3647 </property> 3648 <property name="buttonSymbols"> 3649 <enum>QAbstractSpinBox::NoButtons</enum> 3650 </property> 3651 <property name="suffix"> 3652 <string> MHz</string> 3653 </property> 3654 <property name="decimals"> 3655 <number>3</number> 3656 </property> 3657 <property name="maximum"> 3658 <double>70000000.000000000000000</double> 3659 </property> 3660 <property name="value"> 3661 <double>0.000000000000000</double> 3662 </property> 3663 </widget> 3664 </item> 3665 <item row="7" column="0"> 3666 <widget class="QLabel" name="label_111"> 3667 <property name="text"> 3668 <string>Temperature</string> 3669 </property> 3670 </widget> 3671 </item> 3672 <item row="7" column="1"> 3673 <widget class="QPushButton" name="fFadLedTemp"> 3674 <property name="enabled"> 3675 <bool>true</bool> 3676 </property> 3677 <property name="sizePolicy"> 3678 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3679 <horstretch>0</horstretch> 3680 <verstretch>0</verstretch> 3681 </sizepolicy> 3682 </property> 3683 <property name="maximumSize"> 3684 <size> 3685 <width>18</width> 3686 <height>16777215</height> 3687 </size> 3688 </property> 3689 <property name="text"> 3690 <string/> 3691 </property> 3692 <property name="icon"> 3693 <iconset resource="design.qrc"> 3694 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3695 </property> 3696 <property name="iconSize"> 3697 <size> 3698 <width>16</width> 3699 <height>16</height> 3700 </size> 3701 </property> 3702 <property name="checkable"> 3703 <bool>false</bool> 3704 </property> 3705 <property name="flat"> 3706 <bool>true</bool> 3707 </property> 3708 </widget> 3709 </item> 3710 <item row="8" column="0"> 3711 <widget class="QLabel" name="label_101"> 3712 <property name="text"> 3713 <string>Reference clock</string> 3714 </property> 3715 </widget> 3716 </item> 3717 <item row="8" column="1"> 3718 <widget class="QPushButton" name="fFadLedRefClock"> 3719 <property name="enabled"> 3720 <bool>true</bool> 3721 </property> 3722 <property name="sizePolicy"> 3723 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3724 <horstretch>0</horstretch> 3725 <verstretch>0</verstretch> 3726 </sizepolicy> 3727 </property> 3728 <property name="maximumSize"> 3729 <size> 3730 <width>18</width> 3731 <height>16777215</height> 3732 </size> 3733 </property> 3734 <property name="text"> 3735 <string/> 3736 </property> 3737 <property name="icon"> 3738 <iconset resource="design.qrc"> 3739 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3740 </property> 3741 <property name="iconSize"> 3742 <size> 3743 <width>16</width> 3744 <height>16</height> 3745 </size> 3746 </property> 3747 <property name="checkable"> 3748 <bool>false</bool> 3749 </property> 3750 <property name="flat"> 3751 <bool>true</bool> 3752 </property> 3753 </widget> 3754 </item> 3755 <item row="9" column="1"> 3756 <widget class="QPushButton" name="fFadLedRefClockTooLow"> 3757 <property name="enabled"> 3758 <bool>true</bool> 3759 </property> 3760 <property name="sizePolicy"> 3761 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3762 <horstretch>0</horstretch> 3763 <verstretch>0</verstretch> 3764 </sizepolicy> 3765 </property> 3766 <property name="maximumSize"> 3767 <size> 3768 <width>18</width> 3769 <height>16777215</height> 3770 </size> 3771 </property> 3772 <property name="text"> 3773 <string/> 3774 </property> 3775 <property name="icon"> 3776 <iconset resource="design.qrc"> 3777 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3778 </property> 3779 <property name="iconSize"> 3780 <size> 3781 <width>16</width> 3782 <height>16</height> 3783 </size> 3784 </property> 3785 <property name="checkable"> 3786 <bool>false</bool> 3787 </property> 3788 <property name="flat"> 3789 <bool>true</bool> 3790 </property> 3791 </widget> 3792 </item> 3793 <item row="9" column="0"> 3794 <widget class="QLabel" name="label_103"> 3795 <property name="text"> 3796 <string> -- underflow</string> 3797 </property> 3798 </widget> 3799 </item> 3800 <item row="10" column="0"> 3801 <widget class="QLabel" name="label_92"> 3802 <property name="text"> 3803 <string>PLL lock</string> 3804 </property> 3805 </widget> 3806 </item> 3807 <item row="10" column="1"> 3808 <widget class="QPushButton" name="fFadLedPllLock"> 3809 <property name="enabled"> 3810 <bool>true</bool> 3811 </property> 3812 <property name="sizePolicy"> 3813 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3814 <horstretch>0</horstretch> 3815 <verstretch>0</verstretch> 3816 </sizepolicy> 3817 </property> 3818 <property name="maximumSize"> 3819 <size> 3820 <width>18</width> 3821 <height>16777215</height> 3822 </size> 3823 </property> 3824 <property name="text"> 3825 <string/> 3826 </property> 3827 <property name="icon"> 3828 <iconset resource="design.qrc"> 3829 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3830 </property> 3831 <property name="iconSize"> 3832 <size> 3833 <width>16</width> 3834 <height>16</height> 3835 </size> 3836 </property> 3837 <property name="checkable"> 3838 <bool>false</bool> 3839 </property> 3840 <property name="flat"> 3841 <bool>true</bool> 3842 </property> 3843 </widget> 3844 </item> 3845 <item row="3" column="2"> 3846 <widget class="QSpinBox" name="fFadRoi"> 3847 <property name="enabled"> 3848 <bool>false</bool> 3849 </property> 3850 <property name="alignment"> 3851 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3852 </property> 3853 <property name="readOnly"> 3854 <bool>true</bool> 3855 </property> 3856 <property name="buttonSymbols"> 3857 <enum>QAbstractSpinBox::NoButtons</enum> 3858 </property> 3859 <property name="minimum"> 3860 <number>-1</number> 3861 </property> 3862 <property name="maximum"> 3863 <number>1024</number> 3864 </property> 3865 <property name="value"> 3866 <number>-1</number> 3867 </property> 3868 </widget> 3869 </item> 3870 <item row="3" column="3"> 3871 <widget class="QSpinBox" name="fFadRoiCmd"> 3872 <property name="alignment"> 3873 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3874 </property> 3875 <property name="maximum"> 3876 <number>1024</number> 3877 </property> 3878 </widget> 3879 </item> 3880 <item row="4" column="2"> 3881 <widget class="QSpinBox" name="fFadRoiCh9"> 3882 <property name="enabled"> 3883 <bool>false</bool> 3884 </property> 3885 <property name="alignment"> 3886 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3887 </property> 3888 <property name="readOnly"> 3889 <bool>true</bool> 3890 </property> 3891 <property name="buttonSymbols"> 3892 <enum>QAbstractSpinBox::NoButtons</enum> 3893 </property> 3894 <property name="minimum"> 3895 <number>-1</number> 3896 </property> 3897 <property name="maximum"> 3898 <number>1024</number> 3899 </property> 3900 <property name="value"> 3901 <number>-1</number> 3902 </property> 3903 </widget> 3904 </item> 3905 <item row="4" column="3"> 3906 <widget class="QSpinBox" name="fFadRoiCh9Cmd"> 3907 <property name="enabled"> 3908 <bool>false</bool> 3909 </property> 3910 <property name="alignment"> 3911 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3912 </property> 3913 <property name="maximum"> 3914 <number>1024</number> 3915 </property> 3916 </widget> 3917 </item> 3918 <item row="4" column="0"> 3919 <widget class="QLabel" name="label_161"> 3920 <property name="text"> 3921 <string>Region of interest (ch9)</string> 3922 </property> 3923 </widget> 3924 </item> 3925 <item row="0" column="1"> 3926 <widget class="QPushButton" name="fFadLedFwVersion"> 3927 <property name="enabled"> 3928 <bool>true</bool> 3929 </property> 3930 <property name="sizePolicy"> 3931 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3932 <horstretch>0</horstretch> 3933 <verstretch>0</verstretch> 3934 </sizepolicy> 3935 </property> 3936 <property name="maximumSize"> 3937 <size> 3938 <width>18</width> 3939 <height>16777215</height> 3940 </size> 3941 </property> 3942 <property name="text"> 3943 <string/> 3944 </property> 3945 <property name="icon"> 3946 <iconset resource="design.qrc"> 3947 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3948 </property> 3949 <property name="iconSize"> 3950 <size> 3951 <width>16</width> 3952 <height>16</height> 3953 </size> 3954 </property> 3955 <property name="checkable"> 3956 <bool>false</bool> 3957 </property> 3958 <property name="flat"> 3959 <bool>true</bool> 3960 </property> 3961 </widget> 3962 </item> 3963 </layout> 3403 3964 </item> 3404 3965 <item row="0" column="0"> 3405 <widget class="QLabel" name="label_102"> 3406 <property name="toolTip"> 3407 <string>This is<br>a tool tip</string> 3408 </property> 3409 <property name="text"> 3410 <string>Version</string> 3411 </property> 3412 </widget> 3413 </item> 3414 <item row="2" column="2"> 3415 <widget class="QSpinBox" name="fFadPrescaler"> 3416 <property name="enabled"> 3417 <bool>true</bool> 3418 </property> 3419 <property name="alignment"> 3420 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3421 </property> 3422 <property name="readOnly"> 3423 <bool>true</bool> 3424 </property> 3425 <property name="buttonSymbols"> 3426 <enum>QAbstractSpinBox::NoButtons</enum> 3427 </property> 3428 <property name="maximum"> 3429 <number>65535</number> 3430 </property> 3431 </widget> 3432 </item> 3433 <item row="0" column="2"> 3434 <widget class="QDoubleSpinBox" name="fFadFwVersion"> 3435 <property name="alignment"> 3436 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3437 </property> 3438 <property name="readOnly"> 3439 <bool>true</bool> 3440 </property> 3441 <property name="buttonSymbols"> 3442 <enum>QAbstractSpinBox::NoButtons</enum> 3443 </property> 3444 <property name="prefix"> 3445 <string>V</string> 3446 </property> 3447 </widget> 3448 </item> 3449 <item row="2" column="3"> 3450 <widget class="QSpinBox" name="fFadPrescalerCmd"> 3451 <property name="enabled"> 3452 <bool>true</bool> 3453 </property> 3454 <property name="alignment"> 3455 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3456 </property> 3457 </widget> 3458 </item> 3459 <item row="1" column="0"> 3460 <widget class="QLabel" name="label_145"> 3461 <property name="text"> 3462 <string>Run Number</string> 3463 </property> 3464 </widget> 3465 </item> 3466 <item row="1" column="2"> 3467 <widget class="QSpinBox" name="fFadRunNumber"> 3468 <property name="alignment"> 3469 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3470 </property> 3471 <property name="readOnly"> 3472 <bool>true</bool> 3473 </property> 3474 <property name="buttonSymbols"> 3475 <enum>QAbstractSpinBox::NoButtons</enum> 3476 </property> 3477 <property name="maximum"> 3478 <number>2147483647</number> 3479 </property> 3480 </widget> 3481 </item> 3482 <item row="1" column="1"> 3483 <widget class="QPushButton" name="fFadLedRunNumber"> 3484 <property name="enabled"> 3485 <bool>true</bool> 3486 </property> 3487 <property name="sizePolicy"> 3488 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3489 <horstretch>0</horstretch> 3490 <verstretch>0</verstretch> 3491 </sizepolicy> 3492 </property> 3493 <property name="maximumSize"> 3494 <size> 3495 <width>18</width> 3496 <height>16777215</height> 3497 </size> 3498 </property> 3499 <property name="text"> 3500 <string/> 3501 </property> 3502 <property name="icon"> 3503 <iconset resource="design.qrc"> 3504 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3505 </property> 3506 <property name="iconSize"> 3507 <size> 3508 <width>16</width> 3509 <height>16</height> 3510 </size> 3511 </property> 3512 <property name="checkable"> 3513 <bool>false</bool> 3514 </property> 3515 <property name="flat"> 3516 <bool>true</bool> 3517 </property> 3518 </widget> 3519 </item> 3520 <item row="1" column="3"> 3521 <widget class="QSpinBox" name="fFadRunNumberCmd"> 3522 <property name="alignment"> 3523 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3524 </property> 3525 <property name="maximum"> 3526 <number>2147483647</number> 3527 </property> 3528 </widget> 3529 </item> 3530 <item row="5" column="1"> 3531 <spacer name="verticalSpacer_26"> 3966 <widget class="Line" name="line_13"> 3532 3967 <property name="orientation"> 3533 <enum>Qt::Vertical</enum> 3534 </property> 3535 <property name="sizeType"> 3536 <enum>QSizePolicy::Fixed</enum> 3537 </property> 3538 <property name="sizeHint" stdset="0"> 3539 <size> 3540 <width>20</width> 3541 <height>10</height> 3542 </size> 3543 </property> 3544 </spacer> 3545 </item> 3546 <item row="6" column="2"> 3547 <widget class="QLabel" name="label_128"> 3548 <property name="text"> 3549 <string>Min</string> 3550 </property> 3551 <property name="alignment"> 3552 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 3553 </property> 3554 </widget> 3555 </item> 3556 <item row="6" column="3"> 3557 <widget class="QLabel" name="label_129"> 3558 <property name="text"> 3559 <string>Max</string> 3560 </property> 3561 <property name="alignment"> 3562 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 3563 </property> 3564 </widget> 3565 </item> 3566 <item row="7" column="2"> 3567 <widget class="QDoubleSpinBox" name="fFadTempMin"> 3568 <property name="alignment"> 3569 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3570 </property> 3571 <property name="readOnly"> 3572 <bool>true</bool> 3573 </property> 3574 <property name="buttonSymbols"> 3575 <enum>QAbstractSpinBox::NoButtons</enum> 3576 </property> 3577 <property name="suffix"> 3578 <string>°C</string> 3579 </property> 3580 </widget> 3581 </item> 3582 <item row="7" column="3"> 3583 <widget class="QDoubleSpinBox" name="fFadTempMax"> 3584 <property name="alignment"> 3585 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3586 </property> 3587 <property name="readOnly"> 3588 <bool>true</bool> 3589 </property> 3590 <property name="buttonSymbols"> 3591 <enum>QAbstractSpinBox::NoButtons</enum> 3592 </property> 3593 <property name="suffix"> 3594 <string>°C</string> 3595 </property> 3596 </widget> 3597 </item> 3598 <item row="8" column="2"> 3599 <widget class="QDoubleSpinBox" name="fFadRefClockMin"> 3600 <property name="enabled"> 3601 <bool>true</bool> 3602 </property> 3603 <property name="sizePolicy"> 3604 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 3605 <horstretch>0</horstretch> 3606 <verstretch>0</verstretch> 3607 </sizepolicy> 3608 </property> 3609 <property name="alignment"> 3610 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3611 </property> 3612 <property name="readOnly"> 3613 <bool>true</bool> 3614 </property> 3615 <property name="buttonSymbols"> 3616 <enum>QAbstractSpinBox::NoButtons</enum> 3617 </property> 3618 <property name="suffix"> 3619 <string> MHz</string> 3620 </property> 3621 <property name="decimals"> 3622 <number>3</number> 3623 </property> 3624 <property name="maximum"> 3625 <double>70000000.000000000000000</double> 3626 </property> 3627 <property name="value"> 3628 <double>0.000000000000000</double> 3629 </property> 3630 </widget> 3631 </item> 3632 <item row="8" column="3"> 3633 <widget class="QDoubleSpinBox" name="fFadRefClockMax"> 3634 <property name="sizePolicy"> 3635 <sizepolicy hsizetype="Minimum" vsizetype="Fixed"> 3636 <horstretch>0</horstretch> 3637 <verstretch>0</verstretch> 3638 </sizepolicy> 3639 </property> 3640 <property name="alignment"> 3641 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3642 </property> 3643 <property name="buttonSymbols"> 3644 <enum>QAbstractSpinBox::NoButtons</enum> 3645 </property> 3646 <property name="suffix"> 3647 <string> MHz</string> 3648 </property> 3649 <property name="decimals"> 3650 <number>3</number> 3651 </property> 3652 <property name="maximum"> 3653 <double>70000000.000000000000000</double> 3654 </property> 3655 <property name="value"> 3656 <double>0.000000000000000</double> 3657 </property> 3658 </widget> 3659 </item> 3660 <item row="7" column="0"> 3661 <widget class="QLabel" name="label_111"> 3662 <property name="text"> 3663 <string>Temperature</string> 3664 </property> 3665 </widget> 3666 </item> 3667 <item row="7" column="1"> 3668 <widget class="QPushButton" name="fFadLedTemp"> 3669 <property name="enabled"> 3670 <bool>true</bool> 3671 </property> 3672 <property name="sizePolicy"> 3673 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3674 <horstretch>0</horstretch> 3675 <verstretch>0</verstretch> 3676 </sizepolicy> 3677 </property> 3678 <property name="maximumSize"> 3679 <size> 3680 <width>18</width> 3681 <height>16777215</height> 3682 </size> 3683 </property> 3684 <property name="text"> 3685 <string/> 3686 </property> 3687 <property name="icon"> 3688 <iconset resource="design.qrc"> 3689 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3690 </property> 3691 <property name="iconSize"> 3692 <size> 3693 <width>16</width> 3694 <height>16</height> 3695 </size> 3696 </property> 3697 <property name="checkable"> 3698 <bool>false</bool> 3699 </property> 3700 <property name="flat"> 3701 <bool>true</bool> 3702 </property> 3703 </widget> 3704 </item> 3705 <item row="8" column="0"> 3706 <widget class="QLabel" name="label_101"> 3707 <property name="text"> 3708 <string>Reference clock</string> 3709 </property> 3710 </widget> 3711 </item> 3712 <item row="8" column="1"> 3713 <widget class="QPushButton" name="fFadLedRefClock"> 3714 <property name="enabled"> 3715 <bool>true</bool> 3716 </property> 3717 <property name="sizePolicy"> 3718 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3719 <horstretch>0</horstretch> 3720 <verstretch>0</verstretch> 3721 </sizepolicy> 3722 </property> 3723 <property name="maximumSize"> 3724 <size> 3725 <width>18</width> 3726 <height>16777215</height> 3727 </size> 3728 </property> 3729 <property name="text"> 3730 <string/> 3731 </property> 3732 <property name="icon"> 3733 <iconset resource="design.qrc"> 3734 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3735 </property> 3736 <property name="iconSize"> 3737 <size> 3738 <width>16</width> 3739 <height>16</height> 3740 </size> 3741 </property> 3742 <property name="checkable"> 3743 <bool>false</bool> 3744 </property> 3745 <property name="flat"> 3746 <bool>true</bool> 3747 </property> 3748 </widget> 3749 </item> 3750 <item row="9" column="1"> 3751 <widget class="QPushButton" name="fFadLedRefClockTooLow"> 3752 <property name="enabled"> 3753 <bool>true</bool> 3754 </property> 3755 <property name="sizePolicy"> 3756 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3757 <horstretch>0</horstretch> 3758 <verstretch>0</verstretch> 3759 </sizepolicy> 3760 </property> 3761 <property name="maximumSize"> 3762 <size> 3763 <width>18</width> 3764 <height>16777215</height> 3765 </size> 3766 </property> 3767 <property name="text"> 3768 <string/> 3769 </property> 3770 <property name="icon"> 3771 <iconset resource="design.qrc"> 3772 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3773 </property> 3774 <property name="iconSize"> 3775 <size> 3776 <width>16</width> 3777 <height>16</height> 3778 </size> 3779 </property> 3780 <property name="checkable"> 3781 <bool>false</bool> 3782 </property> 3783 <property name="flat"> 3784 <bool>true</bool> 3785 </property> 3786 </widget> 3787 </item> 3788 <item row="9" column="0"> 3789 <widget class="QLabel" name="label_103"> 3790 <property name="text"> 3791 <string> -- underflow</string> 3792 </property> 3793 </widget> 3794 </item> 3795 <item row="10" column="0"> 3796 <widget class="QLabel" name="label_92"> 3797 <property name="text"> 3798 <string>PLL lock</string> 3799 </property> 3800 </widget> 3801 </item> 3802 <item row="10" column="1"> 3803 <widget class="QPushButton" name="fFadLedPllLock"> 3804 <property name="enabled"> 3805 <bool>true</bool> 3806 </property> 3807 <property name="sizePolicy"> 3808 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3809 <horstretch>0</horstretch> 3810 <verstretch>0</verstretch> 3811 </sizepolicy> 3812 </property> 3813 <property name="maximumSize"> 3814 <size> 3815 <width>18</width> 3816 <height>16777215</height> 3817 </size> 3818 </property> 3819 <property name="text"> 3820 <string/> 3821 </property> 3822 <property name="icon"> 3823 <iconset resource="design.qrc"> 3824 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3825 </property> 3826 <property name="iconSize"> 3827 <size> 3828 <width>16</width> 3829 <height>16</height> 3830 </size> 3831 </property> 3832 <property name="checkable"> 3833 <bool>false</bool> 3834 </property> 3835 <property name="flat"> 3836 <bool>true</bool> 3837 </property> 3838 </widget> 3839 </item> 3840 <item row="3" column="2"> 3841 <widget class="QSpinBox" name="fFadRoi"> 3842 <property name="enabled"> 3843 <bool>false</bool> 3844 </property> 3845 <property name="alignment"> 3846 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3847 </property> 3848 <property name="readOnly"> 3849 <bool>true</bool> 3850 </property> 3851 <property name="buttonSymbols"> 3852 <enum>QAbstractSpinBox::NoButtons</enum> 3853 </property> 3854 <property name="minimum"> 3855 <number>-1</number> 3856 </property> 3857 <property name="maximum"> 3858 <number>1024</number> 3859 </property> 3860 <property name="value"> 3861 <number>-1</number> 3862 </property> 3863 </widget> 3864 </item> 3865 <item row="3" column="3"> 3866 <widget class="QSpinBox" name="fFadRoiCmd"> 3867 <property name="alignment"> 3868 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3869 </property> 3870 <property name="maximum"> 3871 <number>1024</number> 3872 </property> 3873 </widget> 3874 </item> 3875 <item row="4" column="2"> 3876 <widget class="QSpinBox" name="fFadRoiCh9"> 3877 <property name="enabled"> 3878 <bool>false</bool> 3879 </property> 3880 <property name="alignment"> 3881 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3882 </property> 3883 <property name="readOnly"> 3884 <bool>true</bool> 3885 </property> 3886 <property name="buttonSymbols"> 3887 <enum>QAbstractSpinBox::NoButtons</enum> 3888 </property> 3889 <property name="minimum"> 3890 <number>-1</number> 3891 </property> 3892 <property name="maximum"> 3893 <number>1024</number> 3894 </property> 3895 <property name="value"> 3896 <number>-1</number> 3897 </property> 3898 </widget> 3899 </item> 3900 <item row="4" column="3"> 3901 <widget class="QSpinBox" name="fFadRoiCh9Cmd"> 3902 <property name="enabled"> 3903 <bool>false</bool> 3904 </property> 3905 <property name="alignment"> 3906 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3907 </property> 3908 <property name="maximum"> 3909 <number>1024</number> 3910 </property> 3911 </widget> 3912 </item> 3913 <item row="4" column="0"> 3914 <widget class="QLabel" name="label_161"> 3915 <property name="text"> 3916 <string>Region of interest (ch9)</string> 3917 </property> 3918 </widget> 3919 </item> 3920 <item row="0" column="1"> 3921 <widget class="QPushButton" name="fFadLedFwVersion"> 3922 <property name="enabled"> 3923 <bool>true</bool> 3924 </property> 3925 <property name="sizePolicy"> 3926 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 3927 <horstretch>0</horstretch> 3928 <verstretch>0</verstretch> 3929 </sizepolicy> 3930 </property> 3931 <property name="maximumSize"> 3932 <size> 3933 <width>18</width> 3934 <height>16777215</height> 3935 </size> 3936 </property> 3937 <property name="text"> 3938 <string/> 3939 </property> 3940 <property name="icon"> 3941 <iconset resource="design.qrc"> 3942 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 3943 </property> 3944 <property name="iconSize"> 3945 <size> 3946 <width>16</width> 3947 <height>16</height> 3948 </size> 3949 </property> 3950 <property name="checkable"> 3951 <bool>false</bool> 3952 </property> 3953 <property name="flat"> 3954 <bool>true</bool> 3968 <enum>Qt::Horizontal</enum> 3955 3969 </property> 3956 3970 </widget> 3957 3971 </item> 3958 3972 </layout> 3959 </item> 3960 <item row="0" column="1"> 3961 <widget class="Line" name="line_13"> 3962 <property name="orientation"> 3963 <enum>Qt::Horizontal</enum> 3964 </property> 3965 </widget> 3966 </item> 3967 <item row="1" column="2"> 3968 <spacer name="horizontalSpacer_29"> 3969 <property name="orientation"> 3970 <enum>Qt::Horizontal</enum> 3971 </property> 3972 <property name="sizeHint" stdset="0"> 3973 <size> 3974 <width>40</width> 3975 <height>20</height> 3976 </size> 3977 </property> 3978 </spacer> 3979 </item> 3980 <item row="1" column="0"> 3981 <spacer name="horizontalSpacer_31"> 3982 <property name="orientation"> 3983 <enum>Qt::Horizontal</enum> 3984 </property> 3985 <property name="sizeHint" stdset="0"> 3986 <size> 3987 <width>40</width> 3988 <height>20</height> 3989 </size> 3990 </property> 3991 </spacer> 3992 </item> 3993 </layout> 3994 </widget> 3973 </widget> 3974 </item> 3975 <item> 3976 <widget class="QGroupBox" name="groupBox_10"> 3977 <property name="title"> 3978 <string>Statistics</string> 3979 </property> 3980 <layout class="QGridLayout" name="gridLayout_71"> 3981 <item row="1" column="0"> 3982 <layout class="QVBoxLayout" name="verticalLayout_12"> 3983 <property name="rightMargin"> 3984 <number>0</number> 3985 </property> 3986 <item> 3987 <widget class="QLabel" name="label_185"> 3988 <property name="text"> 3989 <string>Run number</string> 3990 </property> 3991 <property name="alignment"> 3992 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 3993 </property> 3994 </widget> 3995 </item> 3996 <item> 3997 <layout class="QGridLayout" name="gridLayout_70"> 3998 <property name="topMargin"> 3999 <number>0</number> 4000 </property> 4001 <item row="1" column="0"> 4002 <widget class="QSpinBox" name="fFadRunNoCur"> 4003 <property name="alignment"> 4004 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4005 </property> 4006 <property name="readOnly"> 4007 <bool>true</bool> 4008 </property> 4009 <property name="buttonSymbols"> 4010 <enum>QAbstractSpinBox::NoButtons</enum> 4011 </property> 4012 <property name="specialValueText"> 4013 <string>n/a</string> 4014 </property> 4015 <property name="maximum"> 4016 <number>9999</number> 4017 </property> 4018 </widget> 4019 </item> 4020 <item row="1" column="1"> 4021 <widget class="QSpinBox" name="fFadRunNoNext"> 4022 <property name="alignment"> 4023 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4024 </property> 4025 <property name="readOnly"> 4026 <bool>true</bool> 4027 </property> 4028 <property name="buttonSymbols"> 4029 <enum>QAbstractSpinBox::NoButtons</enum> 4030 </property> 4031 <property name="maximum"> 4032 <number>9999</number> 4033 </property> 4034 </widget> 4035 </item> 4036 <item row="0" column="0"> 4037 <widget class="QLabel" name="label_190"> 4038 <property name="text"> 4039 <string>Current</string> 4040 </property> 4041 <property name="alignment"> 4042 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4043 </property> 4044 </widget> 4045 </item> 4046 <item row="0" column="1"> 4047 <widget class="QLabel" name="label_191"> 4048 <property name="text"> 4049 <string>Next</string> 4050 </property> 4051 <property name="alignment"> 4052 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4053 </property> 4054 </widget> 4055 </item> 4056 </layout> 4057 </item> 4058 <item> 4059 <spacer name="verticalSpacer_57"> 4060 <property name="orientation"> 4061 <enum>Qt::Vertical</enum> 4062 </property> 4063 <property name="sizeType"> 4064 <enum>QSizePolicy::Fixed</enum> 4065 </property> 4066 <property name="sizeHint" stdset="0"> 4067 <size> 4068 <width>20</width> 4069 <height>5</height> 4070 </size> 4071 </property> 4072 </spacer> 4073 </item> 4074 <item> 4075 <widget class="QLabel" name="label_186"> 4076 <property name="text"> 4077 <string>Event counter</string> 4078 </property> 4079 <property name="alignment"> 4080 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 4081 </property> 4082 </widget> 4083 </item> 4084 <item> 4085 <widget class="QSpinBox" name="fFadEvtCounter"> 4086 <property name="alignment"> 4087 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4088 </property> 4089 <property name="readOnly"> 4090 <bool>true</bool> 4091 </property> 4092 <property name="buttonSymbols"> 4093 <enum>QAbstractSpinBox::NoButtons</enum> 4094 </property> 4095 <property name="maximum"> 4096 <number>2147483647</number> 4097 </property> 4098 </widget> 4099 </item> 4100 <item> 4101 <spacer name="verticalSpacer_58"> 4102 <property name="orientation"> 4103 <enum>Qt::Vertical</enum> 4104 </property> 4105 <property name="sizeType"> 4106 <enum>QSizePolicy::Fixed</enum> 4107 </property> 4108 <property name="sizeHint" stdset="0"> 4109 <size> 4110 <width>20</width> 4111 <height>5</height> 4112 </size> 4113 </property> 4114 </spacer> 4115 </item> 4116 <item> 4117 <widget class="QLabel" name="label_187"> 4118 <property name="text"> 4119 <string>Transmission rate</string> 4120 </property> 4121 <property name="alignment"> 4122 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 4123 </property> 4124 </widget> 4125 </item> 4126 <item> 4127 <widget class="QSpinBox" name="fFadTransmission"> 4128 <property name="alignment"> 4129 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4130 </property> 4131 <property name="readOnly"> 4132 <bool>true</bool> 4133 </property> 4134 <property name="buttonSymbols"> 4135 <enum>QAbstractSpinBox::NoButtons</enum> 4136 </property> 4137 <property name="suffix"> 4138 <string> evt/s</string> 4139 </property> 4140 <property name="maximum"> 4141 <number>99999</number> 4142 </property> 4143 </widget> 4144 </item> 4145 <item> 4146 <spacer name="verticalSpacer_59"> 4147 <property name="orientation"> 4148 <enum>Qt::Vertical</enum> 4149 </property> 4150 <property name="sizeType"> 4151 <enum>QSizePolicy::Fixed</enum> 4152 </property> 4153 <property name="sizeHint" stdset="0"> 4154 <size> 4155 <width>20</width> 4156 <height>5</height> 4157 </size> 4158 </property> 4159 </spacer> 4160 </item> 4161 <item> 4162 <widget class="QLabel" name="label_188"> 4163 <property name="text"> 4164 <string>Ethernet rate</string> 4165 </property> 4166 <property name="alignment"> 4167 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 4168 </property> 4169 </widget> 4170 </item> 4171 <item> 4172 <widget class="QSpinBox" name="fFadEthernet"> 4173 <property name="alignment"> 4174 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4175 </property> 4176 <property name="readOnly"> 4177 <bool>true</bool> 4178 </property> 4179 <property name="buttonSymbols"> 4180 <enum>QAbstractSpinBox::NoButtons</enum> 4181 </property> 4182 <property name="suffix"> 4183 <string> kB/s</string> 4184 </property> 4185 <property name="maximum"> 4186 <number>1000000</number> 4187 </property> 4188 </widget> 4189 </item> 4190 <item> 4191 <spacer name="verticalSpacer_60"> 4192 <property name="orientation"> 4193 <enum>Qt::Vertical</enum> 4194 </property> 4195 <property name="sizeType"> 4196 <enum>QSizePolicy::Fixed</enum> 4197 </property> 4198 <property name="sizeHint" stdset="0"> 4199 <size> 4200 <width>20</width> 4201 <height>5</height> 4202 </size> 4203 </property> 4204 </spacer> 4205 </item> 4206 <item> 4207 <widget class="QLabel" name="label_189"> 4208 <property name="text"> 4209 <string>Output rate</string> 4210 </property> 4211 <property name="alignment"> 4212 <set>Qt::AlignBottom|Qt::AlignRight|Qt::AlignTrailing</set> 4213 </property> 4214 </widget> 4215 </item> 4216 <item> 4217 <widget class="QSpinBox" name="fFadWriteRate"> 4218 <property name="alignment"> 4219 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4220 </property> 4221 <property name="readOnly"> 4222 <bool>true</bool> 4223 </property> 4224 <property name="buttonSymbols"> 4225 <enum>QAbstractSpinBox::NoButtons</enum> 4226 </property> 4227 <property name="suffix"> 4228 <string> evt/s</string> 4229 </property> 4230 <property name="maximum"> 4231 <number>99999</number> 4232 </property> 4233 </widget> 4234 </item> 4235 <item> 4236 <spacer name="verticalSpacer_56"> 4237 <property name="orientation"> 4238 <enum>Qt::Vertical</enum> 4239 </property> 4240 <property name="sizeHint" stdset="0"> 4241 <size> 4242 <width>20</width> 4243 <height>40</height> 4244 </size> 4245 </property> 4246 </spacer> 4247 </item> 4248 </layout> 4249 </item> 4250 <item row="0" column="0"> 4251 <widget class="Line" name="line_25"> 4252 <property name="orientation"> 4253 <enum>Qt::Horizontal</enum> 4254 </property> 4255 </widget> 4256 </item> 4257 </layout> 4258 </widget> 4259 </item> 4260 </layout> 3995 4261 </item> 3996 4262 <item> … … 5741 6007 </widget> 5742 6008 </item> 6009 <item row="1" column="2"> 6010 <widget class="QSpinBox" name="fFadEvtBufMax"> 6011 <property name="alignment"> 6012 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 6013 </property> 6014 <property name="readOnly"> 6015 <bool>true</bool> 6016 </property> 6017 <property name="buttonSymbols"> 6018 <enum>QAbstractSpinBox::NoButtons</enum> 6019 </property> 6020 <property name="suffix"> 6021 <string> evt/s</string> 6022 </property> 6023 <property name="maximum"> 6024 <number>2147483647</number> 6025 </property> 6026 </widget> 6027 </item> 6028 <item row="4" column="1"> 6029 <widget class="QSpinBox" name="fFadEvtBufNew"> 6030 <property name="alignment"> 6031 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 6032 </property> 6033 <property name="readOnly"> 6034 <bool>true</bool> 6035 </property> 6036 <property name="buttonSymbols"> 6037 <enum>QAbstractSpinBox::NoButtons</enum> 6038 </property> 6039 <property name="suffix"> 6040 <string> evts</string> 6041 </property> 6042 <property name="maximum"> 6043 <number>2147483647</number> 6044 </property> 6045 </widget> 6046 </item> 6047 <item row="0" column="2"> 6048 <widget class="QLabel" name="label_160"> 6049 <property name="text"> 6050 <string>Max in buffer</string> 6051 </property> 6052 <property name="alignment"> 6053 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 6054 </property> 6055 </widget> 6056 </item> 6057 <item row="3" column="1"> 6058 <widget class="QLabel" name="label_164"> 6059 <property name="text"> 6060 <string>Buffer contents</string> 6061 </property> 6062 <property name="alignment"> 6063 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 6064 </property> 6065 </widget> 6066 </item> 6067 <item row="3" column="2"> 6068 <widget class="QLabel" name="label_165"> 6069 <property name="text"> 6070 <string>New in buffer</string> 6071 </property> 6072 <property name="alignment"> 6073 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 6074 </property> 6075 </widget> 6076 </item> 6077 <item row="2" column="1"> 6078 <spacer name="verticalSpacer_30"> 6079 <property name="orientation"> 6080 <enum>Qt::Vertical</enum> 6081 </property> 6082 <property name="sizeType"> 6083 <enum>QSizePolicy::Fixed</enum> 6084 </property> 6085 <property name="sizeHint" stdset="0"> 6086 <size> 6087 <width>20</width> 6088 <height>10</height> 6089 </size> 6090 </property> 6091 </spacer> 6092 </item> 5743 6093 <item row="4" column="2"> 5744 6094 <widget class="QSpinBox" name="fFadEvtRateNew"> … … 5778 6128 </property> 5779 6129 </widget> 5780 </item>5781 <item row="1" column="2">5782 <widget class="QSpinBox" name="fFadEvtBufMax">5783 <property name="alignment">5784 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>5785 </property>5786 <property name="readOnly">5787 <bool>true</bool>5788 </property>5789 <property name="buttonSymbols">5790 <enum>QAbstractSpinBox::NoButtons</enum>5791 </property>5792 <property name="suffix">5793 <string> evt/s</string>5794 </property>5795 <property name="maximum">5796 <number>2147483647</number>5797 </property>5798 </widget>5799 </item>5800 <item row="4" column="1">5801 <widget class="QSpinBox" name="fFadEvtBufNew">5802 <property name="alignment">5803 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>5804 </property>5805 <property name="readOnly">5806 <bool>true</bool>5807 </property>5808 <property name="buttonSymbols">5809 <enum>QAbstractSpinBox::NoButtons</enum>5810 </property>5811 <property name="suffix">5812 <string> evts</string>5813 </property>5814 <property name="maximum">5815 <number>2147483647</number>5816 </property>5817 </widget>5818 </item>5819 <item row="0" column="2">5820 <widget class="QLabel" name="label_160">5821 <property name="text">5822 <string>Max in buffer</string>5823 </property>5824 <property name="alignment">5825 <set>Qt::AlignBottom|Qt::AlignHCenter</set>5826 </property>5827 </widget>5828 </item>5829 <item row="3" column="1">5830 <widget class="QLabel" name="label_164">5831 <property name="text">5832 <string>Buffer contents</string>5833 </property>5834 <property name="alignment">5835 <set>Qt::AlignBottom|Qt::AlignHCenter</set>5836 </property>5837 </widget>5838 </item>5839 <item row="3" column="2">5840 <widget class="QLabel" name="label_165">5841 <property name="text">5842 <string>New in buffer</string>5843 </property>5844 <property name="alignment">5845 <set>Qt::AlignBottom|Qt::AlignHCenter</set>5846 </property>5847 </widget>5848 </item>5849 <item row="2" column="1">5850 <spacer name="verticalSpacer_30">5851 <property name="orientation">5852 <enum>Qt::Vertical</enum>5853 </property>5854 <property name="sizeType">5855 <enum>QSizePolicy::Fixed</enum>5856 </property>5857 <property name="sizeHint" stdset="0">5858 <size>5859 <width>20</width>5860 <height>10</height>5861 </size>5862 </property>5863 </spacer>5864 6130 </item> 5865 6131 </layout> … … 6021 6287 </widget> 6022 6288 </item> 6023 <item row="5" column="4">6024 <widget class="QSpinBox" name="fFadEthernetRateTot">6025 <property name="alignment">6026 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>6027 </property>6028 <property name="readOnly">6029 <bool>true</bool>6030 </property>6031 <property name="buttonSymbols">6032 <enum>QAbstractSpinBox::NoButtons</enum>6033 </property>6034 <property name="suffix">6035 <string> kB/s</string>6036 </property>6037 <property name="maximum">6038 <number>1000000</number>6039 </property>6040 </widget>6041 </item>6042 6289 <item row="4" column="2"> 6043 6290 <widget class="QLabel" name="label_118"> … … 6141 6388 <property name="alignment"> 6142 6389 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 6390 </property> 6391 </widget> 6392 </item> 6393 <item row="5" column="4"> 6394 <widget class="QSpinBox" name="fFadEthernetRateTot"> 6395 <property name="alignment"> 6396 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 6397 </property> 6398 <property name="readOnly"> 6399 <bool>true</bool> 6400 </property> 6401 <property name="buttonSymbols"> 6402 <enum>QAbstractSpinBox::NoButtons</enum> 6403 </property> 6404 <property name="suffix"> 6405 <string> kB/s</string> 6406 </property> 6407 <property name="maximum"> 6408 <number>1000000</number> 6143 6409 </property> 6144 6410 </widget> … … 6361 6627 </widget> 6362 6628 </item> 6363 <item row="3" column="4">6364 <widget class="QSpinBox" name="fEvtBldEventId">6365 <property name="alignment">6366 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>6367 </property>6368 <property name="readOnly">6369 <bool>true</bool>6370 </property>6371 <property name="buttonSymbols">6372 <enum>QAbstractSpinBox::NoButtons</enum>6373 </property>6374 <property name="maximum">6375 <number>2147483647</number>6376 </property>6377 </widget>6378 </item>6379 6629 <item row="4" column="4"> 6380 6630 <widget class="QSpinBox" name="fEvtBldTriggerId"> … … 6424 6674 <property name="text"> 6425 6675 <string> \----></string> 6676 </property> 6677 </widget> 6678 </item> 6679 <item row="3" column="4"> 6680 <widget class="QSpinBox" name="fEvtBldEventId"> 6681 <property name="alignment"> 6682 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 6683 </property> 6684 <property name="readOnly"> 6685 <bool>true</bool> 6686 </property> 6687 <property name="buttonSymbols"> 6688 <enum>QAbstractSpinBox::NoButtons</enum> 6689 </property> 6690 <property name="maximum"> 6691 <number>2147483647</number> 6426 6692 </property> 6427 6693 </widget> … … 8866 9132 <x>0</x> 8867 9133 <y>0</y> 8868 <width>1 186</width>9134 <width>1203</width> 8869 9135 <height>21</height> 8870 9136 </rect> -
trunk/FACT++/src/EventBuilderWrapper.h
r11819 r11824 416 416 void LoadDrsCalibration(const char *fname) 417 417 { 418 DataCalib::ReadFits(fname, fMsg); 418 if (!DataCalib::ReadFits(fname, fMsg)) 419 return; 420 fMsg.Info("Successfully loaded DRS calibration from "+string(fname)); 421 DataCalib::Update(fDimDrsCalibration); 419 422 } 420 423 … … 813 816 } 814 817 818 uint32_t GetRunNumber() const 819 { 820 return fRunNumber; 821 } 822 815 823 void gotNewRun(int runnr, PEVNT_HEADER */*headers*/) 816 824 { -
trunk/FACT++/src/fadctrl.cc
r11817 r11824 1123 1123 // (Note that we might need another step which only checks if the continous trigger 1124 1124 // is wwitched off, too) 1125 fDimStartRun.Update(int64_t(runno)); 1125 const int64_t runs[2] = { runno, runno+1 }; 1126 fDimStartRun.Update(runs); 1126 1127 1127 1128 T::Info(" ==> TODO: Insert/update run configuration in database!"); … … 1544 1545 T(out, "FAD_CONTROL"), EventBuilderWrapper(*static_cast<MessageImp*>(this)), ba::io_service::work(static_cast<ba::io_service&>(*this)), 1545 1546 fStatus1(40), fStatus2(40), fStatusC(40), fStatusT(false), 1546 fDimStartRun("FAD_CONTROL/START_RUN", "X: 1", ""),1547 fDimStartRun("FAD_CONTROL/START_RUN", "X:2", ""), 1547 1548 fDimConnection("FAD_CONTROL/CONNECTIONS", "C:40;C:1", "") 1548 1549 { … … 1554 1555 // deletion and creation of threads and more. 1555 1556 1556 fDimStartRun.Update(int64_t(-1)); 1557 const int64_t runs[2] = { -1, GetRunNumber() }; 1558 fDimStartRun.Update(runs); 1557 1559 1558 1560 // State names
Note:
See TracChangeset
for help on using the changeset viewer.