- Timestamp:
- 03/14/12 19:27:19 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r12709 r13109 2004 2004 fBias.SetVerbose(!conf.Get<bool>("quiet")); 2005 2005 2006 fBias.SetEndpoint(conf.Get<string>("dev")); 2007 T::Message("Setting device to "+fBias.URL()); 2006 if (conf.Has("dev")) 2007 { 2008 fBias.SetEndpoint(conf.Get<string>("dev")); 2009 T::Message("Setting device to "+fBias.URL()); 2010 } 2008 2011 2009 2012 const uint16_t step = conf.Get<uint16_t>("ramp-step"); … … 2087 2090 // -------------------------------------------------------------------------- 2088 2091 2089 fBias.Connect(); 2092 if (conf.Has("dev")) 2093 fBias.Connect(); 2090 2094 2091 2095 return -1; … … 2108 2112 control.add_options() 2109 2113 ("no-dim,d", po_bool(), "Disable dim services") 2110 ("dev", var<string>( "FTE00FOH"),"Device address of USB port to bias-power supply")2114 ("dev", var<string>(), "Device address of USB port to bias-power supply") 2111 2115 ("quiet,q", po_bool(), "Disable printing contents of all received messages (except dynamic data) in clear text.") 2112 2116 ("ramp-delay", var<uint16_t>(15), "Delay between the answer of one ramping step and sending the next ramp command to all channels in milliseconds.")
Note:
See TracChangeset
for help on using the changeset viewer.