Reduce log noise by setting iout = eInternal for macros.
servlog.c
Fixed timestamp in logfiles to get hours.
hmm_configuration_common_1.tcl
Added ML's mods to wombat config: ie BAT and FAT TABLE attributes and elements for multi-period acquisition and histo-streaming.
Fixed "failed lsearch" bug. It's more robust to test for a non-successful lsearch instead of a failed lsearch.
nxscripts_common_1.tcl
SICS-297 Fixed Saving data series in a scratch file overwrites earlier entries.
instdict_specification.tcl
Added "scobj" kind and "sct_indexed_motor" sics object type for script context controllers and and objects.
hipadaba_configuration_common.tcl
Added sct_indexed_motor sics obj type to ::hdb::sobjadd and scobj kind to ::hdb::add_node
sct_positmotor_common.tcl
Update the index SICS variable when updating the current index value to make sure that the position is saved in the data file.
You must now provide the hdb node_name when creating the sct posit motor.
mk_sct_positmotor now sets the "param" and "long_name" attributes on the posit motor object
util/utility.tcl
Added ::utility::set_sct_indexed_motor_attributes to set SICS object attributes required for generating hdb info for an SCT_POSIT_MOTOR
nxscript.c
Merge the ansto mod to putslab (rev1.7) which adds support for saving unbuffered data from the histmem.
sicshipadaba.c
This incorporates the patch made to CommandSetCallback in rev1.10 so it can just be copied as is (ie no merge required).
WARNING: There are changes to ListHdbNode to handle record separators which may affect us.
Disabled sending hdb command start and stop messages because they break gumtree
sicshdbfactory.c
Disabled sending hdb command start and stop messages because they break gumtree
hipadaba_configuration_common.tcl R2.4DEV
The sct_posit_motor case of ::hdb::sobjadd is only needed to call add_node with kind=scobj.
nxscripts_common_1.tcl R2.4DEV
Added ::nexus::scobj::sdsinfo
_gen_nxdict now skips nodes with data_type == "none"
new util/script_context_util.tcl R2.4DEV
Adds ::scobj::hinitprops command to initialise the hdb properties for script context object nodes.
sct_positmotor_common.tcl R2.4DEV
Use ::scobj::hinitprops utility command to initialise hdb properties on script context object parameter nodes.
dynstring.c
DynStringReplace should memcopy '\0', otherwise it can get the wrong length for iTextLen.
Added DynStringReplaceWithLen to allow initialising a dynstring with char arrays which contain null chars and
other non-ascii chars. Useful for read and write buffers in script context.
ascon.c
AsconRead return NULL for noResponse and AsconFailed otherwise the "result" node gets set with a spurious empty value.
scriptcontext.c
SctActionHandler only set the "result" node if there really is a reply.
sicsobj.c
Update from M.K.
site_ansto.c
Added galil and ordela hvps protocol handlers for scriptcontext.
motor_dmc2280.c
Allow home parameter to be outside of limits (for KOWARI)
hardsup/makefile
Added ordela HVPS protocol handler
hardsup/sct_orhvpsprot.c
New ordela HVPS protocol handler. Retries on NAKs and re-orders pot channels (ie toggles lower two bits).
hardsup/sct_velselprot.c
Start velocity selector protocol handler.
hardsup/sct_galilprot.c
Completed galil protocol handler.
hipadaba_configuration_common.tcl
Add new style SICS objects to hdb tree.
instdict_specification.tcl
Added scobj to kind list and sct_motor to sics object list. (and some housekeeping)
hmm_configuration_common_1.tcl
Added ratemaps to simulation. Fixe BAT_TABLE and added PERIOD_INDICES as per Mark Lesha's mods for multi-period acquisition.
ratemaps now return float.
sct_postimotor_common.tcl
Now setting properties on the posit motor object so that it can be automatically added to the hdb tree.
hrpd/config/motors/motor_configuration.tcl
Fixed simulated msd motor so that it's handle properly in the hdb layer.
sans/config/hmm/detector_ordela.tcl
Updated the ordela calibration script to use the new sct_orhvpsprop.c script context controller.
quokka_configuration.tcl
Deleted lines which set the hdb properties for script context posit motors. This is now handled automatically as for other SICS objects.
utility.tcl
setpos now replaces the motor setpos subcommand.
Added functions to set script context object attributes and sct_posit motor attributes.
Created hparPath and hsibPath convenience commands for new-style SICS objects.
script_context_util.tcl
NEW! Adds hinitprops function to initialise the hdb properties for a script context object
r2758 | ffr | 2008-12-12 17:53:53 +1100 (Fri, 12 Dec 2008) | 113 lines
Restored a modification made in revision 1.7 which was reverted during the PSI update (2/10/08) probably when investigating SICS-291
hmm_configuration_common_1.tcl
Added hmm ratemap_xy_max_bin and ratemap_xy_total
site_ansto/hardsup/sct_galilprot.c
site_ansto/hardsup/makefile
Started adding galil protocol for script-context controllers.
sans/config/parameters/parameters.tcl
SICS-180 BeamCenterY should have been BeamCenterZ
r2742 | ffr | 2008-11-07 10:13:51 +1100 (Fri, 07 Nov 2008) | 13 lines
Added histmem and runscan command
hmm_configuration_common_1.tcl
Set histmem_cmd status feedback to IDLE on COUNTEND event
nxscripts_common_1.tcl
When saving a set of files the time-stamp is offset from the time the first file is created.
scan_common_1.tcl
The hmscan hook functions now set feedback on the runscan_cmd
sct_positmotor_common.tcl
Added mk_sct_positmotor command to create a script context controller which runs a motor to an indexed position.
Added positmotor_configuration.tcl to echidna, wombat, kowari, quokka, platypus.
sans/config/motors/positmotor_configuration.tcl
Has an example of a positmotor configuration for the sample changer
sanx/quokka_configuration.tcl
Setup feedback nodes for AttRotDeg and RotApDeg.
motor_utility.tcl
Added reldrive and relrun commands along with getmotpar convenience command.
r2725 | ffr | 2008-10-27 15:55:48 +1100 (Mon, 27 Oct 2008) | 26 lines
SICS-280 Check RCMS data-type and return -1 if it's invalid
motor_configuration.tcl files
Make sure that long_name matches data name for slit motors in data file.
hmm_configuration_common_1.tcl
SICS-268 Don't set VIEW_MAG_X/Y on histmem
r2699 | ffr | 2008-09-22 15:58:31 +1000 (Mon, 22 Sep 2008) | 9 lines
Added a ::histogram_memory::veto proc but it can't be used yet because you need to run hmm init to update the veto flag
r2690 | ffr | 2008-08-29 22:22:53 +1000 (Fri, 29 Aug 2008) | 3 lines
You can now run the oscillating collimator for a specified number of cycles.
A MOTEND event is now sent when the oscillator stops.
Also temporarily set status to eEager to allow changing the motor accesscode parameter while something else is running, (eg a counter)
motor.c
finishDriving is no longer static so we can call it from the oscilator and generate a MOTEND event.
west4100.c
Return 'success' from wrapper on "controlsensor" and "sensorlist" queries so we can test and capture their values in scripts.
Makefile
Compile the quokka beamstopaction object
site_ansto.c
Add the MakeActionObject command. Currently only makes the hardcoded beamstopaction object
obpar.c
Report object name and parameter on an illegal attempt to set a parameter
hmm_configuration_common_1.tcl
Add oscillating collimator control flag for Wombat. If true we use hmm to start the histogram server instead of hmc. TODO remove hmc and always use hmm.
hipd/config/motors/motor_configuration.tcl
Don't load anticollider config twice. Fix oct limits
wombat_configuration.tcl
Environment configuration must be loaded before running server_init.
hrpd/config/hmm/hmm_configuration.tcl
Fix default time-bin to match 10Hz frame frequency
hrpd/config/motors/motor_configuration.tcl
Added dummy motor for testing.
reflectometer/config/hmm/detector.tcl
Fill in dhv1 configuration parameters.
sans/config/hmm/detector.tcl
Enable detector voltage control
sans/config/hmm/hmm_configuration.tcl
SICS-227 set default resolution to 192x192
sans/config/motors/motor_configuration.tcl
Added dummy motor for testing
quokka parameters.tcl
Fix L2mm calculation, Fix SICS-228 users cannot set rotapdeg
beamstopaction.[ch]
NEW: Implements an action command to drive the quokka beamstops up and down.
r2670 | ffr | 2008-08-07 13:17:29 +1000 (Thu, 07 Aug 2008) | 53 lines
Set histmem view mag to auto
Workaround for SICS-204 hmc sets bm preset to 0
hrpd/config/count/counter.tcl
reflectometer/config/count/counter.tcl
echidna only has two beam monitors enabled
SICS should not start or stop the third beam monitor on platypus
config/scan/scan_common_1.tcl
Show counts from available beam monitors during scans
r2649 | ffr | 2008-07-14 15:15:58 +1000 (Mon, 14 Jul 2008) | 12 lines
Create pas/config/source/source.tcl
config/source/source_common.tcl
pelican_configuration.tcl
deploySICS.sh
Don't deploy script validator configs, they are obsolete
server_config.tcl
Source config has been moved to config/source and is specialised for each instrument by calling the instrument specific initialiser ::source:isc_initalize
commands_common_1.tcl
The monitor mode and preset are recorded when running the count command
counter_common_1.tcl
Report and record the counts and time for the multicounter and each monitor. Also record the mode and preset for the multicounter.
hmm_configuration_common_1.tcl
Cleanup, remove obsolete code.
Report and record the hmm total counts and time.
Allow monitor controlled acquisition from the histogram server
nxscripts_common_1.tcl
Add DataType to NXdata section, preserve case in text attributes.
scan_common_1.tcl
Provide sensible feedback for our bmonscan and hmscan objects.
Set run_mode when doing a scan. Allow users to select the datatype for histmem scans and to force a scan
wombat_configuration.tcl
echidna_configuration.tcl
platypus_configuration.tcl
kowari_configuration.tcl
quokka_configuration.tcl
Load source config.
quokka_configuration.tcl
SICS-198 HACK, Add AttrotDeg and RotApDeg status feedback.
sans/commands/commands.tcl
Add status feedback for quokka "guide" command.
sans/parameters/parameters.tcl
Make sure data can be saved as xml (replace % with _percent)
SICS-198 HACK, add AttRotDeg and RotApDeg status feedback.
utility.tcl
Fix nasty "params array generator" bug. SICS commands execute at runlevel 0 which means that the params anonymous array must be made at this level.
Provide the normalattlist command to enable creating attribute lists with the case preserved.
Added the runsics, runtestsics and sicsclient scripts to CVS.
Added source configurations for echidna, wombat, kowari, quokka, platypus, and pelican to CVS
r2644 | ffr | 2008-07-11 11:09:57 +1000 (Fri, 11 Jul 2008) | 53 lines
server_init now calls ::counter::isc_initialize, ::histogram_memory::isc_initialize and ::scan::isc_initialize
scan.c
SICS-158 Restrict bmonscan and hmscan to only one scan variable
count_common.tcl
Create a mulicounter which uses the available monitors as channels. The multicounter is used in bmonscans
hipadaba_configuration_common.tcl
Use _link as the suffix for the nxvgroup name when making nexus file links.
hmm_configuration_common.tcl
SICS-190 Create hdb entries for bm_counts, bm_event_rate, bm_status
SICS-164 Allow running histmem in simulated mode.
hmm_cylindrical_detector_configuration.tcl
Only refer to detector SICSVariables when necessary, otherwise we get dependency problems.
nxscripts_common_1.tcl
Separate histmem_filtype_spec from bmon_filetype_spec so that we can use the histem_filetyp_spec names to restrict the histmem scan filetypes.
Close the data file on error in proc ::nexus::save
Allow int and text types when saving macro data
scan_common_1.tcl
SICS-173 Allow users to force a scan when the instrument isn't ready
Added ic_initialize proc so we can make dependencies explicit in the init_server proc
SICS-186 Allow monitor modes for histmem scans
Allow selection of histmem file policies from runscan command
echidna, wombat, kowari, quokka and platypus component and server configurations
Added instrument specific configuration initialisation functions in the component configuration files.
Add a catch block to the top-level instrument server configuration file and printout the errorContext and callStack
r2641 | ffr | 2008-07-01 17:02:26 +1000 (Tue, 01 Jul 2008) | 34 lines
sicvar.c
SICS-93 Save histogram data and instrument state during an acquisition
hipadaba_configuration_common.tcl
SICS-185 Preserve case on hdb node names
hmm_configuration_common_1.tcl
nxscripts_common_1.tcl
sicvar.c
SICS-174 Allow saving of histmem data and instrument status during a count operation.
wombat_configuration.tcl
echidna_configuration.tcl
platypus_configuration.tcl
kowari_configuration.tcl
quokka_configuration.tcl
SICS-153 Move setup of statemon to new server_init function for the new sics_uid state variable
server_config.tcl
SICS-153 set attributes on the sics_suid var which is now created by MakeStateMon
SICS-187 Add cold source info (TODO move to platypus,quokka and pelican configs)
utility.tcl
SICS-185 Added normalgetatt to preserve case on hdb node names etc.
sans/config/optics/aperture_configuration.tcl
New file, Provides lookup tables for attenuation and entrance apertures. (SICS-157)
sans/config/optics/optics.tcl
Load the new aperture_configuration.tcl
sans/config/parameters/parameters.tcl
SICS-157 Add instrument parameters section with derived parameters and their dependencies
statemon.c
SICS-153 Create sics_suid sicsvariable when loading statemon and increment it on each status change.
r2635 | ffr | 2008-06-23 12:41:12 +1000 (Mon, 23 Jun 2008) | 38 lines
The histmem command now returns clean error messages.
Stack traces are displayed for errors which are triggered from the second call level with the histmem command.
Made sure that catch blocks don't enclose a 'return' because this triggers the catch to report the contents of errorInfo.
Removed obsolete setup procedure.
Made sure that uploading of configuration files to the histogram server is only enabled for the 'hmm' object in the ::histogram_memory::upload_config procedure. Uploading config files is disabled for all other histmem objects at all times.
r2282 | ffr | 2008-01-15 14:53:47 +1100 (Tue, 15 Jan 2008) | 7 lines
Added frame_source parameter ::histogram_memory::set_frame_freq with a default of INTERNAL. NOTE If the frequency parameter is zero then the frequency is set to 50Hz and the source is set to INTERNAL.
The instrument specific histogram memory configuration must now implement the "histmem" command and call the _histmem procedure, this lets us extend the command with instrument specific functions.
r2215 | ffr | 2007-11-01 12:57:43 +1100 (Thu, 01 Nov 2007) | 5 lines
Implemented "histmem" convenience command for use on command line and in batch files.
Make sure that the maximum time bin is set when setting the histogram memory frame frequency.
x_bin and y_bin axes are now available for nexus data entries.
r2203 | ffr | 2007-10-31 16:39:00 +1100 (Wed, 31 Oct 2007) | 5 lines
hmm_configuration_common_1.tcl
Map hmm dim0,1,2 to histogram server OAT dimensions.
Added commands to set the histogram server count method, size and stop condition.
scan_common_1.tcl
hmscan is now controlled by the histogram server instead of the beam monitor.
NOTE: the mode and preset parameters for hmscan run are now ignored in favour of the parameters set on the hmm object.
r2189 | ffr | 2007-10-23 12:40:09 +1000 (Tue, 23 Oct 2007) | 10 lines
Use anstohm_linked.xml so we can override default config.
Specify alias names for data axes.
Define macros for generating X, Y, T axes from bin boundaries.
XXX_TABLE procs now support the following subcommands, -clear, -init, -get, -list
OAT_TABLE now calculates bin boundaries, this is useful for generating axes.
Initialise OAT and FAT tables.
r2116 | ffr | 2007-08-16 14:50:04 +1000 (Thu, 16 Aug 2007) | 8 lines
Get the horizontal and vertical axis names for the data from the _hmm_{hor,vert}_axis SICS variables when saving data.
These variables are set by the command which collects the data.
r1944 | ffr | 2007-05-08 14:58:51 +1000 (Tue, 08 May 2007) | 4 lines
The run number is used as the first dimension axis for
simple count and save operations.
r1770 | ffr | 2007-04-01 14:36:09 +1000 (Sun, 01 Apr 2007) | 4 lines