Changeset 12090
- Timestamp:
- 09/13/11 14:43:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r12061 r12090 622 622 for (int ch=0; ch<kNumChannels; ch++) 623 623 { 624 // FIXME: dac[ch] += calib_offset 624 625 const vector<char> cmd = GetCmd(kCmdChannelSet, ch, dac[ch]); 625 626 data.insert(data.end(), cmd.begin(), cmd.end()); … … 1100 1101 Warn(msg); 1101 1102 1103 // FIXME: dac += calib_offset 1102 1104 PostMessage(GetCmd(kCmdChannelSet, ch, dac)); 1103 1105 AsyncRead(ba::buffer(fBuffer, 3), kExpertChannelSet|(ch<<8), ++fSendCounter); … … 1898 1900 int EvalOptions(Configuration &conf) 1899 1901 { 1902 // FIXME: Read calib_offset 1903 // FIXME: Check calib offset being smaller than +/-0.25V 1904 1900 1905 fBias.SetVerbose(!conf.Get<bool>("quiet")); 1901 1906 … … 1994 1999 ("ramp-step", var<uint16_t>(46), "Maximum step in DAC counts during ramping (Volt = DAC*90/4096)") 1995 2000 ("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") 1997 2002 ("volt-max-abs", var<float>(75), "Absolte upper limit for the voltage (in Volts)") 1998 2003 ("volt-max-rel", var<float>(2.5), "Relative upper limit for the voltage w.r.t. the G-APD reference voltage (in Volts)") … … 2032 2037 void PrintHelp() 2033 2038 { 2039 Main::PrintHelp<StateMachineBias<StateMachine,ConnectionBias>>(); 2040 2034 2041 /* Additional help text which is printed after the configuration 2035 2042 options goes here */
Note:
See TracChangeset
for help on using the changeset viewer.