Commit Graph

1026 Commits

Author SHA1 Message Date
d6faaa593a - Removed trim in sicsget: caused line breaks in text to disappear which was not desired 2014-06-25 08:46:54 +02:00
a27f0d9b94 - Cosmetic changes to sicsget and counter
- Fixed a bug when NETconnect would come back with errno EINPROGRESS which is no
  error really
2014-06-06 16:38:14 +02:00
98790ec9c5 Merge branch 'master' of ssh://gitorious.psi.ch/sinqdev/sics 2014-06-03 12:03:04 +02:00
f1e3ae7c0b Fixed a bug in sicshipadaba which would not cause bin transfer mode properly honoured on hget
Added a total feature to histmemsec
2014-06-03 12:01:52 +02:00
dc3a3c39c0 Added append to trace in support of the autotrace facility 2014-05-23 09:53:34 +02:00
005df1c200 - Made comment padding work 2014-05-22 11:47:35 +02:00
9172b70462 - Fixed a stack smashing bug in statemon.c. String was 1 short... 2014-05-22 10:47:39 +02:00
d1060a3368 - Added and commented out padding handling in nxscript puts. Now HDF5 shortens my strings.... 2014-05-22 09:02:33 +02:00
4f5bcaeb5e Assorted bug fixes
- In network.c and asynnet.c code was added to close the socket when a
  connect failed. Otherwise the socket would leak and the process
  runs out of file descriptors.
- Multicountserc now forcefully handles the counting status. Before I had
  the status flickering between counting and nobeam because the HM has no way to
  diagnose nobeam
- In motorsec.c the pDrivInt->iErrorCount was not reset to 0 properly. Leading to death.
- Removed the stack smashing test flag for the time being.
2014-05-21 09:58:23 +02:00
325fc6f313 Fixed a bug with restarting after mipositioning in motorsec.c 2014-05-09 16:48:23 +02:00
e89b640088 Bug fixes
- transfer of monitor values in mutlicountersec
- Permission denied mesage when restarting a second generation motor fixed
2014-05-07 14:24:44 +02:00
72f9e59150 Multiple bug fixes
- Arrayutil was not summing correctly
- Added interest to motorsec in order to support old status clients
- core dump because of bad free in devser
- fixed transferring of count time in multicounter
- added stack debugging to sllinux_def
- Modifications to tasdrive to wait for finish of monochromator properly
2014-05-05 13:52:00 +02:00
b466a2d427 Fixed another bug with sget mot softzero 2014-04-10 14:24:38 +02:00
8e1ac545ce Linked epics statically 2014-04-10 10:53:18 +02:00
722fab935e Fixed a task and a tasdrive issue
There is a rare condition when SICS has frehsly stared up and on the first call
to a coordinated driving, like in TAS, something fails. Then the group has ID 0,
the default and that one is always active. This has been fixed by starting valid
groups at 7, defining 0 ans IDUNDEFINED and checking in isTaskGroupRunning for
IDUNDEFINED

Then there is an issue in tasdrive. I added a call to CheckStatus when starting the
mono. This is necessary for the eiger monochromator as with that one starting is deferred
to the CheckSttaus function. The reason is that in other use cases, the looser might want
to drive a2 and a2w at the same time. This can only correctly be accomodated by deferring
the caclulations to the CheckStatus phase.
2014-04-07 14:02:07 +02:00
fc8798d012 Reenabled EPICS motor support in order to make the attoCube controller work 2014-02-26 17:17:08 +01:00
Markus Zolliker
a43e3838e3 test commit 2014-02-25 08:25:07 +01:00
f1c105085d Made SICS compile in the new git setup 2014-02-24 08:42:19 +01:00
810a3cbd94 Cleanup of the repository before pushing to gitorious
Refs #201
2014-02-18 16:41:37 +01:00
koennecke
33e122ea9e - Modified collective drive operations to run motors in individual tasks
- Added a processnode methos to scriptcontext. processnode waits for the
  scriptchain of a node to finish.
