Timeline



03/27/13:

18:00 Changeset [15172] by tbretz
Changed the Mail class a bit to have the arrays as data members ReadOnly.
16:40 Changeset [15171] by tbretz
Updated.
16:40 Changeset [15170] by tbretz
I prefer this instead of the previous one
16:38 Changeset [15169] by tbretz
Updated the 'mailx' check:
16:23 Changeset [15168] by tbretz
Store a global set of all described services.
16:22 Changeset [15167] by tbretz
Added Split(), a wrapper around boost::split
16:21 Changeset [15166] by tbretz
A helper class to easily check the DATA_LOGGER/SUBSCRIPTIONS

03/26/13:

22:37 Changeset [15165] by tbretz
Updated the response to script submission; added the missing type to the audio source element - this makes sound work on mobile chrome and firefox.
22:36 Changeset [15164] by tbretz
Added missing output of user name in case of a successfull login (how did it disappear?)
17:42 Changeset [15163] by tbretz
Added some ifdef to make the datalogger also compile without libnova.
17:37 Changeset [15162] by tbretz
Allow the datalogger also to be in Logging. It just means that the 'run-file' was not yet closed, which doesn't matter.
17:37 Changeset [15161] by tbretz
Request 15 seconds of data for the underflow check. As soon as the requested event has arrived the run is stopped again anyway.
17:27 Changeset [15160] by tbretz
Check for 'mailx'
17:24 Changeset [15159] by tbretz
Added 'mailx' to the checked programs.
17:23 Changeset [15158] by tbretz
Fixed a typo in an exception.
17:18 Changeset [15157] by tbretz
Fixed a problem which could cause the fadctrl after a successsfull configuration to go first to WritingData (old file still open), Connected (old file closed) and WritingData again (new file open). Now it will only go to WritingData when the new file has been opened.
17:17 Changeset [15156] by tbretz
Implemented sendmail class (via mailx) Mail. Re-structured the exception handling to have a more clear structure for better maintainance.
17:16 Changeset [15155] by tbretz
Implemented a new 'user' which can be used to add entries for debugging to be able to seperate them from normal shift entries.
17:08 Changeset [15154] by Daniela Dorner
fixed logfile name
17:01 Changeset [15153] by lyard
changed close time of files from noon to 30 minutes after sunrise for faster transfer to archive. Also disabled writing of report file.

03/25/13:

09:54 Changeset [15152] by tbretz
Added desription for String.count
09:53 Changeset [15151] by tbretz
Updated dim.wait description.
09:52 Changeset [15150] by tbretz
dim.wait now uses undefined instead of null as the value for infinite wait.
09:50 Changeset [15149] by ftemme
changed the path to the configuration files in ceres.rc
09:35 Changeset [15148] by tbretz
Removed some debug output. Moved to a slightly less conservative threshold formula.
09:34 Changeset [15147] by tbretz
Log a message when a STOP command was received.
09:32 Changeset [15146] by tbretz
Catch the timeout when a run is started and check for FAD loss; removed the need stop the ratecontrol over and over when not necessary; added DRSCALIB and SINGLEPE task; make use of v8.timeout; adapted timeout when starting a run to the use of the current based threshold calibration; implemented timout for the run duration
09:28 Changeset [15145] by tbretz
Replaced blocking while by v8.timeout.
08:45 Changeset [15144] by ftemme
Added several configuration files for ceres in resmc/

03/23/13:

20:34 Changeset [15143] by tbretz
Fixed another problem with the display of exceptions in certain conditions.
20:10 Changeset [15142] by tbretz
Updated description of wait.
20:08 Changeset [15141] by tbretz
Allow null as third argument in dim.wait; return undefined in by include.

03/22/13:

