Ferdi Franceschini
10d29d597c
Cleaned up ANSTO code to merge with sinqdev.sics
...
This is our new RELEASE-4_0 branch which was taken from ansto/93d9a7c
Conflicts:
.gitignore
SICSmain.c
asynnet.c
confvirtualmot.c
counter.c
devexec.c
drive.c
event.h
exebuf.c
exeman.c
histmem.c
interface.h
motor.c
motorlist.c
motorsec.c
multicounter.c
napi.c
napi.h
napi4.c
network.c
nwatch.c
nxscript.c
nxxml.c
nxxml.h
ofac.c
reflist.c
scan.c
sicshipadaba.c
sicsobj.c
site_ansto/docs/Copyright.txt
site_ansto/instrument/lyrebird/config/tasmad/sicscommon/nxsupport.tcl
site_ansto/instrument/lyrebird/config/tasmad/taspub_sics/tasscript.tcl
statusfile.c
tasdrive.c
tasub.c
tasub.h
tasublib.c
tasublib.h
2015-04-23 20:49:26 +10:00
Ferdi Franceschini
7bb1763da9
SICS-684 Add 'hmm astop' command to simulated hmm in script validator.
...
See SICS-638 for justification.
2013-10-29 09:16:54 +11:00
Douglas Clowes
06eba7ce4b
ffr stupid hack
2012-11-29 10:30:51 +11:00
koennecke
4f560552c4
- Removed SCStart/EndBuffering as far as possible and fixed an issue with
...
the capture command in that it not put resluts into the Tcl interpreter.
This broke scriptcontext scripts in complicated situations.
- Resolved some issues with the TAS calculation and negative scattering sense.
- Fixed a bug which did not reset the state to idle after checking
reachability in confvirtualmot.c
SKIPPED:
psi/autowin.c
psi/eigera2.c
psi/jvlprot.c
psi/makefile_linux
psi/sinqhttpopt.c
psi/tasscan.c
2012-10-29 12:56:29 +00:00
koennecke
3ee1865f9b
- Introduced a new trace facility
...
- Fixed performance problems in many protocol drivers.
SKIPPED:
psi/julprot.c
psi/phytron.c
psi/pmacprot.c
psi/polterwrite.c
psi/spss7.c
2011-06-29 07:53:54 +00:00
koennecke
446b05d6a2
- Added some hipadab array math
...
- Added missing cnvrt files, stolen from Markus
- Debugged the new sinqhttpopt driver for SINQ HTTP HM
- Debugged the driver for the new S7 Siemens SPS
- Added handling of hexadecimal terminators to ascon.c
- Increased the write buffer size in asynnet again
- Fixed a core dump in lld.c
- Added writing of second gen HM to nxscript.c
- Added doubletime command to SICS
- Fixed a core dump issue in sicshdbadapter.c on dimension changes
- Modified sicsobj to look for lower case keys too
SKIPPED:
psi/cnvrt.c
psi/cnvrt.h
psi/el734hp.c
psi/make_gen
psi/sinqhttpopt.c
psi/sinqhttpprot.c
psi/spss7.c
psi/swmotor.c
2011-04-08 14:18:42 +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
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
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
2e873e3059
- Fixed a crash coming from velo.c
...
- Improved saving of reflection lists
- The other changes are mostly whitespace
2009-10-30 13:49:37 +00:00
koennecke
e076a00fde
- Fixed NB indexing
...
- Fixed an issue with setbin generated time binnings
2009-06-30 06:43:23 +00:00
koennecke
3f3f0810e5
- Many fixes to the four circle codes during taking the new code into
...
operation.
- Fixed some missing output
- Second generation histogram memory and velocity selector objects
- Fixed a problem in diffscan
2009-05-15 13:21:20 +00:00
koennecke
99d2485d22
- Connections write timeouts were incorrectly handled in asynnetc. Fixed.
...
- Implemented the desired run/drive behaviour: drive waits for what it started
run starts, and success waits for everything to finish. This required
changes to a lot of files.
- Fixed a bug in remob which supressed required messages
2009-04-17 12:52:01 +00:00
koennecke
3e8b11675a
- Introduced a general Hipadaba table module and modified the four
...
circle codes to use it.
- Added to functions to histmem, getdelay and formattof, to support new HM
- Removed obsolete mesure.*
2009-03-16 14:24:34 +00:00
zolliker
76694b409d
- fixed statements throwing unused-value warning
...
SKIPPED:
psi/buffer.c
2009-02-27 07:57:33 +00:00
koennecke
91d4af0541
- Adapted indenation to new agreed upon system
...
- Added support for second generation scriptcontext based counter
2009-02-13 09:00:03 +00:00
koennecke
361ee9ebea
- Reworked the connection object and the IO system
...
- Reworked the support for TRICS
- Added a second generation motor
2009-02-03 08:05:39 +00:00
koennecke
0915491925
- Scriptcontext debugged to be working
...
- Added a drivable adapter to scriptcontext nodes
- Added subsampling to simulated histograms (and as a general option) in
order to support Gumtree testing.
2008-06-09 08:57:53 +00:00
koennecke
1053f1cef1
- Fixed a couple of bugs
2007-03-22 08:52:07 +00:00
koennecke
78fce0127d
- Added a SICS to Hipadaba adapter
...
- Added a separate polling module to SICS
2006-12-07 14:04:17 +00:00
koennecke
0825c48986
- Added support for accessing the exe file management functions from scripts
...
- Fixed a bug in hmdata.c
- Fixed an issue with tempoerature writing through RemObjects in mesure
- Added auxiliary reflections to tasub
- Make maximize use soft motor positions
2006-11-24 15:51:19 +00:00
koennecke
4f069341f5
- added makeauxub to tasub
...
- fixes for MARS
- extended maximize to honour maxpts and the in360 flag
- added regression histmem driver
2006-10-20 14:54:39 +00:00
koennecke
cb3bf30bbf
- Fixes to hkl code
...
- Fixes to make RITA work
- tasub extended to calculate UB from cell alone, support for elastic mode
- New MultiCounter as abstraction for counting on HM's
- regression test driver for counters
2006-09-13 07:12:00 +00:00
koennecke
a5c2da6acf
- Switched motor to hdb
...
- Changes to Hipadaba
- Added project to histogram memory code
- Started regression testing code
- Added hill climbing as optimization method to optimise
2006-08-16 14:13:05 +00:00
koennecke
5532f937dc
- Fixed a bug in napi5.c
2006-03-03 15:30:54 +00:00
koennecke
45fd50265f
- Added SicsList
...
- Removed group and description attributes from ObjectDescriptor
SKIPPED:
psi/dornier2.c
psi/libpsi.a
psi/make_gen
psi/makefile_linux
psi/pimotor.c
psi/pipiezo.c
psi/psi.c
psi/serial.c
psi/sinqhttp.c
psi/sinqhttp.h
psi/tcpdornier.c
psi/velodornier.c
2006-01-16 08:32:07 +00:00
koennecke
b3138f1197
- Added Sycamore protocol and command context to SICS
...
- Added sinfo to SICS
- Added driver for TCP/IP Astrium velocity selector
- Added driver for TCP/IP Astrium chopper controller
SKIPPED:
psi/amor2t.c
psi/amorstat.c
psi/dornier2.c
psi/ecb.c
psi/el734hp.c
psi/fowrite.c
psi/libpsi.a
psi/make_gen
psi/nextrics.c
psi/pardef.c
psi/pimotor.c
psi/pipiezo.c
psi/polterwrite.c
psi/psi.c
psi/scontroller.c
psi/serial.c
psi/tasinit.c
psi/tasscan.c
psi/tcpdocho.c
psi/tcpdornier.c
psi/tricssupport.c
psi/velodornier.c
2005-12-22 22:16:10 +00:00
koennecke
96e8cdb2d5
- DMC McStas simulation working
...
SKIPPED:
psi/amorstat.c
psi/nxamor.c
psi/pimotor.c
psi/polterwrite.c
2005-07-05 07:06:15 +00:00
koennecke
ef6c04e6b8
- Adding first working version of the McStas SICS connection to cvs
...
SKIPPED:
psi/polterwrite.c
2005-06-22 07:09:59 +00:00
koennecke
3a0b4f293c
- Fixed sign problems with om in tasub
...
- Mended tasdrive to drive energy even if Q is askew
- Fixed QM values
- Fixed problems in mesure: om2th, wrong theta selection
- Fixed core dump when driving h,kl, failed
2005-06-09 12:04:38 +00:00
zolliker
9a94b6dca7
made code proper to avoid warning/fixed some small potential bugs
2005-03-04 12:53:07 +00:00
koennecke
28ddbc420d
- Added separate drivable motors for four circle H, K, L
...
- Added a listen mode to commandlog in order to support the batchEditor
- Some small fixes to exe* for BatchEditor
2005-02-23 10:11:18 +00:00
cvs
bc02cb79e7
- made fixes to hkl
...
- Introduced a help system
- introduced a module for handling automatic updates of files during
long measurements
- Added a circular buffer and handling facilities to varlog
- Upgraded documentation
SKIPPED:
psi/faverage.h
psi/nxamor.tex
psi/pimotor.h
psi/pimotor.tex
2003-12-10 13:50:44 +00:00
cvs
790d5c217a
- Fixed a bug in histmem.c which could casue core dumps if the user did
...
not give at least one time channel
2003-08-28 07:02:44 +00:00
cvs
007a2e2536
-Still another cleanup problem
2003-06-20 13:47:27 +00:00
cvs
e3cd728ecb
- Rearranged directory structure for forking out ANSTO
...
- Refactored site specific stuff into a site module
- PSI specific stuff is now in the PSI directory.
- The old version has been tagged with pre-ansto
SKIPPED:
psi/A1931.c
psi/A1931.h
psi/amor2t.c
psi/amor2t.h
psi/amor2t.i
psi/amor2t.tex
psi/amor2t.w
psi/amorscan.c
psi/amorscan.h
psi/amorscan.w
psi/amorstat.c
psi/amorstat.h
psi/amorstat.i
psi/amorstat.tex
psi/amorstat.w
psi/bruker.c
psi/bruker.h
psi/bruker.w
psi/buffer.c
psi/buffer.h
psi/dilludriv.c
psi/dilludriv.h
psi/dmc.c
psi/dmc.h
psi/dmc.w
psi/docho.c
psi/ecb.c
psi/ecb.h
psi/ecb.i
psi/ecb.w
psi/ecbdriv.c
psi/ecbdriv.h
psi/el734dc.c
psi/el734driv.c
psi/el755driv.c
psi/el755driv.h
psi/faverage.c
psi/faverage.h
psi/faverage.tex
psi/faverage.w
psi/fowrite.c
psi/fowrite.h
psi/itc4.c
psi/itc4.h
psi/itc4.w
psi/itc4driv.c
psi/ltc11.c
psi/ltc11.h
psi/nextrics.c
psi/nextrics.h
psi/nxamor.c
psi/nxamor.h
psi/nxamor.tex
psi/nxamor.w
psi/pimotor.c
psi/pimotor.h
psi/pimotor.tex
psi/pimotor.w
psi/pipiezo.c
psi/polterwrite.c
psi/polterwrite.h
psi/psi.c
psi/ruli.c
psi/ruli.h
psi/sanscook.c
psi/sanswave.c
psi/sanswave.h
psi/sanswave.tex
psi/sanswave.w
psi/serial.c
psi/serial.h
psi/serial.w
psi/sinqhmdriv.c
psi/sinqhmdriv.i
psi/sinqhmdriv.w
psi/slsmagnet.c
psi/sps.c
psi/sps.h
psi/sps.i
psi/sps.tex
psi/sps.w
psi/swmotor.c
psi/swmotor.h
psi/swmotor.i
psi/tas.c
psi/tas.h
psi/tas.tex
psi/tas.w
psi/tasdrive.c
psi/tasinit.c
psi/tasscan.c
psi/tasu.h
psi/tasutil.c
psi/tdchm.c
psi/tdchm.h
psi/tecsdriv.c
psi/tecsdriv.h
psi/velodorn.c
psi/velodorn.h
psi/velodorn.w
psi/velodornier.c
psi/hardsup/README
psi/hardsup/StrMatch.c
psi/hardsup/asynsrv_def.h
psi/hardsup/asynsrv_errcodes.h
psi/hardsup/asynsrv_mark.c
psi/hardsup/asynsrv_utility.c
psi/hardsup/c_interfaces.c
psi/hardsup/dillutil.c
psi/hardsup/dillutil.h
psi/hardsup/el734_def.h
psi/hardsup/el734_errcodes.h
psi/hardsup/el734_utility.c
psi/hardsup/el734fix.h
psi/hardsup/el734tcl.c
psi/hardsup/el737_def.h
psi/hardsup/el737_errcodes.h
psi/hardsup/el737_utility.c
psi/hardsup/el737fix.h
psi/hardsup/el737tcl.c
psi/hardsup/el755_def.h
psi/hardsup/el755_errcodes.h
psi/hardsup/el755_errorlog.c
psi/hardsup/el755_utility.c
psi/hardsup/err.c
psi/hardsup/failinet.c
psi/hardsup/geterrno.c
psi/hardsup/itc4util.c
psi/hardsup/itc4util.h
psi/hardsup/make_gen
psi/hardsup/makefile_alpha
psi/hardsup/makefile_linux
psi/hardsup/makeprint.c
psi/hardsup/rs232c_def.h
psi/hardsup/serialsinq.c
psi/hardsup/serialsinq.h
psi/hardsup/sinq_defs.h
psi/hardsup/sinq_prototypes.h
psi/hardsup/sinqhm.c
psi/hardsup/sinqhm.h
psi/hardsup/sinqhm_def.h
psi/hardsup/stredit.c
psi/hardsup/strjoin.c
psi/hardsup/table.c
psi/hardsup/table.h
psi/hardsup/velsel_def.h
psi/hardsup/velsel_utility.c
psi/motor/Makefile
psi/motor/el734_test
psi/motor/el734_test.c
psi/motor/makeprint.c
psi/sinqhm/FOCUS_gbl.h
psi/sinqhm/FOCUS_srv_main.c
psi/sinqhm/Makefile
psi/sinqhm/SinqHM_bootParamsConfig.c
psi/sinqhm/SinqHM_bootUtil.c
psi/sinqhm/SinqHM_def.h
psi/sinqhm/SinqHM_gbl.h
psi/sinqhm/SinqHM_srv_filler.c
psi/sinqhm/SinqHM_srv_main.c
psi/sinqhm/SinqHM_srv_routines.c
psi/sinqhm/SinqHM_srv_server.c
psi/sinqhm/bld
psi/sinqhm/bld2
psi/sinqhm/bldmen
psi/sinqhm/hist_mem_notes.tex
psi/sinqhm/hist_mem_spec.tex
psi/sinqhm/hist_mem_spec_fig1.ps
psi/sinqhm/hist_mem_spec_fig2.ps
psi/sinqhm/hist_mem_spec_fig3.ps
psi/sinqhm/hist_mem_spec_fig4.ps
psi/sinqhm/lwl_client.c
psi/sinqhm/lwl_server.c
psi/sinqhm/make_sinqhm.com
psi/sinqhm/monitor.c
psi/sinqhm/psi_logo.ps
psi/sinqhm/sinq_logo.ps
psi/sinqhm/sinqhm_bootutil_client.c
psi/sinqhm/sinqhm_client.c
psi/sinqhm/sinqhm_ctrl.c
psi/sinqhm/usrConfig.c
psi/sinqhm/usrConfig.c_diffs
psi/sinqhm/usrConfig2604.c
psi/sinqhm/vmio10_def.h
psi/sinqhm/vmio_utility.c
psi/tecs/coc_client.c
psi/tecs/coc_client.h
psi/tecs/coc_logfile.c
psi/tecs/coc_logfile.h
psi/tecs/coc_server.c
psi/tecs/coc_server.h
psi/tecs/coc_util.c
psi/tecs/coc_util.h
psi/tecs/fortify1.c
psi/tecs/instr_hosts.c
psi/tecs/instr_hosts.h
psi/tecs/keep_running.c
psi/tecs/make_gen
psi/tecs/make_opt
psi/tecs/make_opt_alpha
psi/tecs/make_opt_llc
psi/tecs/makefile
psi/tecs/makefile_alpha
psi/tecs/makefile_linux
psi/tecs/myc_buf.c
psi/tecs/myc_buf.h
psi/tecs/myc_err.c
psi/tecs/myc_err.h
psi/tecs/myc_fortran.h
psi/tecs/myc_mem.h
psi/tecs/myc_str.c
psi/tecs/myc_str.h
psi/tecs/myc_time.c
psi/tecs/myc_time.h
psi/tecs/myc_tmp.c
psi/tecs/myc_tmp.h
psi/tecs/rstart.c
psi/tecs/six.c
psi/tecs/str.f
psi/tecs/sys_cmdpar.f
psi/tecs/sys_date.f
psi/tecs/sys_env.c
psi/tecs/sys_get_key.f
psi/tecs/sys_getenv.f
psi/tecs/sys_lun.f
psi/tecs/sys_open.f
psi/tecs/sys_open_alpha.f
psi/tecs/sys_rdline.c
psi/tecs/sys_select.c
psi/tecs/sys_select.h
psi/tecs/sys_unix.c
psi/tecs/sys_wait.f
psi/tecs/tecs.bld
psi/tecs/tecs.c
psi/tecs/tecs.tcl
psi/tecs/tecs_c.c
psi/tecs/tecs_c.h
psi/tecs/tecs_cli.c
psi/tecs/tecs_cli.h
psi/tecs/tecs_client.f
psi/tecs/tecs_data.c
psi/tecs/tecs_data.h
psi/tecs/tecs_dlog.inc
psi/tecs/tecs_for.f
psi/tecs/tecs_lsc.c
psi/tecs/tecs_lsc.h
psi/tecs/tecs_plot.f
psi/tecs/tecs_serial.c
psi/tecs/tecs_serial.h
psi/tecs/term.c
psi/tecs/term.h
psi/utils/Makefile
psi/utils/SerPortServer.c
psi/utils/asynsrv_test.c
psi/utils/ecb-load.c
psi/utils/el734.c
psi/utils/el734_test.c
psi/utils/el737.c
psi/utils/make.ecb
psi/utils/check/amorcheck
psi/utils/check/dmccheck
psi/utils/check/focuscheck
psi/utils/check/focusstatus.tcl
psi/utils/check/hrptcheck
psi/utils/check/sanscheck
psi/utils/check/sicssyntax.tex
psi/utils/check/sicssyntaxlib.tcl
psi/utils/check/test.tcl
psi/utils/check/topsicheck
psi/utils/check/tricscheck
psi/utils/check/tst
2003-06-20 10:17:44 +00:00
cvs
f3853c20f0
- Fixed bug with ECB not stopping when no beam
...
- Fixed synchronisation issues
- Fixed hsitogram memory writing from nxscript
- Started module for writing SICS interfaces in Tcl
- Fixed a bug in scan, which allowed to corrupt files
- Fixed memory problems in napi5
2003-05-23 15:06:47 +00:00
cvs
7669a9b3fb
- Recovered POLDI from the land of lost files
2003-04-23 11:52:44 +00:00
cvs
b06a473cf5
- fixed a anticollider bug
...
- fixed problems with the synchronization code
- fixed some small TASP problems
2003-04-22 09:29:13 +00:00
cvs
98cfb3ddda
- Implemented defpos for multiple motors
...
- Implemented automatic backup on parameter change
- Implemented silent restore
- Cleaned a couple of unused flags from connection object
2003-02-19 08:29:46 +00:00
cvs
ac10723d74
- TDC histogram memory driver sort of working
...
- New class for scripting datafiles
- SANS-II almost complete initialization file
2003-02-07 15:20:19 +00:00
cvs
f51588e2a7
- Refactored histogram memory code a little
...
- motor driver for ECB now fully working
- Fixed an anticollider bug
- Untested version of a driver for the Risoe TDC histogram memory
2003-01-31 16:23:54 +00:00
cvs
995484cc44
- Fix for SANS
2002-11-13 07:47:17 +00:00
cvs
55eedb640b
- Small fixes to histogram memory software
...
- Added simulation directories and instruments
2002-10-30 08:59:29 +00:00
cvs
bde19bb973
- Fixes to HM code for AMOR TOF
...
- A couple of TAS fixes
- o2t was fixed to work with any drivable
- FOCUS was mended to include beam monitor in data file
2002-07-19 15:09:21 +00:00
cvs
0daef05b2e
- Poldi data file writing with automatic update
...
- many fixes to TAS
- Changed HM code for ILL PSD to account for Christoph's offset to
positive.
2002-04-25 09:39:51 +00:00
cvs
db6c355f44
- Enhanced and debugged histogram memory for AMOR
...
* added PROJECT both in HM and driver code
* added single detector support.
- Removed several bugs in the AMOR data bit.
- Updated documentation
2001-08-17 14:33:05 +00:00
cvs
0fac95ea9b
- Updated the managers documentation a little
...
- The crystal settings calculation in hkl now tried to put omega into
the limts by calculating a delta omega.
- TRICS data files now include HKL and the UB
- The scan module has been expanded to support user defined scans which
run a script at any scan point.
- A small fix to the PSD code in SinqHM_srv_filler
2001-07-20 08:05:25 +00:00
cvs
8f84d45dd6
- Added a multiple histogram memory control module. This required a
...
tiny change in the countable interface which in turn required updating
of header file includes in a lot of files.
- Some small fixes to TRICS writing as well.
2001-06-08 15:18:35 +00:00
cvs
5be8359212
- Fixed SICS up to run with up to three TRICS detectors.
...
- added 150 detectors the default for FOCUS middle bank.
- added documentation for el734_test
2001-02-09 16:04:46 +00:00