- Fixed a bug in sicsget
- Made histmemsec dim and rank manager privilege. To allow chnage at runtime.
  Is required for SANS
- Fixed some issues with multicountersec, mostly relating to passing things through
  in a sensible way.
- Updated motorsec.c to work with a client based driver


SKIPPED:
	psi/polterwrite.c
	psi/tabledrive.c
	psi/tabledrive.h
2014-02-18 13:25:32 +00:00
zolliker
95d37fea12 - inserted ANETProcess into "How are you" test 2014-01-31 14:53:44 +00:00
koennecke
dc85708451 - Added a AsconReadDoneReconnect to ascon. This handles the case better when
a server hangs up diretcly after a message.
- Some output was suppressed while tracing, fixed
- Make ready to compile both with Ubuntu 32 and 64 or /usr/local
  based ON in general. Just in psi/makefile_linux the top include has
  to be adapted
- Removed epics drivers from SICS. Still in source to be reenabled when
  needed
- Added FindMotor
- Added sput, sappend and slab to nxscript using the new sicsget module
- Fix to sget to fix the "mot softzero" problem


SKIPPED:
	psi/make_gen
	psi/psi.c
	psi/sinqhttpopt.c
	psi/spss7.c
2013-12-19 10:24:54 +00:00
koennecke
57b6dce6bf - Added messagepipe.c
- Added initial version of sicsget. This is a more generalised way of
  reading and writing SICS data wherever it is. The thing is extendable if
  reading something the current way is to slow. This has both a C interface
  and an interpreter interface.
2013-11-07 08:42:32 +00:00
koennecke
d7311c6f68 - Added missing file epicscounter.c
SKIPPED:
	psi/epicscounter.c
2013-11-04 15:03:03 +00:00
koennecke
ad241bd99e - Added a protocol driver for the munich sputter machine
- Added a multicountsersec to teplace hmcontrol and multicounter
- Fixed a case sensitivity bug in haddcheck
- Made oscillate work with second generation motors for POLDI
- Added a time stamper to trace. Now there will be time stamps in trace files which allow
  to correlate things from the master log with the trace.
- Updated polterwrite.
- Updated testprot to work with the behave test


SKIPPED:
	psi/make_gen
	psi/polterwrite.c
	psi/psi.c
	psi/sputterprot.c
2013-11-04 12:55:15 +00:00
zolliker
8ecf2f37a5 - inserted comments
SKIPPED:
	psi/arrobj.c
2013-10-16 12:46:37 +00:00
zolliker
131f06367f - modified error message when offline 2013-10-16 12:46:21 +00:00
koennecke
3e6501d806 - Fixed documentation typos
- In support of HMsec, allow the count command in countsec to run without a
  preset parameter. If this is missing the old, stored preset is used.
- Removed a check which causes initialisation of the HM from a batch file fail
  for POLDI
- fixed @nl@ encoding of \n problem with certain kinds of batch files generated by GTSE
- Fixed a bug with summing on hitsmemsec. nxdataset now uses 64 bit int for dimensions.
- Fixed motorsec to remove itself properly from a parent when linked. Please note
  that there is still the limitation that a second generation motor can only be linked
  once in a Hipadaba tree
- Extended subsampling a HM for second generation HM
- Added a hscriptnotify. This calls a script on the update of a node
- POLDI has been rebuilt, chnages to data file writing
- For testing, sinqhttopt now understands a special command, byteswapoff,
  which switches off byte swapping. Required when the HM ius run on an Intel box.


SKIPPED:
	psi/polterwrite.c
	psi/sinqhttpopt.c
2013-09-16 09:27:50 +00:00
koennecke
5a06bb9b90 - Removed napi from SICS
- Added error fields to hwardware objects: motor, counter, histmem
- Optimised sinqhttpopt
- Added haddcheck which adds checks to hipadaba nodes. The current implementation
  only checks for selctions agaisnt the values property. Expand when more checks are
  required.