23:28 Changeset [15140] by tbretz
Improved handling of exceptions coming from included files. This allows to catch exceptions from the included file.
22:45 Changeset [15139] by tbretz
Fixed a problem with the return value in the timeout function. The HandleScope was not properly closed. Just for sanity, I did that also for the Constructor calls in the Astronomy classes. Simplified the main loop in getData
17:31 Changeset [15138] by tbretz
Replaced the pre-compiled v8.sleep() by an ulock and a usleep, which should have the same effect; added the count function to the String object
17:14 Changeset [15137] by tbretz
Reoragnized and improved the output; instead of just waiting for the voltage to get up, we now wait until the steps between two ratecontrol induced updates are reasonably small. The pure waiting was too short (espacially during bright moon light) and might have effected a lot of pedestal and light-pulser runs. The waiting was typically 30s, but it can take up to two minutes.
17:12 Changeset [15136] by tbretz
Removed some obsolete check; close open files if any to avoid late arrival of events from previous runs as much as possible; for the same reason wait a second; fixed a bug in the event and drs_counter - both never really accessed the counter.
17:10 Changeset [15135] by tbretz
Connect of disconnected.
17:10 Changeset [15134] by tbretz
Connect and stop the FAD together with the other programs to get the corretc status for the feedback - if this gives trouble, we have to move it back and check for 'Disconnected' of the fadctrl before we can handle the Feedback states.
17:08 Changeset [15133] by tbretz
Fixed a typo in a service description.
17:06 Changeset [15132] by tbretz
Fixed a typo in a state description.
15:16 Changeset [15131] by ftemme
now only the WriteCamData file, not the WriteCamMC file gets a .fits suffix

03/21/13:

09:13 Changeset [15130] by tbretz
Some more updates to improve the log output and reduce the amount during normal data taking.
09:13 Changeset [15129] by tbretz
Added an additional sanity check in timeout.

03/20/13:

18:44 Changeset [15128] by tbretz
Do not print 'use strict' as result... this produces starnge results if somebody really wants to get that, but this is more unlikely than the 'use strict' annoying in the data stream.
14:38 Changeset [15127] by lyard
changed all sleep times to 1 usec
13:50 Changeset [15126] by lyard
fixed mem alloc and changed sleep time with Thomas

03/19/13:

18:23 Changeset [15125] by tbretz
Reorganized some code around the triming of comments to get more reasonable output.
16:59 Changeset [15124] by tbretz
Remove the 3D option kLabelsX which is not supported by newer root versions anymore.
13:25 Changeset [15123] by lyard
linked statistic window do drawPatch checkbox
09:38 Changeset [15122] by tbretz
Fixed a problem which occured when the status of both lids was empty before the first report after starting a move arrived.
09:34 Changeset [15121] by Jens Buss
fill additional distribution histogtrams
09:25 Changeset [15120] by Jens Buss
added distribution histograsms
09:24 Changeset [15119] by Jens Buss
add GetEdgePositions and GetMaxPositions to functions
09:22 Changeset [15118] by Jens Buss
add comments

03/18/13:

