a1a07d3d0f
Set the default scan finish behaviour for the "runscan" command to to reset the scan motor to the start position
Ferdi FranceschiniandDouglas Clowes2007-11-07 15:56:33 +11:00
6c63380822
Provide a runscan_reset_position variable so we can make the "runscan" command behaviour instrument specific. It defaults to false, which means that the scan motor position won't be reset on scan finish.
Ferdi FranceschiniandDouglas Clowes2007-11-07 15:51:37 +11:00
04d0a2ab9a
Nexus dictionaries are now generated dynamically from the hdb tree, we no longer need to cobble together operation specific dictionaries when deploying SICS.
Ferdi FranceschiniandDouglas Clowes2007-11-07 15:44:44 +11:00
1c181fb68f
Handle INT1712 1 interrupts in MotorOn state. This can happen if you abort an operation during a posfault retry or immediately after a run/drive command.
Ferdi FranceschiniandDouglas Clowes2007-11-07 15:41:21 +11:00
008249dc18
::nexus::data report error if trying to link a data axis which doesn't have an hdb node, ie privilege=internal ::nexus::nxscript::save support saving mutable data from a sicsdata object ::nexus::nxscript::sdsinfo support mutable data
Ferdi FranceschiniandDouglas Clowes2007-11-05 13:20:36 +11:00
8550b93a00
Adapted ::nexus::script::save to use sicsdata objects for data arrays returned from script -arrayname
Ferdi FranceschiniandDouglas Clowes2007-11-05 13:17:36 +11:00
6308cd312a
pre_hmm_scan_prepare now gets the chopper status and sets the histogram memor frequency to match it.
Ferdi FranceschiniandDouglas Clowes2007-11-01 13:03:16 +11:00
59b953be0e
Move creation of hmm objects to common hmm configuration file. pre_count does nothing now. Added function to set hmm freq to match chopper freq and extended _histmem with a tochfreq subcommand.
Ferdi FranceschiniandDouglas Clowes2007-11-01 13:01:39 +11:00
9a17f9249c
Moved creation of histogram objects (including simulated drivers) to here. 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.
Ferdi FranceschiniandDouglas Clowes2007-11-01 12:57:43 +11:00
34c0c59594
eval the "drive" command to make sure that the parameters aren't interpreted as a single list value.
Ferdi FranceschiniandDouglas Clowes2007-10-31 17:09:45 +11:00
f7d01ceb6b
Implemented ::scan::pre_hmm_scan_prepare hook to make sure that the chopper is ready before commencing a scan.
Ferdi FranceschiniandDouglas Clowes2007-10-31 17:05:15 +11:00
5b5b3b4cc8
Use x,y bin boundaries for histogram horizontal and vertical axes. Set the hmm frequency with the ::histogram_memory::set_frame_freq command to make sure that the maximum time bin is set properly.
Ferdi FranceschiniandDouglas Clowes2007-10-31 17:03:01 +11:00
c661cf16a7
Check that the instrument is ready before starting a scan. Added "runscan" command using syntax requested by Andy Nelson for platypus.
Ferdi FranceschiniandDouglas Clowes2007-10-31 16:51:16 +11:00
f8c64b55a0
Save scratch files in data directory. Refactor to have explicit ::nexus:: prefix on procedures.
Ferdi FranceschiniandDouglas Clowes2007-10-31 16:44:38 +11:00
5c66aa29ac
Histogram memory data acquisition is now controlled by the histogram server. 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.
Ferdi FranceschiniandDouglas Clowes2007-10-31 16:39:00 +11:00
f54146b58e
Added ::plc::inst_ready command which is used to check if the instrument is ready before starting a scan. Also add plc simulation mode
Ferdi FranceschiniandDouglas Clowes2007-10-31 15:54:49 +11:00
3a7e6a9768
Added "abortbatch" command for use within batch files. It gives a user the option of aborting a batch file if their code detects an error.
Ferdi FranceschiniandDouglas Clowes2007-10-23 12:46:16 +10:00
8b1996996a
Terminition conditions when acquiring detector data are now controlled by the histogram server instead of the beam monitor. So more termination methods are now available and timed counts should be more precise.
Ferdi FranceschiniandDouglas Clowes2007-10-23 12:40:09 +10:00
9c307402cc
Fix a couple of typos, reimplement thread zero checks and amplifier error checks. (Disable amplifier error checks pending controllers returning good status for all OK motors.)
Douglas Clowes2007-10-22 13:26:54 +10:00
75e7862cc6
Fix order of axes to match the order in which the histogram memory is written ie Time, Vertical, Horizontal.
Ferdi FranceschiniandDouglas Clowes2007-10-03 10:07:27 +10:00
0edaa1d5d0
Added code and filetype spec for data file policy Added environment controller save and sdsinfo commands. Dynamically set histogram memory rank and dimensions for data file
Ferdi FranceschiniandDouglas Clowes2007-09-26 16:21:23 +10:00
78c42a2427
Don't set plottable data links and data save policy here, this is now taken care of when setting the data file policy with the 'newfile' command. Only check if scan variables of type=motor are locked (ie 'fixed') in position before running a scan.
Ferdi FranceschiniandDouglas Clowes2007-09-26 16:13:03 +10:00
baaeb44fc3
Don't set plottable data links and data save policy here, this is now taken care of when setting the data file policy with the 'newfile' command. Use common interface for hmm server TABLE configuration commands. Remove obsolete code.
Ferdi FranceschiniandDouglas Clowes2007-09-26 16:11:40 +10:00
39fd5d2a4a
Don't set plottable data links and data save policy here, this is now taken care of when setting the data file policy with the 'newfile' command.
Ferdi FranceschiniandDouglas Clowes2007-09-26 16:10:12 +10:00
5322cb8254
Replace the space in the "Environment Controller" type with an underscore so that it can be easily parsed as a single token.
Ferdi FranceschiniandDouglas Clowes2007-09-26 14:19:39 +10:00
0b583db52f
Ensure that the state monitor reports the full node path when a device is started via hipadaba.
Ferdi FranceschiniandDouglas Clowes2007-09-26 14:17:19 +10:00
efb0b117f6
POSIT handling code for position-mode motors and a little refactoring
Douglas Clowes2007-09-26 09:50:53 +10:00
bef9e542ae
Commissioning calibration of collimator virtual collimator motors
Douglas Clowes2007-09-26 09:33:29 +10:00
07a1d939d9
Posit config for collimator Config for detector Y translation motor
Douglas Clowes2007-09-26 09:31:44 +10:00