Definition at line 2285 of file biasctrl.cc.
References Configuration::AddOptions(), and po_bool().
Referenced by main().
2287 po::options_description control(
"BIAS control options");
2288 control.add_options()
2289 (
"no-dim,d",
po_bool(),
"Disable dim services")
2290 (
"dev", var<string>(),
"Device address of USB port to bias-power supply")
2291 (
"quiet,q",
po_bool(
true),
"Disable printing contents of all received messages (except dynamic data) in clear text.")
2292 (
"dummy-mode",
po_bool(),
"Dummy mode - SetAllChannels prints info instead of sending new values.")
2293 (
"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.")
2294 (
"ramp-step", var<uint16_t>(46),
"Maximum step in DAC counts during ramping (Volt = DAC*90/4096)")
2295 (
"update-interval", var<uint32_t>(3000),
"Interval between two current requests in milliseconds")
2296 (
"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")
2297 (
"volt-max-abs", var<float>(75),
"Absolte upper limit for the voltage (in Volts)")
2298 (
"volt-max-rel", var<float>(3.5),
"Relative upper limit for the voltage w.r.t. the G-APD reference voltage (in Volts)")
2299 (
"bias-map-file", var<string>(),
"File with nominal and offset voltages for each channel.")
2300 (
"bias-database", var<string>(),
"")
2301 (
"emergency-limit", var<uint16_t>(2200),
"A current limit in ADC counts which, if exceeded, will initiate an emergency shutdown (0=off)")
void AddOptions(const po::options_description &opt, bool visible=true)
po::typed_value< bool > * po_bool(bool def=false)