Commit Graph

4150 Commits

Author SHA1 Message Date
koennecke e5ecf5218e Removed an unnecessary field from the connection structure 2016-11-21 14:18:52 +01:00
koennecke c39f96c253 Removed some dead code in SCinter
Loglisten showed to much stuff, no filtering. Filtering added.
2016-11-21 13:37:10 +01:00
koennecke f2aa76b396 Fixed a wrong sequence of starts in multicounter
Suppressed excessive connection messages from asynnet
2016-11-10 14:41:38 +01:00
koennecke d0fe079b71 Fixed an issue where an unresetted geterror in combination with a null connection causes
to many log messages.
2016-11-07 09:48:47 +01:00
koennecke fd5451e8fd Enhanced comments in asynnet
Changed required privilege for chnaging the threshold from manager to user in counter.c
Changed an output code in macro.c
2016-10-25 17:03:21 +02:00
koennecke 7e764b100b Fixed a typo in an error message in sicsdata.c 2016-08-02 11:19:41 +02:00
koennecke b7901a88c7 Merge branch 'develop' of ssh://git.psi.ch/sinqdev/sics into develop 2016-07-01 10:58:37 +02:00
koennecke 7ca7876dbe Reduced severity of perfmon log message in order to reduce log clutter 2016-07-01 10:57:35 +02:00
koennecke 8254c1303c Added a log message at everz start of a driving or counting operation.
Together with the already existing  stop messages this allows for
performance analysis.
2016-06-09 14:44:57 +02:00
koennecke 294195c872 Removed the suppression list again from logv2.c for fear of performance issues.
I rather implemented the suppression of TRANSACT messages in macro.c
2016-05-18 11:58:52 +02:00
koennecke 1f23c19e1c Added a feature which allows suppression of certain log messages. For example TRANSACT messages 2016-05-18 11:33:59 +02:00
koennecke 097b93aa8b Added a loglsisten command for listening into the log 2016-05-17 11:30:38 +02:00
zolliker fdb443441a - more AsconStatus states
- enhancements in binprot
- make Logger public (logger.h)
- added lscprot (50 ms write delay for lakeshore models)
- additonal bug fixes
2016-05-13 16:32:18 +02:00
koennecke 0b41bcde03 Increased sysTrace messages to INFO level 2016-05-13 09:13:52 +02:00
koennecke cb6c80d0e6 Improved repositioning message in motorsec.c 2016-05-12 09:45:26 +02:00
koennecke 7f6b31e098 Some more fine tuning of log output
Corrected a misleading warning in motorsec.c
Fixed a core dump caused by copyNode in sicsdata.c. Was caused by a bad call
to getPointer.
2016-05-10 11:29:09 +02:00
koennecke e476d19040 Fixed an issue with sget throwing excessive error messages when testing
for the presence of a Hdb node
2016-04-14 14:20:30 +02:00
koennecke 96114fc803 Added the generation of incomensurate reflections for 0,0,0 in fourmess
Applied Douglas  task deletion patch
Fixed a bug with repeated motor failures in interface.c
2016-04-13 09:18:13 +02:00
koennecke 019dc11131 Made pCountInt->lastStatus handling work in diffscan 2016-03-15 11:35:18 +01:00
koennecke 1b2022a5e9 There has been a continuous problem that the counter:CheckStatus function
called from the status task messed up count processing. This has now been
resolved in this way:
- A new function ReadStatus and  a lastStatus filed have been added
  to the countable interface.
- CountTaskFunc updates the lastStatus field.
- ReadStatus just returns that field.
- ReadStatus is now being called by the status task.
2016-03-15 11:24:50 +01:00
koennecke 18816067db Added hex logging back again.
Added it back in in AsyncQueue
2016-03-14 09:43:27 +01:00
koennecke ac2d66c61e Improved the interface of the LogTS function 2016-03-08 11:51:55 +01:00
koennecke 5a388ab741 Made all sub systems for logging lower case
Log filtering is now based on an array of severitys per subsystem
Added a LogIS call which takes an integer for the subsystem
Added a LogTS call which allows to specify a user supplied time stamp
2016-03-08 11:36:29 +01:00
koennecke 40382b2b8c Further enhancements to the new logging system
I removed traceCommand because I needed a more fine grained control of what goes into
the log.
2016-03-01 09:42:16 +01:00
koennecke 0da0380c8a Fine tuning of second generation motor and counter parameter update messages
Changed paramete rupdates to verbose severity
2016-02-15 11:38:23 +01:00
koennecke 66466c1c0f This is the first working version of the new logging system. Some work
in fine tuning still needs to be done. But is reasonably OK now.
2016-02-11 13:40:31 +01:00
koennecke b1cda3f579 First incarnation of the logging code 2016-02-03 10:43:36 +01:00
koennecke 95988f331c Merge branch 'develop' of ssh://gitorious.psi.ch/sinqdev/sics into develop
Conflicts:
	fourmess.c
