Commit Graph

1015 Commits

Author SHA1 Message Date
zolliker
48bff6f9ea - added general binary scriptcontext protocoll
- improved some drivers


SKIPPED:
	psi/arrobj.c
	psi/binprot.c
	psi/ease.c
	psi/euro2kdriv.c
	psi/ipsdriv.c
	psi/lsc370driv.c
	psi/make_gen
	psi/modbus.c
	psi/pardef.c
	psi/psi.c
2010-09-02 11:41:31 +00:00
zolliker
d7ea085549 - inititalize private link 2010-09-02 11:38:30 +00:00
koennecke
2b9df3d05a - Final fix for FOCUS problem 2010-06-04 14:38:00 +00:00
koennecke
1ae7c0c2e2 - Introduced a command history log for statistical and
syntax checking input purposes
- Rectified an error message in fourmess.c
- HMcontrol did not check for the HM to stop before returning. This
  caused weird data files at AMOR as the data had not yet been downloaded
  from the HM.
- Fixed an issue about parameters in multicounter
- Temporary fix in nxscript.c to always read the Hm from the HM and not
  a buffer. This is prior to rethinking caching strategies for old style
  HM's.
- Synchronize now copies fixed motors correctly. This used to cause
  irritation with users. This now requires a script syncdrive to exist
  in the sync server which takes care of handling the fixed flag when
  this is desired.
- Added initify to sicsdata in order to copy large value timebins over
  properly at AMOR


SKIPPED:
	psi/amorstat.c
	psi/make_gen
	psi/makefile_linux
	psi/polterwrite.c
	psi/sinq.c
	psi/sinqhttp.c
	psi/sinqhttpprot.c
	psi/sps.c
	psi/tdchm.c
2010-06-01 10:01:00 +00:00
koennecke
eaf96b1893 - Fixed a bug which caused the status file to be overwritten before it
could be read on initialization.
- The new SLS magnet driver for the TCP/IP concentrator now successfully
  writes data


SKIPPED:
	psi/slsecho.c
2010-04-16 09:02:17 +00:00
zolliker
5bcbacfb81 - remob must be a permanent command 2010-04-15 12:19:25 +00:00
zolliker
c4fcc2c28d - fixed some potential bugs with strlcpy
SKIPPED:
	psi/sinqhttp.c
	psi/sps.c
	psi/velodorn.c
2010-04-15 11:24:27 +00:00
zolliker
5ffe4f3905 - fixed some strlcpy bugs 2010-04-15 09:40:27 +00:00
zolliker
ce0e418326 - bug fix
SKIPPED:
	psi/ease.c
	psi/pardef.c
2010-04-15 08:57:38 +00:00
zolliker
a79f2419cb - replaced strlcat by strlcpy at places where it made sense
SKIPPED:
	psi/haakedriv.c
	psi/linadriv.c
	psi/lscsupport.c
	psi/oxinst.c
2010-04-14 08:55:55 +00:00
zolliker
1f2dd1d763 - obsolete source file 2010-04-14 08:52:10 +00:00
zolliker
9690db1c3d - fixed some potential bugs introduced when replacing strncpy and
strncat by strlcpy and strlcat
2010-04-14 08:46:17 +00:00
koennecke
1c558e7f6c - Added missing files
SKIPPED:
	psi/fetchwrite.c
2010-04-13 15:36:03 +00:00
koennecke
f743615d3b - Added missing file charbychar.c which contains a protocol handler
which writes char by char, thereby waiting for the echo character
  to be received in between.


SKIPPED:
	psi/charbychar.c
2010-04-13 15:12:18 +00:00
koennecke
b26b8fc735 - Changed strncpy to strlcpy, strncat to strlcat
- Added strlcpy and strlcat to SICS
- Added a driver for the POLDI power supplies