21:24 Changeset [15117] by tbretz
Moved reading of the schedule to the beginning of the file so that typos get noticed before all the rest of the startup procedure.
21:23 Changeset [15116] by tbretz
Small change in the order... for a little speed improvement.
21:23 Changeset [15115] by tbretz
Uncommented the _right_ lines :S
18:27 Changeset [15114] by tbretz
Fixed some typo in the recent commit.
17:16 Changeset [15113] by tbretz
Fixed a buggy example.
16:59 Changeset [15112] by tbretz
16:43 Changeset [15111] by tbretz
The name of the program has to be extracted from conf.GetName()
16:42 Changeset [15110] by tbretz
Removed default from file name resources.
16:42 Changeset [15109] by tbretz
Removed default from 'host'
16:41 Changeset [15108] by tbretz
Increased waiting time for the servers to come up to 10s
14:59 Changeset [15107] by tbretz
Added SUBSCRIPTIONS on the black list by default.
14:58 Changeset [15106] by tbretz
The operator comparing the static data now does not compare the threesholds anymore. Thus the ratecontrol can start already even before the the end of the configuration procedure ans the ftmctrl will stay in Configured.
14:57 Changeset [15105] by tbretz
Default is quiet mode now.
14:56 Changeset [15104] by tbretz
Allow to overwrite script depth (for java script procesing)
14:56 Changeset [15103] by tbretz
Handle the 'Power Problem' a bit more accurate.
14:55 Changeset [15102] by tbretz
Signal the base class about loading and ending so that it can access the readline script depth.
14:54 Changeset [15101] by tbretz
Set a script depth!=0 when a script is running to avoid smartfact doing the wrong sound.
14:54 Changeset [15100] by tbretz
Go to Locked state after a parking command. This is not ideal because it hides the movement, but avoids movements more efficient.
14:53 Changeset [15099] by tbretz
Output if new file format was set; do not update the Feedback data anymore
14:52 Changeset [15098] by tbretz
Improved and compacted output; disable feedback while voltage should be switched off (to avoid the command being rejacted because of the Ramping state); some logic fixed which could cause exceptions (e.g. trigger switched on during ratescan); added a safety check for the parking position at the end of the shutdown; fixed the messages printed before the main loop is started; added a check that the last event is a shutdown; added Idle task; implemented the new scheme with schedules observation with several measurements
14:44 Changeset [15097] by tbretz
Added how to look for an already open Subscription.
14:43 Changeset [15096] by tbretz
Fixed a typo in the output.
14:43 Changeset [15095] by tbretz
Convert ra/dec to fload (just to be sure)
14:42 Changeset [15094] by tbretz
Tries to improve a problem which cantake place when the script is re-started before the previous run is properly closed; improved output.
14:41 Changeset [15093] by tbretz
Removed some debug output.
14:40 Changeset [15092] by tbretz
Run a check if all servers are up and running after compilation; do not stop servers if compiling.lock still exists.
14:39 Changeset [15091] by tbretz
Improvements in output.
14:39 Changeset [15090] by tbretz
The script now determines from a link the name and residence of a program, so that by linking start.sh any program can be started.
14:38 Changeset [15089] by tbretz
Added dimserver as a standalone program (although being identical to dimctrl)
14:36 Changeset [15088] by tbretz
Fixed a typo in a log-message.
14:36 Changeset [15087] by tbretz
Send arguments with the START command, determine '--server' option from the program name.
14:35 Changeset [15086] by tbretz
Unify dimctrl and 'dimserver' (dimctrl --server)
14:34 Changeset [15085] by tbretz
To 'solve' the problem with the unordered_map MARS will now use a std::map. Fixed a problem which caused the ReadRow to write below the buffer - weird that this never resulted in any problem.

03/15/13:

13:57 Changeset [15084] by tbretz
Adapted to new style of writing a schedule.
13:56 Changeset [15083] by tbretz
Example for a schedule in the new style.
13:46 Changeset [15082] by tbretz
Some minor logic fixed around the bias crate calibration.
13:43 Changeset [15081] by tbretz
Fixed the deletion of alarms from the list
13:42 Changeset [15080] by tbretz
If alarms are cleared sending an empty string, it is not necessary to produce any output on the console.
13:41 Changeset [15079] by tbretz
It is not necessary anymore to send a fake empty strng in Comment or Alarm.
13:40 Changeset [15078] by tbretz
Emit an empty string if no arguments are given in dim.log
12:21 Changeset [15077] by tbretz
Added more examples for get()
12:21 Changeset [15076] by tbretz
Some small fixes to the text.
12:20 Changeset [15075] by tbretz
Do not add something to the history in the StaticPrompt if it is identical to the last history entry.
12:20 Changeset [15074] by tbretz
Added the new function v8.timeout
12:19 Changeset [15073] by tbretz
Implemented v8::timeout and let dim.getDescription return an object of type Description; some improvements to the exception handling of the java console, which ensures that (hopefully) all exceptions are handled and printed and that all of them are catched before the next execution; make sure that all threads are stopped before the return to the command line prompt; made the bahaviour of dim.wait more intuitive; fixed a bug which caused the thread-ids to be not correctly removed from the list after a thread terminated
11:57 Changeset [15072] by tbretz
Added exceptions to the descriptions.

03/14/13:

10:12 Changeset [15071] by tbretz
return does not exist if it is not a function which is called; run.data must be runs.data.
10:11 Changeset [15070] by tbretz
Fixed a problem with overwriting of an existing variable name in case of failure.
10:05 Changeset [15069] by tbretz
Added reading of pixel map and setting of initial thresholds for hot patches; implemented reading the configuration from the resources.
04:44 Changeset [15068] by Daniela Dorner
added additional variables
04:43 Changeset [15067] by Daniela Dorner
added (script to fill ratescan info to db)
04:43 Changeset [15066] by Daniela Dorner
added (script to fill thresholds to DB)
04:41 Changeset [15065] by Daniela Dorner
added crons for new scripts

