Changeset 12090


Ignore:
Timestamp:
09/13/11 14:43:41 (13 years ago)
Author:
tbretz
Message:
Increased sync-delay from 333ms to 500ms; added commands and states to help output.
File:
1 edited

Legend:

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

    r12061 r12090  
    622622        for (int ch=0; ch<kNumChannels; ch++)
    623623        {
     624            // FIXME: dac[ch] += calib_offset
    624625            const vector<char> cmd = GetCmd(kCmdChannelSet, ch, dac[ch]);
    625626            data.insert(data.end(), cmd.begin(), cmd.end());
     
    11001101        Warn(msg);
    11011102
     1103        // FIXME: dac += calib_offset
    11021104        PostMessage(GetCmd(kCmdChannelSet, ch, dac));
    11031105        AsyncRead(ba::buffer(fBuffer, 3), kExpertChannelSet|(ch<<8), ++fSendCounter);
     
    18981900    int EvalOptions(Configuration &conf)
    18991901    {
     1902        // FIXME: Read calib_offset
     1903        // FIXME: Check calib offset being smaller than +/-0.25V
     1904
    19001905        fBias.SetVerbose(!conf.Get<bool>("quiet"));
    19011906
     
    19941999        ("ramp-step",       var<uint16_t>(46),   "Maximum step in DAC counts during ramping (Volt = DAC*90/4096)")
    19952000        ("update-interval", var<uint16_t>(3000), "Interval between two current requests in milliseconds")
    1996         ("sync-delay",      var<uint16_t>(333),  "Delay between sending the inital 0's after a newly established connection to synchronize the output stream in milliseconds")
     2001        ("sync-delay",      var<uint16_t>(500),  "Delay between sending the inital 0's after a newly established connection to synchronize the output stream in milliseconds")
    19972002        ("volt-max-abs",    var<float>(75),      "Absolte upper limit for the voltage (in Volts)")
    19982003        ("volt-max-rel",    var<float>(2.5),     "Relative upper limit for the voltage w.r.t. the G-APD reference voltage (in Volts)")
     
    20322037void PrintHelp()
    20332038{
     2039    Main::PrintHelp<StateMachineBias<StateMachine,ConnectionBias>>();
     2040
    20342041    /* Additional help text which is printed after the configuration
    20352042     options goes here */
Note: See TracChangeset for help on using the changeset viewer.