Changeset 12061


Ignore:
Timestamp:
09/11/11 12:03:40 (13 years ago)
Author:
tbretz
Message:
Added command descriptions.
File:
1 edited

Legend:

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

    r12050 r12061  
    17581758        T::AddEvent("RESET_OVER_CURRENT_STATUS", kOverCurrent)
    17591759            (Wrapper(bind(&ConnectionBias::OverCurrentReset, &fBias)))
    1760             ("NOT YET TESTED");
     1760            ("Set all channels in over current state to 0V and send a system reset to reset the over current flags.");
    17611761
    17621762
     
    17641764        T::AddEvent("SET_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent)
    17651765            (bind(&StateMachineBias::SetGlobalVolt, this, placeholders::_1))
    1766             ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1766            ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1767             "|voltage[V]:Global target voltage in volts (will be converted to DAC units)");
    17671768
    17681769        T::AddEvent("SET_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent)
    17691770            (bind(&StateMachineBias::SetGlobalDac, this, placeholders::_1))
    1770             ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1771            ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1772             "|voltage[dac]:Global target voltage as DAC counts.");
    17711773
    17721774        T::AddEvent("INCREASE_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent)
    17731775            (bind(&StateMachineBias::IncGlobalVolt, this, placeholders::_1))
    1774             ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1776            ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1777             "|offset[V]:Offset to be added to all channels (will be converted to DAC counts)");
    17751778
    17761779        T::AddEvent("INCREASE_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent)
    17771780            (bind(&StateMachineBias::IncGlobalDac, this, placeholders::_1))
    1778             ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1781            ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1782             "|offset[dac]:Offset to be added to all channels as DAC counts");
    17791783
    17801784        T::AddEvent("DECREASE_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent)
    17811785            (bind(&StateMachineBias::DecGlobalVolt, this, placeholders::_1))
    1782             ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1786            ("Set all channels to a new reference voltage. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1787             "|offset[V]:Offset to be subtracted from all channels (will be converted to DAC counts)");
    17831788
    17841789        T::AddEvent("DECREASE_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent)
    17851790            (bind(&StateMachineBias::DecGlobalDac, this, placeholders::_1))
    1786             ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)");
     1791            ("Set all channels to a new DAC reference. Starts ramping if necessary. (This command is not realized with the GLOBAL SET command.)"
     1792             "|offset[dac]:Offset to be subtracted from all channels as DAC counts");
    17871793
    17881794        T::AddEvent("SET_CHANNEL_VOLTAGE", "S:1;F:1", kConnected, kAtReference, kOverCurrent)
    17891795            (bind(&StateMachineBias::SetChannelVolt, this, placeholders::_1))
    1790             ("Set a single channel a new reference voltage. Starts ramping if necessary.");
     1796            ("Set a single channel to a new reference voltage. Starts ramping if necessary."
     1797             "|channel[short]:Channel for which to set the target voltage [0-416]"
     1798             "|voltage[V]:Target voltage in volts for the given channel (will be converted to DAC units)");
    17911799
    17921800        T::AddEvent("SET_CHANNEL_DAC", "S:1;S:1", kConnected, kAtReference, kOverCurrent)
    17931801            (bind(&StateMachineBias::SetChannelDac, this, placeholders::_1))
    1794             ("Set a single channel a new DAC reference value. Starts ramping if necessary.");
     1802            ("Set a single channel to a new DAC reference value. Starts ramping if necessary."
     1803             "|channel[short]:Channel for which to set the target voltage [0-416]"
     1804             "|voltage[dac]:Target voltage in DAC units for the given channel");
    17951805
    17961806        T::AddEvent("SET_GLOBAL_GAPD_REFERENCE_VOLTAGE", kConnected, kAtReference, kOverCurrent)
     
    18001810        T::AddEvent("SET_CHANNEL_GAPD_REFERENCE_VOLTAGE", "S:1", kConnected, kAtReference, kOverCurrent)
    18011811            (bind(&StateMachineBias::SetGapdReferenceCh, this, placeholders::_1))
    1802             ("Set a single channel channels to its G-APD reference voltage. Starts ramping if necessary.");
     1812            ("Set a single channel channels to its G-APD reference voltage. Starts ramping if necessary."
     1813             "|channel[short]:Channel for which to set the target voltage [0-416]");
    18031814
    18041815        T::AddEvent("SET_GAPD_REFERENCE_OFFSET", "F:1", kConnected, kAtReference, kOverCurrent)
    18051816            (bind(&StateMachineBias::SetGapdVoltage, this, placeholders::_1))
    1806             ("Set all channels to their G-APD reference voltage plus the given offset. Starts ramping if necessary.");
     1817            ("Set all channels to their G-APD reference voltage plus the given offset. Starts ramping if necessary."
     1818             "|offset[V]:Offset to be added to teh G-APD reference voltage globally");
    18071819
    18081820        T::AddEvent("SET_ZERO_VOLTAGE", kConnected, kAtReference, kOverCurrent)
     
    18121824        T::AddEvent("SET_REFERENCE_VOLTAGES", "F:416", kConnected, kAtReference, kOverCurrent)
    18131825            (bind(&StateMachineBias::SetReferenceVolt, this, placeholders::_1))
    1814             ("");
     1826            ("Set all channels to the given new reference voltage. Starts ramping if necessary."
     1827             "voltage[V]:New reference voltage for all channels");
    18151828
    18161829        T::AddEvent("SET_REFERENCE_DACS", "S:416", kConnected, kAtReference, kOverCurrent)
    18171830            (bind(&StateMachineBias::SetReferenceDac, this, placeholders::_1))
    1818             ("");
     1831            ("Set all channels to the given new reference voltage. Starts ramping if necessary."
     1832             "voltage[dac]:New reference voltage for all channels in DAC units");
    18191833
    18201834        T::AddEvent("ADD_REFERENCE_VOLTAGES", "F:416", kConnected, kAtReference, kOverCurrent)
    18211835            (bind(&StateMachineBias::AddReferenceVolt, this, placeholders::_1))
    1822             ("");
     1836            ("Add the given voltages to the current reference voltages. Starts ramping if necessary."
     1837             "offset[V]:Offsets to be added to the reference voltage of all channels in volts");
    18231838
    18241839        T::AddEvent("ADD_REFERENCE_DACS", "S:416", kConnected, kAtReference, kOverCurrent)
    18251840            (bind(&StateMachineBias::AddReferenceDac, this, placeholders::_1))
    1826             ("");
     1841            ("Add the given voltages to the current reference voltages. Starts ramping if necessary."
     1842             "offset[dac]:Offsets to be added to the reference voltage of all channels in DAC units");
    18271843
    18281844
Note: See TracChangeset for help on using the changeset viewer.