Mark Koennecke 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
2005-03-18 06:45:14 +00:00
2009-12-23 14:08:22 +00:00
2009-02-03 08:06:37 +00:00
2007-01-29 05:36:36 +00:00
2005-03-08 11:11:51 +00:00
2000-02-07 10:38:55 +00:00
2006-03-31 15:24:52 +00:00
2011-04-08 14:18:42 +00:00
2011-04-08 14:18:42 +00:00
2013-08-14 09:50:22 +00:00
2011-04-08 14:18:42 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2006-07-07 15:05:24 +00:00
2006-07-07 15:05:24 +00:00
2000-02-07 10:38:55 +00:00
2006-04-11 08:03:15 +00:00
2012-03-29 08:41:05 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2013-08-14 09:50:22 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2001-04-27 08:38:20 +00:00
2013-09-16 09:27:50 +00:00
2000-02-07 10:38:55 +00:00
2013-04-02 15:13:35 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2013-08-14 09:50:22 +00:00
2013-08-14 09:50:22 +00:00
2000-02-07 10:38:55 +00:00
2013-04-02 15:13:35 +00:00
2006-06-20 14:49:25 +00:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2013-09-16 09:27:50 +00:00
2003-05-09 12:24:21 +00:00
2000-02-07 10:38:55 +00:00
2014-02-24 08:42:19 +01:00
2011-06-29 07:53:54 +00:00
2013-04-02 15:13:35 +00:00
2009-10-30 13:49:37 +00:00
2003-12-10 13:50:44 +00:00
2013-08-14 09:50:22 +00:00
2013-09-16 09:27:50 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2013-04-02 15:13:35 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2003-12-11 10:52:00 +00:00
2013-09-16 09:27:50 +00:00
2010-06-04 14:38:00 +00:00
2013-10-16 12:46:37 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2014-04-07 14:02:07 +02:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2012-06-19 06:57:54 +00:00
2012-06-19 07:20:09 +00:00
2012-10-08 08:47:23 +00:00
2012-06-19 06:57:54 +00:00
2002-01-25 14:48:50 +00:00
2008-07-23 12:15:06 +00:00
2012-03-29 08:41:05 +00:00
2005-03-08 11:11:51 +00:00
2009-06-30 06:43:23 +00:00
2005-03-08 11:11:51 +00:00
2005-03-08 11:11:51 +00:00
2005-03-08 11:11:51 +00:00
2013-11-07 08:42:32 +00:00
2013-11-07 08:42:32 +00:00
2006-05-23 15:05:28 +00:00
2006-05-23 15:05:28 +00:00
2013-08-14 09:50:22 +00:00
2012-03-29 08:41:05 +00:00
2012-03-29 08:41:05 +00:00
2003-12-11 10:52:00 +00:00
2003-12-11 10:52:00 +00:00
2013-04-02 15:13:35 +00:00
2010-01-28 08:14:37 +00:00
2003-12-11 10:52:00 +00:00
2003-12-11 10:52:00 +00:00
2012-03-29 08:41:05 +00:00
2008-01-03 09:56:55 +00:00
2012-03-29 08:41:05 +00:00
2012-03-29 08:41:05 +00:00
2012-03-29 08:41:05 +00:00
2003-12-10 13:50:44 +00:00
2012-03-29 08:41:05 +00:00
2012-03-29 08:41:05 +00:00
2013-04-02 15:13:35 +00:00
2013-11-07 08:42:32 +00:00
2013-04-02 15:13:35 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2010-01-28 08:39:21 +00:00
2011-06-29 07:53:54 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2007-11-27 13:36:15 +00:00
2012-03-29 08:41:05 +00:00
2010-01-28 08:14:37 +00:00
2007-10-16 09:21:28 +00:00
2013-04-02 15:13:35 +00:00
2009-02-17 08:40:55 +00:00
2009-02-17 08:50:23 +00:00
2009-02-17 08:50:23 +00:00
2012-06-19 07:20:09 +00:00
2013-09-16 09:27:50 +00:00
2011-04-08 14:18:42 +00:00
2013-08-14 09:50:22 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2003-12-11 10:52:00 +00:00
2003-12-11 10:52:00 +00:00
2011-06-29 07:53:54 +00:00
2013-04-02 15:13:35 +00:00
2013-11-07 08:42:32 +00:00
2013-09-16 09:27:50 +00:00
2009-11-10 10:38:48 +00:00
2013-04-02 15:13:35 +00:00
2013-08-14 09:50:22 +00:00
2006-12-07 14:04:17 +00:00
2011-06-29 07:53:54 +00:00
2013-08-14 09:50:22 +00:00
2012-03-29 08:41:05 +00:00
2009-03-09 08:28:08 +00:00
2012-03-29 08:41:05 +00:00
2010-04-15 09:40:27 +00:00
2009-02-17 08:40:55 +00:00
2009-02-17 08:40:55 +00:00
2012-03-29 08:41:05 +00:00
2009-02-17 08:40:55 +00:00
2013-04-02 15:13:35 +00:00
2013-08-14 09:50:22 +00:00
2000-02-07 10:38:55 +00:00
2010-04-15 09:40:27 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2010-04-13 15:36:03 +00:00
2013-09-16 09:27:50 +00:00
2014-04-07 14:02:07 +02:00
2014-04-07 14:02:07 +02:00
2013-04-02 15:13:35 +00:00
2013-05-24 05:44:52 +00:00
2013-04-02 15:13:35 +00:00
2013-04-02 15:13:35 +00:00
2013-08-14 09:50:22 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2013-04-02 15:13:35 +00:00
2009-06-30 06:43:23 +00:00
2013-04-02 15:13:35 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2003-12-10 13:50:44 +00:00
2003-12-10 13:50:44 +00:00
2006-03-31 15:24:52 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00
2000-02-07 10:38:55 +00:00

  SICS README

  Requirements 

  - hdf-4, hdf5- libraries: http://hdf.ncsa.uiuc.edu
  - szlib                 : same place as HDF
  - Mini XML library      : http://www.minixml.org/software.php
  - libghttp              : 
       http://ftp.gnome.org/pub/GNOME/source/libghttp/1.0/libghttp-1.0.9.tar.gz
  - json-c                : http://oss.metaparadigm.com/json-c
  - tcl                   : any version from 8.0, package tcl-devel on most 
                            modern linux distros


  Building

  Install the libraries stated above, preferably to a common place.
  Then edit the suplied makefile, instance makefile_linux, and change:
  - uncomment all the NI, NIOBJ, NILIB stuff, except if you want support 
    for the NI enet100 GPIB/TCP/IP converter. 
  - Edit linux_def and set HDFROOT to where you installed your libraries
  - Review the CFLAGS and LIBS to match your setup. Consider file format
    format support:
    ** HDF-4 required -DHDF4 in CFLAGS and -lmfdf -ldf in LIBS
    ** HDF-5 support requires: -DHDF5 in CFLAGS and -lhdf5 in LIBS 
    ** XML support requires:  -DNXXML -n CFLAGS and -lmxml in LIBS
  - build with make -f makefile_linux
  - Good Luck!!
  Sorry, no configure script here. There are so few people building SICS 
  that it is not worth the effort. The effort really is to build the 
  libraries.


  Running
  
  In the sim directory there are startup scripts for a number of different 
  instruments. To run any of them:
  - edit the instrument file and change the home or root variable at the 
    top to match your setup.
  - run with: SICServer path-to-instrument-file
    For example: SICServer sim/topsi/morpheus.tcl
  - Common issues:
    ** tmp directory missing: create one
    ** SicsDataNumber file missing: create a file with a single 0 in it

  
  Trying it out with telnet

  - telnet host-where-sics-runs 2911
  - type username and password: Spy 007 is a good idea for the supplied sims
  - type SICS commands


  Directories

  sics             : root directory containing the SICS kernel
  sics/psi         : psi specific drivers and stuff
  sics/site_ansto  : ANSTO specific stuff. Currently empty, ANSTO has its 
                     own cvs
  sics/dummy       : example kit for defining an own site
  sics/doc/user    : user documentation
  sics/doc/manager : manager documentation
  sics/doc/programmer : programmer documentation
  sics/matrix      : matrix library used within SICS
  sics/mcstas      : code for virtual McStas instruments
  sics/sim         : control files for various instruments
  sics/test        : a sort of regression test for the SICS server

  
Description
SICS version for SEA (generic part)
Readme 43 MiB
Languages
C 77.6%
TeX 8.6%
Tcl 6.7%
CWeb 6%
SWIG 0.6%
Other 0.3%