SKIPPED:
	psi/A1931.c
	psi/autowin.c
	psi/bruker.c
	psi/docho.c
	psi/dornier2.c
	psi/dspcode.c
	psi/ease.c
	psi/ecb.c
	psi/ecbcounter.c
	psi/ecbdriv.c
	psi/el734dc.c
	psi/el734driv.c
	psi/el734hp.c
	psi/el737driv.c
	psi/el737hpdriv.c
	psi/el737hpdrivsps.c
	psi/el737hpv2driv.c
	psi/el755driv.c
	psi/eurodriv.c
	psi/haakedriv.c
	psi/itc4driv.c
	psi/julcho.c
	psi/linadriv.c
	psi/lmd200.c
	psi/lscsupport.c
	psi/ltc11.c
	psi/make_gen
	psi/oicom.c
	psi/oxinst.c
	psi/pimotor.c
	psi/pipiezo.c
	psi/polterwrite.c
	psi/psi.c
	psi/sanscook.c
	psi/sanslirebin.c
	psi/sanswave.c
	psi/sinqhmdriv.c
	psi/sinqhttp.c
	psi/slsecho.c
	psi/slsmagnet.c
	psi/slsvme.c
	psi/sps.c
	psi/swmotor.c
	psi/swmotor2.c
	psi/tabledrive.c
	psi/tasscan.c
	psi/tdchm.c
	psi/velodorn.c
	psi/velodornier.c
2010-04-13 15:08:38 +00:00
zolliker
d19e3e5ca9 - improvements and bug fixes
SKIPPED:
	psi/arrobj.c
	psi/ease.c
	psi/euro2kdriv.c
	psi/pardef.c
	psi/tecs/make_crv
	psi/tecs/tecs.c
2010-04-13 14:32:18 +00:00
zolliker
eebb6b06e9 - do not allow logger to write more than once per period
- fixed bug in statistics.c
2010-04-13 14:31:58 +00:00
zolliker
6c4f57ec6f - introduced <controller> actions function for listing actions
- introduced <controller> reconnect function
2010-04-13 14:17:58 +00:00
zolliker
38818e650c - introduced <controller> actions function for listing actions
- introduced <controller> reconnect function
- list seconds of minute in debugging mode
- "sct utime" may be used from scripts to get the milliseconds time
2010-04-13 14:16:29 +00:00
koennecke
7d30c4d352 - Extended sicshdbadapter to attach a node to the target of any
drivable. Required a new event in devexec.c
- Fixed the phytron driver to handle speed well
- Added a protocol driver for the TCP/IP bridge to the SLS magnets


SKIPPED:
	psi/make_gen
	psi/phytron.c
	psi/psi.c
	psi/slsecho.c
	psi/sps.c
2010-03-25 10:02:47 +00:00
koennecke
40ff36d142 - Fixed a singlex death when there was no lambda. Was a problem during
shutdown when nothing works as it should
- Made an attempt to have all error message printed on demand
- Added a tricsswap feature to sinqhttp which swaps the data right for SICS
- Edited speed for phytron driver
- First attack on adding a misalignment calculation to tasub
- Added a test protocol for scriptcontext which can be configured.


SKIPPED:
	psi/sinqhttp.c
2010-03-09 13:12:01 +00:00
koennecke
09cc25ec5b - Implemented tcl: prefix which allows to execute a command in Tcl directly
- Fixed a stack overrun bug in macro.c
- Fixed a killing bug in devser.c
- Added node writing with offset to nxscript.c
- Wrote a simulation driver for second generation HM's
- Readded devexec commands to  SICS
- Readded Hipadaba initialisation to SICS
- Fixed a bug in sinqhttprot.c which is triggered when a reconnect happens
  during a node based download of data.


SKIPPED:
	psi/sinqhttpprot.c
2010-02-02 12:38:10 +00:00
zolliker
1dff223146 - bug fix (end of quoted text was not detected correctly) 2010-02-01 16:14:21 +00:00
zolliker
3e8938e986 - bug fixes
SKIPPED:
	psi/haakedriv.c
2010-02-01 11:29:46 +00:00
zolliker
820db0b52a - sicsutil.c contains code from acces.c and the function DoubleTime 2010-01-28 08:40:02 +00:00
zolliker
969b35d1d7 - moved IFServerOption to ifile.c
- moved PWSicsUser to passwd.c
- moved back InitObjectCommands to ofac.c
2010-01-28 08:39:21 +00:00
zolliker
492bed4ba7 restructured configuration
- removed RemovePsiCommands (the choice if a command is removed or not
  should be done when declaring it)
- reduced the include list to the necessary files


SKIPPED:
	psi/psi.c
2010-01-28 08:16:51 +00:00
zolliker
4bf0c87daf restructured configuration (ofac.c)
- ofac.c contains now only the command in initialisation function list
- the other functions are moved to sicsutil.c
- moved DoubleTime and the content of access.c to sicsutil.c
- moved some initialisation code from ofac.c to the corresponding modules
2010-01-28 08:14:37 +00:00
zolliker
9b18a3bd0a .
SKIPPED:
	psi/tecs/make_crv
