Ignore:
Timestamp:
10/15/15 20:55:12 (9 years ago)
Author:
dneise
Message:
found the mistake, that lead to an exception without any more information. The 'names' in SetupConfiguration and EvalOPtions must of course be that same, if they are not. One gets an exception ... but not a little bit more ... really awesome.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/fscctrl_safety_limits/src/fscctrl.cc

    r18343 r18344  
    11831183        fFSC.SetPositionsBias(v2);
    11841184
    1185         fFSC.SetEthernetSwitchCurrentLimit( conf.Get<double>("ethernet_switch") );
    1186         fFSC.SetFFCcurrentLimit( conf.Get<double>("FFC") );
    1187         fFSC.SetFLPcurrentLimit( conf.Get<double>("FLP") );
    1188         fFSC.SetFADdigitalCurrentLimit( conf.Get<double>("FAD_digital") );
    1189         fFSC.SetFADnegativeCurrentLimit( conf.Get<double>("FAD_negative") );
    1190         fFSC.SetFADpositiveCurrentLimit( conf.Get<double>("FAD_positive") );
    1191         fFSC.SetFPAdigitalCurrentLimit( conf.Get<double>("FPA_digital") );
    1192         fFSC.SetFPAnegativeCurrentLimit( conf.Get<double>("FPA_negative") );
    1193         fFSC.SetFPApositiveCurrentLimit( conf.Get<double>("FPA_positive") );
     1185        fFSC.SetEthernetSwitchCurrentLimit( conf.Get<double>("max-current.ethernet-switch") );
     1186        fFSC.SetFFCcurrentLimit( conf.Get<double>("max-current.FFC") );
     1187        fFSC.SetFLPcurrentLimit( conf.Get<double>("max-current.FLP") );
     1188        fFSC.SetFADdigitalCurrentLimit( conf.Get<double>("max-current.FAD-digital") );
     1189        fFSC.SetFADnegativeCurrentLimit( conf.Get<double>("max-current.FAD-negative") );
     1190        fFSC.SetFADpositiveCurrentLimit( conf.Get<double>("max-current.FAD-positive") );
     1191        fFSC.SetFPAdigitalCurrentLimit( conf.Get<double>("max-current.FPA-digital") );
     1192        fFSC.SetFPAnegativeCurrentLimit( conf.Get<double>("max-current.FPA-negative") );
     1193        fFSC.SetFPApositiveCurrentLimit( conf.Get<double>("max-current.FPA-positive") );
    11941194
    11951195        SetEndpoint(conf.Get<string>("addr"));
Note: See TracChangeset for help on using the changeset viewer.