# # ChangeLog for trunk/FACT++/scripts # # Generated by Trac 1.5.2 # 11/25/24 02:09:02 Fri, 21 Jun 2013 21:29:13 GMT tbretz [16883] * trunk/FACT++/scripts/handleFtmIdle.js (modified) Fixed two typos. Thu, 20 Jun 2013 20:54:47 GMT tbretz [16875] * trunk/FACT++/scripts/doCrateReset.js (modified) Fixed an issue with the detection of the 'camera' argument. Thu, 20 Jun 2013 20:54:15 GMT tbretz [16874] * trunk/FACT++/scripts/CheckStates.js (modified) Direct the output in case of wrong states to the dim log. Tue, 18 Jun 2013 14:58:41 GMT tbretz [16864] * trunk/FACT++/scripts/Main.js (modified) Fixed the twilight check Mon, 17 Jun 2013 13:16:13 GMT tbretz [16861] * trunk/FACT++/scripts/Hist2D.js (modified) Indentation cosmetics. Mon, 17 Jun 2013 12:58:02 GMT tbretz [16860] * trunk/FACT++/scripts/takeRun.js (modified) Added 'use strict' Mon, 17 Jun 2013 12:57:46 GMT tbretz [16859] * trunk/FACT++/scripts/doCrateReset.js (modified) Added 'use strict' Mon, 17 Jun 2013 12:57:28 GMT tbretz [16858] * trunk/FACT++/scripts/Main.js (modified) Fixed a typo: Should be var, not int Mon, 17 Jun 2013 12:57:06 GMT tbretz [16857] * trunk/FACT++/scripts/handleAgilentPowerOn.js (modified) * trunk/FACT++/scripts/handleBiasVoltageOff.js (modified) * trunk/FACT++/scripts/handleDriveArmed.js (modified) * trunk/FACT++/scripts/handleFadConnected.js (modified) * trunk/FACT++/scripts/handleFeedbackConnected.js (modified) * trunk/FACT++/scripts/handleFscConnected.js (modified) * trunk/FACT++/scripts/handleFtmIdle.js (modified) * trunk/FACT++/scripts/handleFtuCheck.js (modified) * trunk/FACT++/scripts/handleLidClosed.js (modified) * trunk/FACT++/scripts/handlePwrCameraOn.js (modified) * trunk/FACT++/scripts/handleRatectrlConnected.js (modified) Added the 'use strict' Sat, 15 Jun 2013 17:11:51 GMT tbretz [16853] * trunk/FACT++/scripts/Main.js (modified) Replaced some console.out by dim.log; take only 1min runs during ... Sat, 15 Jun 2013 17:08:58 GMT tbretz [16852] * trunk/FACT++/scripts/takeRun.js (modified) Some changes to the output, replaced some console.out by dim.log Sat, 15 Jun 2013 17:08:23 GMT tbretz [16851] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Changed underflow level from 650 to 600; replaced some console.out by ... Fri, 14 Jun 2013 10:16:37 GMT tbretz [16842] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Updated some output. Fri, 14 Jun 2013 10:15:17 GMT tbretz [16841] * trunk/FACT++/scripts/Main.js (modified) Added the possibility to interrupt the script peacefully; changed to ... Fri, 14 Jun 2013 10:12:15 GMT tbretz [16839] * trunk/FACT++/scripts/takeRun.js (modified) Some updates on the output; removed an obsolete wait for MCP Idle. Fri, 14 Jun 2013 10:11:36 GMT tbretz [16838] * trunk/FACT++/scripts/handleLidClosed.js (modified) Try a CLOSE, if the LID is in the state 'Unknown' - might still need ... Thu, 13 Jun 2013 19:52:35 GMT tbretz [16829] * trunk/FACT++/scripts/doc/dimctrl.js (modified) Updated. Thu, 13 Jun 2013 19:51:46 GMT tbretz [16828] * trunk/FACT++/scripts/handleFtmIdle.js (modified) In Configured2 we do just wait. Thu, 13 Jun 2013 19:51:08 GMT tbretz [16827] * trunk/FACT++/scripts/handleFadConnected.js (modified) Make sure all boards are connected. Mon, 10 Jun 2013 16:25:04 GMT tbretz [16804] * trunk/FACT++/scripts/doc/dimctrl.js (modified) Updated the description of setInterruptHandler and added triggerInterrupt Mon, 10 Jun 2013 11:04:19 GMT tbretz [16798] * trunk/FACT++/scripts/Main.js (modified) Reoragnized the logging output, to get closer to a final version ... Mon, 10 Jun 2013 11:03:05 GMT tbretz [16797] * trunk/FACT++/scripts/handleDriveArmed.js (modified) Improved output when a command is sent. Mon, 10 Jun 2013 11:02:44 GMT tbretz [16796] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Wait for ftmctrl to be in Valid not Idle; changed the level to detect ... Mon, 10 Jun 2013 11:02:12 GMT tbretz [16795] * trunk/FACT++/scripts/handleFadConnected.js (modified) Added Configuring3 state; improved output whena command is sent: Mon, 10 Jun 2013 11:01:47 GMT tbretz [16794] * trunk/FACT++/scripts/CheckFTU.js (modified) output some information so that it is aparent which FTU gives the ... Mon, 10 Jun 2013 11:01:19 GMT tbretz [16793] * trunk/FACT++/scripts/takeRun.js (modified) Fixed a problem with the 32bit shift operator when evaluating the ... Mon, 10 Jun 2013 11:00:20 GMT tbretz [16792] * trunk/FACT++/scripts/handleFtmIdle.js (modified) There is not much we can do in Configured2 other than waiting for the ... Mon, 10 Jun 2013 10:59:42 GMT tbretz [16791] * trunk/FACT++/scripts/handleFtmIdle.js (modified) Configured is now Configured1 and Configured2 Mon, 10 Jun 2013 10:58:36 GMT tbretz [16790] * trunk/FACT++/scripts/Startup.js (modified) Added a chck for the clock conditioner; ftmctrl should now be in ... Mon, 10 Jun 2013 10:57:58 GMT tbretz [16789] * trunk/FACT++/scripts/Handler.js (modified) Debugging output seems not needed anymore. Mon, 10 Jun 2013 10:57:33 GMT tbretz [16788] * trunk/FACT++/scripts/doCrateReset.js (added) Mon, 10 Jun 2013 10:57:12 GMT tbretz [16787] * trunk/FACT++/scripts/handleAgilentPowerOn.js (modified) * trunk/FACT++/scripts/handleFeedbackConnected.js (modified) * trunk/FACT++/scripts/handleFscConnected.js (modified) * trunk/FACT++/scripts/handleFtmIdle.js (modified) * trunk/FACT++/scripts/handleLidClosed.js (modified) * trunk/FACT++/scripts/handlePwrCameraOn.js (modified) * trunk/FACT++/scripts/handleRatectrlConnected.js (modified) Improved the output whenever a command is sent. Thu, 06 Jun 2013 11:03:36 GMT tbretz [16744] * trunk/FACT++/scripts/takeRun.js (modified) Produce some more output in case the FADs don't got properly connected. Thu, 06 Jun 2013 11:02:54 GMT tbretz [16743] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Use the QoS (num open files) of the RUNS service to detect whether a ... Sun, 02 Jun 2013 10:32:49 GMT tbretz [16571] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Make sure that no run-file is open (this gives quite some probability ... Sun, 02 Jun 2013 10:31:51 GMT tbretz [16570] * trunk/FACT++/scripts/takeRun.js (modified) We have to check for the MCP state, too, to make sure that the state ... Fri, 31 May 2013 14:25:57 GMT tbretz [16533] * trunk/FACT++/scripts/CheckUnderflow.js (modified) * trunk/FACT++/scripts/Main.js (modified) * trunk/FACT++/scripts/handleFadConnected.js (modified) Renamed WritingData of fadctrl to RunInProgress Wed, 29 May 2013 23:25:33 GMT tbretz [16448] * trunk/FACT++/scripts/handleRatectrlConnected.js (modified) Fixed a typo and added DimNetworkNotAvailable. Wed, 29 May 2013 23:25:08 GMT tbretz [16447] * trunk/FACT++/scripts/takeRun.js (modified) Added time to output -- to be further improved. Wed, 29 May 2013 17:20:14 GMT tbretz [16441] * trunk/FACT++/scripts/Main.js (modified) Some updates to the output; added a timeout when waiting for the ... Tue, 28 May 2013 12:53:41 GMT tbretz [16386] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Also send a CLOSE_OPEN_FILES Tue, 28 May 2013 12:53:03 GMT tbretz [16385] * trunk/FACT++/scripts/takeRun.js (modified) Theoretically, the fadctrl can also hang in Configuring1 because that ... Tue, 28 May 2013 12:52:28 GMT tbretz [16384] * trunk/FACT++/scripts/Startup.js (modified) Some improvements switching on the drive cabinet. Fri, 24 May 2013 12:36:21 GMT tbretz [16102] * trunk/FACT++/scripts/doc/Thread.js (modified) * trunk/FACT++/scripts/doc/v8.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Added a user supplied 'this' argument to v8.timeout and the Thread class. Thu, 23 May 2013 18:20:38 GMT tbretz [16099] * trunk/FACT++/scripts/handleDriveArmed.js (modified) Skip the message in the log stream. Thu, 23 May 2013 18:20:12 GMT tbretz [16098] * trunk/FACT++/scripts/CheckUnderflow.js (modified) For the event the descriptions are needed. Thu, 23 May 2013 11:10:40 GMT tbretz [16078] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Improved the calculation of the date for loading the DRS calib. This ... Thu, 23 May 2013 11:09:56 GMT tbretz [16077] * trunk/FACT++/scripts/Main.js (modified) Removed the 'last measurement must be a SHUTDOWN' check. This is not ... Thu, 23 May 2013 11:08:57 GMT tbretz [16076] * trunk/FACT++/scripts/handleDriveArmed.js (modified) Only print a warning if drive is locked. Thu, 23 May 2013 11:08:31 GMT tbretz [16075] * trunk/FACT++/scripts/Startup.js (modified) Take agilentctrl back into the list of checked states; added Locked ... Thu, 23 May 2013 11:07:51 GMT tbretz [16074] * trunk/FACT++/scripts/Observation_class.js (modified) Allow for observation types singlepe, drscalib and idle. Thu, 23 May 2013 10:08:38 GMT tbretz [16071] * trunk/FACT++/scripts/doc/console.js (modified) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) * trunk/FACT++/src/RemoteControl.h (modified) Added console.warn to print a highlighted message to the ocnsole. Wed, 22 May 2013 21:45:30 GMT tbretz [16060] * trunk/FACT++/scripts/takeRun.js (added) Code from Main.js related to taking a run including the solution for ... Wed, 22 May 2013 21:38:41 GMT tbretz [16053] * trunk/FACT++/scripts/doc/Thread.js (modified) Added some note... Wed, 22 May 2013 21:38:29 GMT tbretz [16052] * trunk/FACT++/scripts/handlePwrCameraOn.js (modified) Handle the case NoConnection Wed, 22 May 2013 21:38:08 GMT tbretz [16051] * trunk/FACT++/scripts/Main.js (modified) Moved AGILENT_CONTROL back in place. Wed, 22 May 2013 21:37:44 GMT tbretz [16050] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Make use of takeRun.js to 'fix' FAD problems also during the test run ... Wed, 22 May 2013 21:36:30 GMT tbretz [16049] * trunk/FACT++/scripts/Main.js (modified) Moved some code around data taking (automatic reconnect etc) to ... Fri, 03 May 2013 21:28:27 GMT tbretz [15482] * trunk/FACT++/scripts/Main.js (modified) Fixed a typo obs->sub Fri, 03 May 2013 08:34:10 GMT tbretz [15480] * trunk/FACT++/scripts/Main.js (modified) A small fix in the shutdown procedure. If we disconnect the bias ... Wed, 01 May 2013 09:49:10 GMT tbretz [15466] * trunk/FACT++/scripts/Main.js (modified) Made sure that if we do a re-connect during configure all servers are ... Sun, 28 Apr 2013 10:30:58 GMT tbretz [15455] * trunk/FACT++/scripts/doc/dimctrl.js (modified) Added dimctrl.setInterruptHandler Sun, 28 Apr 2013 10:30:11 GMT tbretz [15454] * trunk/FACT++/scripts/Main.js (modified) Fixed a crash in the startup information print in case there is no ... Tue, 23 Apr 2013 19:04:32 GMT tbretz [15411] * trunk/FACT++/scripts/Main.js (modified) Removed obsolete FAD_CONTROL/STATISTICS2 and fixed a problem with the ... Fri, 19 Apr 2013 13:18:38 GMT tbretz [15378] * trunk/FACT++/scripts/Main.js (modified) Some cleanup; do repeat configuration re-connects only three times; ... Thu, 18 Apr 2013 09:20:09 GMT tbretz [15362] * trunk/FACT++/scripts/Main.js (modified) Set the sunhorizon to -12deg; implemented automatic reconnect; ... Tue, 16 Apr 2013 12:54:41 GMT tbretz [15359] * trunk/FACT++/scripts/doc/Mail.js (modified) Fixed a typo and correctly document subject as constant Tue, 16 Apr 2013 12:49:30 GMT tbretz [15358] * trunk/FACT++/scripts/doc/Sun.js (modified) Added description for class index; changed from class to namespace Tue, 16 Apr 2013 12:46:13 GMT tbretz [15357] * trunk/FACT++/scripts/doc/Mail.js (modified) An important dot was missing ;) Tue, 16 Apr 2013 09:24:12 GMT tbretz [15354] * trunk/FACT++/scripts/Main.js (modified) * trunk/FACT++/scripts/MainClassic.js (modified) improved the handling of fad losses; removed AGILENT_CONTROL ... Tue, 16 Apr 2013 09:13:19 GMT tbretz [15353] * trunk/FACT++/scripts/Startup.js (modified) Added TEMPERATURE to the required servers, removed AGILENT_CONTROL ... Tue, 16 Apr 2013 09:12:41 GMT tbretz [15352] * trunk/FACT++/scripts/Observation_class.js (modified) Added 'now' as a a valid time. Wed, 10 Apr 2013 10:56:51 GMT tbretz [15296] * trunk/FACT++/scripts/CheckFTU.js (modified) Fixed a typo in a command. Wed, 10 Apr 2013 09:42:51 GMT tbretz [15293] * trunk/FACT++/scripts/Main.js (modified) Added a check for schedule-database Wed, 10 Apr 2013 09:42:18 GMT tbretz [15292] * trunk/FACT++/scripts/getSchedule.js (added) Function to retrieve schedule from database Wed, 10 Apr 2013 09:19:30 GMT tbretz [15291] * trunk/FACT++/scripts/Main.js (modified) Read the schedule from the database instead of the file directly. The ... Wed, 10 Apr 2013 09:18:42 GMT tbretz [15290] * trunk/FACT++/scripts/MainClassic.js (copied) Copy of the classical version directly reading the schedule from a file. Wed, 10 Apr 2013 09:17:48 GMT tbretz [15289] * trunk/FACT++/scripts/Main.js (modified) Improved the code to handle the INCOMPLETE message, added some code ... Wed, 10 Apr 2013 09:16:34 GMT tbretz [15288] * trunk/FACT++/scripts/Observation_class.js (modified) Copy property id if available -- needed to read the schedule from the db. Tue, 09 Apr 2013 08:48:54 GMT tbretz [15284] * trunk/FACT++/scripts/Main.js (modified) Moved getTimeSinceLastDrsCalib to its own function; added automatic ... Mon, 08 Apr 2013 10:27:19 GMT tbretz [15275] * trunk/FACT++/scripts/doc/Subscription.js (modified) Fixed a typo. Sun, 07 Apr 2013 22:54:58 GMT tbretz [15274] * trunk/FACT++/scripts/doc/Mail.js (modified) Fixed a typo... the class name is Mail not Sky Sun, 07 Apr 2013 22:51:06 GMT tbretz [15273] * trunk/FACT++/scripts/doc/_global_.js (modified) Added explanation for new magic variables. Sat, 06 Apr 2013 15:47:58 GMT tbretz [15270] * trunk/FACT++/scripts/Main.js (modified) Restructured the code. Thu, 04 Apr 2013 13:11:50 GMT tbretz [15252] * trunk/FACT++/scripts/Main.js (modified) Unified the checkState during data taking; improved some log-output; ... Wed, 27 Mar 2013 18:00:31 GMT tbretz [15172] * trunk/FACT++/scripts/doc/Mail.js (added) * trunk/FACT++/src/InterpreterV8.cc (modified) * trunk/FACT++/src/InterpreterV8.h (modified) Changed the Mail class a bit to have the arrays as data members ReadOnly. Tue, 26 Mar 2013 17:37:48 GMT tbretz [15162] * trunk/FACT++/scripts/Startup.js (modified) Allow the datalogger also to be in Logging. It just means that the ... Tue, 26 Mar 2013 17:37:00 GMT tbretz [15161] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Request 15 seconds of data for the underflow check. As soon as the ... Mon, 25 Mar 2013 09:54:14 GMT tbretz [15152] * trunk/FACT++/scripts/doc/String.js (modified) Added desription for String.count Mon, 25 Mar 2013 09:53:56 GMT tbretz [15151] * trunk/FACT++/scripts/doc/dim.js (modified) Updated dim.wait description. Mon, 25 Mar 2013 09:32:47 GMT tbretz [15146] * trunk/FACT++/scripts/Main.js (modified) Catch the timeout when a run is started and check for FAD loss; ... Mon, 25 Mar 2013 09:28:52 GMT tbretz [15145] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Replaced blocking while by v8.timeout. Sat, 23 Mar 2013 20:10:14 GMT tbretz [15142] * trunk/FACT++/scripts/doc/dim.js (modified) Updated description of wait. Fri, 22 Mar 2013 17:14:55 GMT tbretz [15137] * trunk/FACT++/scripts/Main.js (modified) Reoragnized and improved the output; instead of just waiting for the ... Fri, 22 Mar 2013 17:12:31 GMT tbretz [15136] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Removed some obsolete check; close open files if any to avoid late ... Fri, 22 Mar 2013 17:10:24 GMT tbretz [15135] * trunk/FACT++/scripts/handleFadConnected.js (modified) Connect of disconnected. Fri, 22 Mar 2013 17:10:03 GMT tbretz [15134] * trunk/FACT++/scripts/Startup.js (modified) Connect and stop the FAD together with the other programs to get the ... Mon, 18 Mar 2013 21:24:41 GMT tbretz [15117] * trunk/FACT++/scripts/Main.js (modified) Moved reading of the schedule to the beginning of the file so that ... Mon, 18 Mar 2013 21:23:54 GMT tbretz [15116] * trunk/FACT++/scripts/CheckUnderflow.js (modified) Small change in the order... for a little speed improvement. Mon, 18 Mar 2013 17:16:01 GMT tbretz [15113] * trunk/FACT++/scripts/doc/_global_.js (modified) Fixed a buggy example.