2010-01-27 13:39:51 +00:00
zolliker
534ad53803 - bug fixes
SKIPPED:
	psi/arrobj.c
	psi/linadriv.c
	psi/pardef.c
2010-01-27 13:39:43 +00:00
zolliker
a56838b90d - simplified devser queue
- added inherited sct variables starting with @
- inserted SctIsPending / DevIsPending
- some general improvements in scriptcontext.c/sctdriveobj.c
2010-01-27 13:39:33 +00:00
zolliker
7976b52212 - move DoubleTime to nserver.c
- extend wait command to fraction of seconds
2010-01-27 13:37:06 +00:00
zolliker
cbcdd26fbc - automatically add logger_name property to logged nodes 2010-01-27 13:35:53 +00:00
zolliker
e357d641bf - reimplemented RemoveSICSInternalCallbackFrom 2010-01-27 13:34:57 +00:00
zolliker
3f75ed617b - moved DoubleTime to nserver.c
- skip ascii nuls in standard handler
2010-01-27 13:33:46 +00:00
koennecke
be13da8a03 - SICS cleanup: removed unused code
SKIPPED:
	psi/make_gen
	psi/makefile_linux
	psi/polterwrite.c
	psi/psi.c
2010-01-19 12:55:40 +00:00
koennecke
c3b3ab1f06 - Make linux makefiles work
SKIPPED:
	psi/make_gen
	psi/makefile_linux
	psi/termprot.c
	psi/hardsup/makefile_linux
	psi/tecs/pg_plus/makefile_linux
	psi/utils/makefile_linux
2009-12-23 14:08:22 +00:00
koennecke
b2ecec6efe - Scripts with errors will continue to be called by sicscron 2009-12-22 13:54:08 +00:00
koennecke
41e0175571 - Added tests setups for new drivers 2009-12-04 13:02:32 +00:00
koennecke
f40de7ffc6 - Added a user specific range test to the astrium driver for the POLDI
- Added speed parameter to phytron
- Added new drivers for EL755 magnets and the PI DC-406 motor controller
2009-12-04 13:02:10 +00:00
koennecke
8cc5474334 - After a bug at TRICS I replaced all occurrences of strcpy, strcat, sprintf
by length limited versions wherever appropriate.


SKIPPED:
	psi/el755driv.c
	psi/faverage.c
	psi/frame.c
	psi/lmd200.c
	psi/polterwrite.c
	psi/psi.c
	psi/sanswave.c
	psi/sinqhmdriv.c
	psi/termprot.c
2009-12-04 12:58:31 +00:00
koennecke
297f9f2e02 - Modified SPS core to use rs232controller instead of the obsolete
asynsrv server from David Maden


SKIPPED:
	psi/sps.c
2009-11-16 10:58:30 +00:00
zolliker
dc64f56960 - introduced header file dependency check
- improvements in tecs


SKIPPED:
	psi/tecs/make_crv
	psi/tecs/make_gen
	psi/tecs/makefile_linux
	psi/tecs/tecs.c
2009-11-10 10:40:38 +00:00
zolliker
6696dcbf4a - introduced header file dependency check
- improvements in ease drivers
- no "Counting finished" message in tas scan


SKIPPED:
	psi/ease.c
	psi/haakedriv.c
	psi/linadriv.c
	psi/lsc370driv.c
	psi/make_gen
	psi/makefile_linux
	psi/oxinst.c
	psi/pardef.c
	psi/tasscan.c
	psi/tecsdriv.c
2009-11-10 10:40:14 +00:00
zolliker
58cf612fa9 - introduced header file dependency check
SKIPPED:
	psi/hardsup/make_gen
	psi/hardsup/makefile_linux
2009-11-10 10:39:29 +00:00
zolliker
1c6c3c603e - minor improvements 2009-11-10 10:38:48 +00:00
zolliker
7e10c5e296 - introduced header file dependecy check 2009-11-10 10:38:08 +00:00
zolliker
f5c72bba35 - imlement header file depedency check 2009-11-10 10:37:31 +00:00
zolliker
9d8f3d89f0 - make dynstring independed from NUL terminating in strings where possible 2009-11-10 10:35:49 +00:00
zolliker
5e9d28037c - do not write "Counting finished" message in a tas scan 2009-11-10 10:34:52 +00:00