03/13/13:

16:35 Changeset [15064] by tbretz
Do not store entries in the history which were the last entry (StaticPrompt)
16:04 Changeset [15063] by tbretz
Only change extension to fits when writing fits files requested.
16:03 Changeset [15062] by tbretz
fits files had the wrong extension.
15:53 Changeset [15061] by lyard
added configuration option for service list update interval
15:36 Changeset [15060] by lyard
added extra service and changed behaviour in case of format change for services
14:37 Changeset [15059] by tbretz
Fixed a typo in a function call and corrected the size of the THRESHOLD service.
14:36 Changeset [15058] by tbretz
Fixed a typo in an enum.
14:36 Changeset [15057] by tbretz
Fixed the format description of the DATA service.
14:35 Changeset [15056] by tbretz
Some minor improvements of the display
14:24 Changeset [15055] by tbretz
Removed the code dealing with the clock conditioner. There is now easy way to check that during configuration. This check has to be done continously somewhere else.
14:01 Changeset [15054] by tbretz
Do not report the clock conditioner to be unlocked if FTM is in state Configuring... it is always reported like this.
13:58 Changeset [15053] by tbretz
More verbose output
12:47 Changeset [15052] by tbretz
Increased timeout for check to 3s and added an error message. Removed the obsolete wait for service names.
11:24 Changeset [15051] by tbretz
There is no need anymore to check for the AGILENT_CONTROL state information, this is done by the previous checkStates already
11:23 Changeset [15050] by tbretz
Fixed a typo in a variable name.
11:17 Changeset [15049] by tbretz
Added --fits option to help text.
11:09 Changeset [15048] by tbretz
Some code cleanup; added throwing an execption if an underflow condition has been detected.
11:06 Changeset [15047] by tbretz
Renamed getService to getDescription
11:05 Changeset [15046] by tbretz
Renamed getService to getDescription
11:01 Changeset [15045] by tbretz
Added two new commands getService and getServices.
11:01 Changeset [15044] by tbretz
Rename command property to isCommand
10:49 Changeset [15043] by tbretz
Added new dim functions to get access to the description of a single service or the list of all available services.
10:49 Changeset [15042] by tbretz
Added JsGetServices and JsGetDescription
10:48 Changeset [15041] by tbretz
Use the lock guard where appropriate; added GetServiceList member function
10:47 Changeset [15040] by tbretz
10:47 Changeset [15039] by tbretz
Moved Service structure to Service.h

03/12/13:

19:36 Changeset [15038] by tbretz
display no time if no drs calib
18:24 Changeset [15037] by tbretz
Implemented reading configuration from resources for different run-types.
18:24 Changeset [15036] by tbretz
Use new CALIBRATE_RUN and propagate the run-type to the ratecontrol.
17:49 Changeset [15035] by tbretz
Removed some obsolete debug output.
17:47 Changeset [15034] by tbretz
Set the QoS to 2 if the calibration by currents succeeded.
08:40 Changeset [15033] by Jens Buss
uncommented save histograms
08:40 Changeset [15032] by Jens Buss
added configfile

03/11/13:

22:34 Changeset [15031] by tbretz
I cannot get the the size of the dim_data correctly eventhough it is packed... so I use an int32 instead so that everything is properly aligned.
22:33 Changeset [15030] by tbretz
Also reset the rate control state after the single-pe run.
22:32 Changeset [15029] by tbretz
Some fixes to get the new calibrate_by_currents working.
21:36 Changeset [15028] by tbretz
Fixed some typos
11:27 Changeset [15027] by tbretz
Added CALIBRATE_BY_CURRENT command which allows to set the global minimum threshold from the measured current.
09:40 Changeset [15026] by tbretz
Updated the ratescan part.

03/10/13:

16:56 Changeset [15025] by tbretz
Issue an error message if the command could not be sent.
16:53 Changeset [15024] by tbretz
Pipe return code so that it can correctly be restarted by start.sh
16:45 Changeset [15023] by tbretz
Removed the obsolete WriteFitsImp from the class definition.
16:45 Changeset [15022] by tbretz
Added some more sanity checks for the dim services.
16:35 Changeset [15021] by tbretz
Added --restart to the dimctrl which avoids the need to know the magic number which makes start.sh restart the program.
16:29 Changeset [15020] by tbretz
Added missing CoolingFailure state.
16:06 Changeset [15019] by tbretz
Added Dim service with calibrated currents.
15:01 Changeset [15018] by tbretz
StartScript need not to return Loading already, loading will be set when there is really somthing being loaded.
14:59 Changeset [15017] by tbretz
Changed return codes from EvalOption such that 0 means 'stop, but everything is ok'
14:42 Changeset [15016] by tbretz
Improved output.
12:32 Changeset [15015] by tbretz
Fixed complete messed includes; moved them where they belong, to the source files where possible.
12:21 Changeset [15014] by tbretz
First attempt fix complety spoiled inclusions.
12:12 Changeset [15013] by tbretz
Fixed name of data member.
12:09 Changeset [15012] by tbretz
Allow 9deg temp difference between outside and camera.
12:09 Changeset [15011] by tbretz
Small fixes on last commit.
12:08 Changeset [15010] by tbretz
Added Getter for start and stop time.
12:02 Changeset [15009] by tbretz
Replaced WriteFitsImp by fData.WriteFitsImp; added storage of begin and end time of runs in the corresponding new data members; when the dim service is updated, use a reasonable time-stamp for it.
11:59 Changeset [15008] by tbretz
Added data mebers to store begin and end date of runs and drs calib; added reading and writing of these data-members.
11:18 Changeset [15007] by tbretz
Added some output before the main loop to simplify detection of wrong schedules.
11:13 Changeset [15006] by tbretz
Added initializer from an ISO string, fixed the wrong ISO format description in Time::iso.

03/09/13:

16:40 Changeset [15005] by tbretz
Implemented alternating wobble positions.
16:27 Changeset [15004] by tbretz
Code cleanup.
13:42 Changeset [15003] by tbretz
Make it compile also with the older g++ on gate.
13:41 Changeset [15002] by tbretz
Updated help text.
13:41 Changeset [15001] by tbretz
Redirect message about connection to database to cerr instead of cout.
13:40 Changeset [15000] by tbretz
Changed command from --batch to --start
13:40 Changeset [14999] by tbretz
Call java scripts from the control pages; added checkboxes as control elements; added the possibility to have no data file available if there is nothing to be displayed on the page; allow to give a script name on control pages
11:07 Changeset [14998] by tbretz
Worked around the problem that sometimes (reason still to be found) obj['status'] is undefined; wait for the Rate control to really get to Idle afte a DRS calibration; throw an error rather than printing an error message. we are not yet there that we do not have to alarm the shifters by a red exception message; slightly increased the timeout after a STOP has been sent to the drive (it seems 3s was not enough, although I do not understand why it could take 4.2s, but it did); added Ramping state to the list of allowed states. That's not ideal, but it is pretty unlikely that the system is errornously in Ramping. This can only happen if somebody manually interacts with the system
11:03 Changeset [14997] by tbretz
Throw an exception rather than printing an error message. We are not yet there that we don't have to alarm the user by red alert messages.
11:03 Changeset [14996] by tbretz
Added a reset of the MCP at an early stage to get it out of a possible Configuring state. Added missing spaces in the exception message.
11:02 Changeset [14995] by tbretz
Added some missing text for dim.wait
11:01 Changeset [14994] by tbretz
Avoid to output results of internal functions (ExecuteCode called with file=='internal')

03/08/13:

15:59 Changeset [14993] by tbretz
Changed Next() in a way that it is not self-referencing anymore.... caused stack overflows with long lists.

03/07/13:

10:10 Changeset [14992] by lyard
Made message in case of service format change more explicit
09:56 Changeset [14991] by tbretz
Added calibration start and calibration end time to RATE_CONTROL/THRESHOLD and send QoS to signal what kind of result we have.

03/06/13:

23:29 Changeset [14990] by tbretz
Made some log output more clear
23:29 Changeset [14989] by tbretz
Fixed a bug which could cause listing data to fail more or less randomly.

03/05/13:

13:29 Changeset [14988] by tbretz
If there was no report yet at all, state disconnected is returned.

03/04/13:

20:52 Changeset [14987] by tbretz
Print result went it is NOT undefined, not when it is undefined.
20:51 Changeset [14986] by tbretz
Added JsResult to print the result of executed code.
20:15 Changeset [14985] by tbretz
Added .java command to run an interactive console; do not return an updated prompt if a script (the console) is running; during script execution this function should not be called, because no console should be displayed anyway
20:14 Changeset [14984] by tbretz
Update the prompt in regular intervals even if GetUpdatePrompt returns nothing; added ::Static* functions which allow to run a simplified version of readline
20:13 Changeset [14983] by tbretz
Implemented to possibility to run an interactive javascript interpreter.
20:12 Changeset [14982] by tbretz
Fixed a small bug in the arguments of dim.state
17:11 Changeset [14981] by tbretz
Allow both types of escape characters ' and "
17:06 Changeset [14980] by tbretz
Removed old obsolete values
17:06 Changeset [14979] by tbretz
Added the possibility to have colored lines in graphics; adaptes culmination and current prediction accordingly -- maybe colors still need adaption.
15:04 Changeset [14978] by tbretz
Added include for array.hpp - needed for newer boost versions
12:13 Changeset [14977] by tbretz
Do not compile simulated hardware (ftm, fsc, fad) by default.
12:11 Changeset [14976] by tbretz
Replaced deprecated io_service() by get_io_service()
11:12 Changeset [14975] by tbretz
Updated IP address of database server.
11:11 Changeset [14974] by tbretz
A small change to the way a JS exception is output, to make it look nicer.
11:11 Changeset [14973] by tbretz
Send a STOP to the rate control after the DRS calibration to get it out of the GlobalThresholdSet state which is automatically set if non-physics events are taken.
11:09 Changeset [14972] by tbretz
Replaced dim.print by dim.log
11:08 Changeset [14971] by tbretz
Replaced dim.print by dim.log
11:08 Changeset [14970] by tbretz
Make sure that if the fadctrl was newly started there is no crash because the service with the drs runs is empty.
11:07 Changeset [14969] by tbretz
Replaced dim.print by dim.log
11:06 Changeset [14968] by tbretz
Replaced dim.print by dim.log
11:05 Changeset [14967] by tbretz
Fixed a bug introduced in the name of FAD_CONTRON/CONNECTIONS recently.

03/01/13:

12:21 Changeset [14966] by tbretz
Removed an obsolete line left from debugging.
12:20 Changeset [14965] by tbretz
Added ___warn___

02/28/13:

09:38 Changeset [14964] by tbretz
Removed obsolete old variables.

02/27/13:

12:31 Changeset [14963] by Jens Buss
BinLowEdge to BinCenter
12:25 Changeset [14962] by Jens Buss
bootstapping>: bin values extracted from bincenter

02/25/13:

15:48 Changeset [14961] by tbretz
Make sure that the stoi if failing cannot crash the program.
14:41 Changeset [14960] by tbretz
Fixed a compilation issue Etienne had introduced with his latest changes.
14:30 Changeset [14959] by tbretz
Forgot some comments around some new not yet useful code.
14:08 Changeset [14958] by tbretz
Removed a stray whitespace.
11:52 Changeset [14957] by tbretz
Somebody fixed the comments printed to the console...
11:51 Changeset [14956] by tbretz
The locking of the clock conditioner cannot be checked during configuration because the first report after configuration always states that it is not locked. However, if the trigger is switched on, it can be checked continously.
11:48 Changeset [14955] by tbretz
Use an IP Address from the internal network to find the correct IP Address. In all other cases the traffic could be routed through the external address which would lead wrong results.
11:46 Changeset [14954] by tbretz
Added run-type single-pe, although I am not sure it is currently in use, but it is in the config database.
11:29 Changeset [14953] by tbretz
Added the possibility to send OPEN and CLOSE even if the status of the lids is not precisely known.
Note: See TracTimeline for information about the timeline view.