Changeset 11160


Ignore:
Timestamp:
06/24/11 12:23:57 (13 years ago)
Author:
tbretz
Message:
Added ENABLE_CONTINOUS_TRIGGER
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fadctrl.cc

    r11156 r11160  
    12301230                    stat1[idx] = 0;
    12311231                    nclosed1++;
     1232
     1233                    DisconnectSlot(idx);
    12321234                }
    12331235                if (c->IsConnecting())
     
    13791381            (boost::bind(&StateMachineFAD::CmdEnable, this, _1, FAD::kCmdDwrite))
    13801382            ("Set Dwrite (possibly high / always low)");
     1383        T::AddEvent("ENABLE_CONTINOUS_TRIGGER", "B:1")
     1384            (boost::bind(&StateMachineFAD::CmdEnable, this, _1, FAD::kCmdContTrigger))
     1385            ("Enable continous (internal) trigger.");
     1386        T::AddEvent("ENABLE_TRIGGER_LINE", "B:1")
     1387            (boost::bind(&StateMachineFAD::CmdEnable, this, _1, FAD::kCmdTriggerLine))
     1388            ("Incoming triggers can be accepted/will not be accepted");
    13811389        T::AddEvent("SET_DEBUG_MODE", "B:1")
    13821390            (boost::bind(&StateMachineFAD::CmdEnable, this, _1, FAD::kCmdSocket))
    13831391            ("Set debug mode (yes: dump events through command socket, no=dump events through other sockets)");
    1384         T::AddEvent("ENABLE_TRIGGER_LINE", "B:1")
    1385             (boost::bind(&StateMachineFAD::CmdEnable, this, _1, FAD::kCmdTriggerLine))
    1386             ("Incoming triggers can be accepted/will not be accepted");
     1392
    13871393        T::AddEvent("SET_TRIGGER_RATE", "I:1")
    13881394            (boost::bind(&StateMachineFAD::SetTriggerRate, this, _1))
     
    14041410            ("Adjust ADC phase (in 'steps')");
    14051411
    1406         T::AddEvent("CONTINOUS_TRIGGER_ON")
    1407             (boost::bind(&StateMachineFAD::Cmd, this, FAD::kCmdContTriggerOn))
    1408             ("");
    1409         T::AddEvent("CONTINOUS_TRIGGER_OFF")
    1410             (boost::bind(&StateMachineFAD::Cmd, this, FAD::kCmdContTriggerOff))
    1411             ("");
    1412 
    14131412        T::AddEvent("RESET_TRIGGER_ID")
    14141413            (boost::bind(&StateMachineFAD::Cmd, this, FAD::kCmdResetTriggerId))
Note: See TracChangeset for help on using the changeset viewer.