2016-01-29 08:53:00 +01:00
koennecke a630a30294 Some things about make_gen 2016-01-26 11:50:32 +01:00
koennecke 5e597e2d10 Merge branch 'maverick' into develop
Compile under OSX
2016-01-26 09:48:11 +01:00
koennecke f85c983651 Merge branch 'multicounter' into develop 2016-01-15 15:19:50 +01:00
koennecke 4464373385 Merge branch 'master' into develop 2016-01-15 15:17:43 +01:00
koennecke a37aae2361 Merge branch 'ANSTO_MERGE_2' of ssh://gitorious.psi.ch/~hauser_n/sinqdev/ansto-sics into develop
Conflicts:
	conman.c
	drive.c
2016-01-15 15:17:17 +01:00
koennecke da542ad2ce Merge branch 'master' of ssh://gitorious.psi.ch/sinqdev/sics 2015-12-07 14:39:18 +01:00
koennecke 0d58ba2ef7 Some bug fixes:
- 0.0 rather then -777.77 for a missing value in four circle
- No error output in TAS
2015-12-07 14:38:11 +01:00
zolliker 73d6c5f5fb put a space after the POL column (bug fix) 2015-11-03 08:29:14 +01:00
koennecke 8394e52393 Fixed comment in countersec.c 2015-09-08 08:30:11 +02:00
koennecke cdce9cc2c9 Merge branch 'master' into develop 2015-08-05 11:11:24 +02:00
koennecke 0238d062de Merge branch 'master' into multicounter 2015-08-04 10:35:05 +02:00
koennecke 64d44c2824 Assorted bug fixes
- If SctProcessNode ran into a timeout, its action data wa sdeleted. If data came
  later, this caused SICS to crash. This is now fixed
- sget leaked connections under certain circumstances
- Cosmetic fix to hipadaba.c
- yet another chnage to the TRICS file format in fourmess.c, now it prints magnetic field
  instead of the proton count
2015-07-30 13:57:55 +02:00
Douglas Clowes eff54a5fd9 Implement task priorities and message queues 2015-07-29 17:47:46 +10:00
Douglas Clowes 0db57b9bae Reference count async queue transactions
so we can put them of task message queues
2015-07-29 17:47:15 +10:00
Douglas Clowes 7ccbf7e0bd Change LLDstringDelete to LLDdeleteString 2015-07-29 17:46:34 +10:00
Douglas Clowes f0021db2ff Fix some weird code in strrepc of task.c
So little code, so many faults:
* It calls strchr from the beginning each time
  (it could use ++ptr as the start)
* If cFrom and cTo are the same it loops forever
* if int is 32bits && ptr is 64bits it may break
  (many are, and the cast truncates the pointer)
* if sizeof(char) > 1 it breaks badly
2015-07-24 13:50:26 +10:00
Douglas Clowes 8a91653f13 Fix bad memory handling in traceCommand 2015-07-24 12:36:28 +10:00
Douglas Clowes 4f411f66ca Fix a memory leak in background task 2015-07-24 12:31:43 +10:00
Douglas Clowes d89851dc6a Fix a spelling error s/sucessfully/successfully/ 2015-07-24 12:29:52 +10:00
koennecke 950cddc8e5 Moved Tcl clock and date function into the main SICS kernel directory 2015-07-07 12:31:21 +02:00
koennecke ef8b2a2eed Merge branch 'develop' of ssh://gitorious.psi.ch/sinqdev/sics into develop 2015-07-06 09:14:58 +02:00
koennecke 7f8d532748 Merge branch 'master' of ssh://gitorious.psi.ch/sinqdev/sics 2015-07-06 09:11:25 +02:00