Changeset 12061
- Timestamp:
- 09/11/11 12:03:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r12050 r12061 1758 1758 T::AddEvent("RESET_OVER_CURRENT_STATUS", kOverCurrent) 1759 1759 (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."); 1761 1761 1762 1762 … … 1764 1764 T::AddEvent("SET_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent) 1765 1765 (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)"); 1767 1768 1768 1769 T::AddEvent("SET_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent) 1769 1770 (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."); 1771 1773 1772 1774 T::AddEvent("INCREASE_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent) 1773 1775 (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)"); 1775 1778 1776 1779 T::AddEvent("INCREASE_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent) 1777 1780 (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"); 1779 1783 1780 1784 T::AddEvent("DECREASE_GLOBAL_VOLTAGE", "F:1", kConnected, kAtReference, kOverCurrent) 1781 1785 (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)"); 1783 1788 1784 1789 T::AddEvent("DECREASE_GLOBAL_DAC", "S:1", kConnected, kAtReference, kOverCurrent) 1785 1790 (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"); 1787 1793 1788 1794 T::AddEvent("SET_CHANNEL_VOLTAGE", "S:1;F:1", kConnected, kAtReference, kOverCurrent) 1789 1795 (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)"); 1791 1799 1792 1800 T::AddEvent("SET_CHANNEL_DAC", "S:1;S:1", kConnected, kAtReference, kOverCurrent) 1793 1801 (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"); 1795 1805 1796 1806 T::AddEvent("SET_GLOBAL_GAPD_REFERENCE_VOLTAGE", kConnected, kAtReference, kOverCurrent) … … 1800 1810 T::AddEvent("SET_CHANNEL_GAPD_REFERENCE_VOLTAGE", "S:1", kConnected, kAtReference, kOverCurrent) 1801 1811 (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]"); 1803 1814 1804 1815 T::AddEvent("SET_GAPD_REFERENCE_OFFSET", "F:1", kConnected, kAtReference, kOverCurrent) 1805 1816 (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"); 1807 1819 1808 1820 T::AddEvent("SET_ZERO_VOLTAGE", kConnected, kAtReference, kOverCurrent) … … 1812 1824 T::AddEvent("SET_REFERENCE_VOLTAGES", "F:416", kConnected, kAtReference, kOverCurrent) 1813 1825 (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"); 1815 1828 1816 1829 T::AddEvent("SET_REFERENCE_DACS", "S:416", kConnected, kAtReference, kOverCurrent) 1817 1830 (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"); 1819 1833 1820 1834 T::AddEvent("ADD_REFERENCE_VOLTAGES", "F:416", kConnected, kAtReference, kOverCurrent) 1821 1835 (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"); 1823 1838 1824 1839 T::AddEvent("ADD_REFERENCE_DACS", "S:416", kConnected, kAtReference, kOverCurrent) 1825 1840 (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"); 1827 1843 1828 1844
Note:
See TracChangeset
for help on using the changeset viewer.