SKIPPED:
	psi/polterwrite.c
	psi/sinqhttpopt.c
	psi/tasinit.c
2013-08-14 09:50:22 +00:00
koennecke
255b83665c - Added restart status code
- Small fixes to make regression tests work at the same level as for first
  generation devices
2013-07-18 14:24:00 +00:00
zolliker
9a3607bd66 - make reconnectInterval changeable (0: no automatic reconnection) 2013-06-25 11:21:04 +00:00
zolliker
8ecedfe443 - allow HIPFUNC functions to be saved and restored with its arguments 2013-06-25 11:18:04 +00:00
zolliker
1edc042db1 - created stop and count function for sics crons 2013-06-25 11:16:20 +00:00
zolliker
7fa446317a - make V5A visible in IGH driver
SKIPPED:
	psi/ighdriv.c
2013-06-25 11:15:05 +00:00
zolliker
7f298ce76c .
SKIPPED:
	psi/tecs/inp/x17627.inp
2013-06-07 06:51:21 +00:00
zolliker
c2f019ea9e - last version?
SKIPPED:
	psi/tecs/tecs.c
2013-06-07 06:51:11 +00:00
zolliker
91b0566ebf - fixed error handling
SKIPPED:
	psi/ease.c
	psi/pardef.c
2013-06-07 06:50:59 +00:00
zolliker
3817bcdfde - comment
SKIPPED:
	psi/arrobj.c
2013-06-07 06:50:41 +00:00
zolliker
ccd7bb79bd cosmetics 2013-06-07 06:47:24 +00:00
zolliker
d2c42c3913 - fixed some issues related to "config listen 1" mode
i.e. do not write some lines twice when in this mode
2013-06-07 06:47:03 +00:00
zolliker
6e1005dbc0 workaround: do not treat ?H1 as an illegal answer to H1 (for IPS)
SKIPPED:
	psi/oxinst.c
2013-06-07 06:46:06 +00:00
zolliker
e4a9733830 - added external mode (for wiggle script)
SKIPPED:
	psi/ipsdriv.c
2013-06-07 06:43:10 +00:00
zolliker
97d74d48c7 - add synced support for heater range
SKIPPED:
	psi/ighdriv.c
2013-06-07 06:42:36 +00:00
zolliker
906ceb96e8 - fixed some issues broken when the new task system was introduced 2013-06-07 06:39:50 +00:00
zolliker
db963166df SaveSICSNode fulfills at the first time all of the 3 following requirements:
1) save the value af the topmost node
2) use hupdate instead of a set command for nodes marked with __save=update
3) save kids of nodes not saved
2013-06-07 06:38:17 +00:00
zolliker
565f96b5ca - add a check for empty return value 2013-06-07 06:26:52 +00:00
zolliker
3f6a76052d - fixed some issues related to "config listen 1" mode
i.e. do not write some lines twice when in this mode
2013-06-07 06:17:07 +00:00
zolliker
9a142c18bf - fixed: pExecutor->iRun was no longer initialized since 1.52 2013-06-05 14:18:07 +00:00
zolliker
8096212c52 - introduced "stopexe run"
- fixed "task ps" to show names containing ':' correctly
2013-05-24 05:44:52 +00:00
koennecke
f6a2b259ea - Introduced a state filed into first generation objects
- Fixed some issues with error returns not being properly handled in devexec
- Fixed a bug in motorlist which caused limit checks to fail
- Fixed an issue with the TDCHM not properly updating the counter
  values on finish
- Readded getHipadabaPar in ChainCallback as this caused a problem in ei
- Made tasdrive ignore sgu, sgl when out of plane not allowed


SKIPPED:
	psi/eigermono.c
	psi/sinqhttp.c
	psi/tdchm.c
2013-05-23 08:54:55 +00:00