Commit Graph

1021 Commits

Author SHA1 Message Date
Douglas Clowes
317c7398ca Move functions to motor_utility
r2199 | dcl | 2007-10-29 13:59:58 +1100 (Mon, 29 Oct 2007) | 2 lines
2012-11-15 13:27:04 +11:00
Douglas Clowes
506bb5febc Functions for creating and supporting motors
r2198 | dcl | 2007-10-29 13:58:12 +1100 (Mon, 29 Oct 2007) | 2 lines
2012-11-15 13:27:00 +11:00
Douglas Clowes
d5a0489a3b commissioning refinement
r2197 | dcl | 2007-10-26 10:59:12 +1000 (Fri, 26 Oct 2007) | 2 lines
2012-11-15 13:26:57 +11:00
Ferdi Franceschini
f33f62ba20 Added pre_count method which sets the histogram frame frequency from the chopper frequency.
r2196 | ffr | 2007-10-23 14:01:36 +1000 (Tue, 23 Oct 2007) | 2 lines
2012-11-15 13:26:53 +11:00
Ferdi Franceschini
a35b5573cf Added dy attributes required for building hdb tree.
r2195 | ffr | 2007-10-23 13:59:36 +1000 (Tue, 23 Oct 2007) | 2 lines
2012-11-15 13:26:49 +11:00
Ferdi Franceschini
3fcb976816 Optics subsystem.
Currently only guide configuration is implemented.

r2194 | ffr | 2007-10-23 12:59:44 +1000 (Tue, 23 Oct 2007) | 3 lines
2012-11-15 13:26:46 +11:00
Ferdi Franceschini
3077fddc3b We now take care of our own copy of the astrium chopper driver. It has the following changes.
Status is now updated on demand.
A status request returns a ready status message for the chopper as well as updating the chopper parameters.
We don't compensate for MW CMW on choppers 2 and 3.
PHASETOL=0.2
You can read the frequency from chopper one.

r2193 | ffr | 2007-10-23 12:58:13 +1000 (Tue, 23 Oct 2007) | 8 lines
2012-11-15 13:26:42 +11:00
Ferdi Franceschini
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.

r2192 | ffr | 2007-10-23 12:46:16 +1000 (Tue, 23 Oct 2007) | 3 lines
2012-11-15 13:26:38 +11:00
Ferdi Franceschini
7b0162177e Added optics subsystem path.
Also added chopper_simulation flag for platypus.

r2191 | ffr | 2007-10-23 12:42:52 +1000 (Tue, 23 Oct 2007) | 3 lines
2012-11-15 13:26:35 +11:00
Ferdi Franceschini
2018e71b8f Set rank for hmm objects.
r2190 | ffr | 2007-10-23 12:41:00 +1000 (Tue, 23 Oct 2007) | 2 lines
2012-11-15 13:26:31 +11:00
Ferdi Franceschini
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.
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
2012-11-15 13:26:27 +11:00
Ferdi Franceschini
8e6d4e4da6 hipadaba_configuration_common.tcl
Check all kinds of hdb nodes for units.

nxscripts_common_1.tcl
Make units optional when saving data.
Catch histogram memory savecmd errors.

r2188 | ffr | 2007-10-23 12:32:41 +1000 (Tue, 23 Oct 2007) | 7 lines
2012-11-15 13:26:23 +11:00
Douglas Clowes
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.)
r2187 | dcl | 2007-10-22 13:26:54 +1000 (Mon, 22 Oct 2007) | 2 lines
2012-11-15 13:26:20 +11:00
Douglas Clowes
6c357b6fdc commissioning iteration
r2186 | dcl | 2007-10-22 13:24:33 +1000 (Mon, 22 Oct 2007) | 2 lines
2012-11-15 13:26:16 +11:00
Douglas Clowes
a4d7cb12cc Begin migration of motor positions from encoder counts to motor units (mm/degree)
r2185 | dcl | 2007-10-17 08:36:19 +1000 (Wed, 17 Oct 2007) | 2 lines
2012-11-15 13:26:13 +11:00
Douglas Clowes
9052167b7f Rename Physical Collimator motors from cx to pcx and virtual motors from vc0x to cx
r2184 | dcl | 2007-10-17 08:35:07 +1000 (Wed, 17 Oct 2007) | 2 lines
2012-11-15 13:26:09 +11:00
Douglas Clowes
5d311bf61f A bit more rationalisation
r2183 | dcl | 2007-10-11 18:00:02 +1000 (Thu, 11 Oct 2007) | 2 lines
2012-11-15 13:26:05 +11:00
Douglas Clowes
34d8abac97 convert radians to degrees
r2182 | dcl | 2007-10-11 17:58:54 +1000 (Thu, 11 Oct 2007) | 2 lines
2012-11-15 13:26:02 +11:00
Douglas Clowes
50ac8c30e7 commissioning iteration
r2181 | dcl | 2007-10-11 17:57:58 +1000 (Thu, 11 Oct 2007) | 2 lines
2012-11-15 13:25:58 +11:00
Douglas Clowes
e04b31a2b8 Turn axis F motor on/off
r2180 | dcl | 2007-10-09 11:44:16 +1000 (Tue, 09 Oct 2007) | 2 lines
2012-11-15 13:25:54 +11:00
Douglas Clowes
4c569fcd5e Fix typo in variable name
r2179 | dcl | 2007-10-09 09:28:53 +1000 (Tue, 09 Oct 2007) | 2 lines
2012-11-15 13:25:50 +11:00
Douglas Clowes
79595e0e03 Generated files
r2178 | dcl | 2007-10-05 12:01:17 +1000 (Fri, 05 Oct 2007) | 2 lines
2012-11-15 13:25:47 +11:00
Douglas Clowes
06fba540ec Commissioning iteration
r2177 | dcl | 2007-10-05 11:55:46 +1000 (Fri, 05 Oct 2007) | 2 lines
2012-11-15 13:25:43 +11:00
Douglas Clowes
5ee42733ba Commissioning iteration
r2176 | dcl | 2007-10-04 09:15:02 +1000 (Thu, 04 Oct 2007) | 2 lines
2012-11-15 13:25:40 +11:00
Ferdi Franceschini
d8117b6b8b histogram_memory::setmode is obsolete.
So it's gone.

r2175 | ffr | 2007-10-04 08:33:28 +1000 (Thu, 04 Oct 2007) | 3 lines
2012-11-15 13:25:36 +11:00
Ferdi Franceschini
3ff8fe35a9 Remove debugging message.
r2174 | ffr | 2007-10-03 11:57:37 +1000 (Wed, 03 Oct 2007) | 2 lines
2012-11-15 13:25:32 +11:00
Ferdi Franceschini
8fa8fd8806 Don't upload the histogram server configuration twice.
r2173 | ffr | 2007-10-03 11:55:12 +1000 (Wed, 03 Oct 2007) | 2 lines
2012-11-15 13:25:29 +11:00
Ferdi Franceschini
67a8a8c0c3 Fixed maximum and minimum bin boundaries.
Code cleanup.

r2172 | ffr | 2007-10-03 10:08:40 +1000 (Wed, 03 Oct 2007) | 3 lines
2012-11-15 13:25:25 +11:00
Ferdi Franceschini
75e7862cc6 Fix order of axes to match the order in which the histogram memory is written
ie Time, Vertical, Horizontal.

r2171 | ffr | 2007-10-03 10:07:27 +1000 (Wed, 03 Oct 2007) | 3 lines
2012-11-15 13:25:21 +11:00
Douglas Clowes
67810158ee refactor SZ steps and counts equations
r2170 | dcl | 2007-10-02 12:43:43 +1000 (Tue, 02 Oct 2007) | 2 lines
2012-11-15 13:25:18 +11:00
Douglas Clowes
dc266a1c92 convert 'send' arguments to upper case and substitute '%' and '`' with axis_label
r2169 | dcl | 2007-10-02 12:41:34 +1000 (Tue, 02 Oct 2007) | 2 lines
2012-11-15 13:25:14 +11:00
Douglas Clowes
f7cce8d15a Commissioning changes
r2168 | dcl | 2007-10-02 11:31:00 +1000 (Tue, 02 Oct 2007) | 2 lines
2012-11-15 13:25:11 +11:00
Ferdi Franceschini
72e0d389e5 Calculate non-overlapping UID based port numbers when running sics from your home directory
r2167 | ffr | 2007-09-26 16:23:57 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:25:07 +11:00
Ferdi Franceschini
a173158d0e Create extra hmm objects to fetch xy, yt, t, ..., etc. data from the histogram server.
r2166 | ffr | 2007-09-26 16:22:43 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:25:03 +11:00
Ferdi Franceschini
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

r2165 | ffr | 2007-09-26 16:21:23 +1000 (Wed, 26 Sep 2007) | 4 lines
2012-11-15 13:25:00 +11:00
Ferdi Franceschini
7722ccaff3 Cosmetic changes.
r2164 | ffr | 2007-09-26 16:19:39 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:56 +11:00
Ferdi Franceschini
f78b9cefd3 Removed obsolete tables from the histogram memory configuration.
r2163 | ffr | 2007-09-26 16:19:06 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:52 +11:00
Ferdi Franceschini
9e170b66d3 Removed 'event' and 'ilist' kind for SICS objects.
r2162 | ffr | 2007-09-26 16:17:51 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:49 +11:00
Ferdi Franceschini
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.

r2161 | ffr | 2007-09-26 16:13:03 +1000 (Wed, 26 Sep 2007) | 3 lines
2012-11-15 13:24:45 +11:00
Ferdi Franceschini
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.

r2160 | ffr | 2007-09-26 16:11:40 +1000 (Wed, 26 Sep 2007) | 4 lines
2012-11-15 13:24:42 +11:00
Ferdi Franceschini
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.
r2159 | ffr | 2007-09-26 16:10:12 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:38 +11:00
Ferdi Franceschini
08296df12f Send a warning message if a scan point is skipped because of a drive or count failure.
r2158 | ffr | 2007-09-26 14:20:27 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:34 +11:00
Ferdi Franceschini
5322cb8254 Replace the space in the "Environment Controller" type with an underscore so that it can be easily parsed as a single token.
r2157 | ffr | 2007-09-26 14:19:39 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:31 +11:00
Ferdi Franceschini
0b583db52f Ensure that the state monitor reports the full node path when a device is started via hipadaba.
Added a "path" field to the hdb node structure
GetHipadabaPath now sets node->path to the full hdb node path when called.
sicshipadaba.c: Devices are now started with the node->path instead of the node->name.

r2156 | ffr | 2007-09-26 14:17:19 +1000 (Wed, 26 Sep 2007) | 6 lines
2012-11-15 13:24:27 +11:00
Douglas Clowes
efb0b117f6 POSIT handling code for position-mode motors and a little refactoring
r2155 | dcl | 2007-09-26 09:50:53 +1000 (Wed, 26 Sep 2007) | 2 lines
2012-11-15 13:24:24 +11:00
Douglas Clowes
bef9e542ae Commissioning calibration of collimator
virtual collimator motors

r2154 | dcl | 2007-09-26 09:33:29 +1000 (Wed, 26 Sep 2007) | 3 lines
2012-11-15 13:24:20 +11:00
Douglas Clowes
07a1d939d9 Posit config for collimator
Config for detector Y translation motor

r2153 | dcl | 2007-09-26 09:31:44 +1000 (Wed, 26 Sep 2007) | 3 lines
2012-11-15 13:24:16 +11:00
Dan Bartlett
4eae37065b Controller files added
r2152 | dbx | 2007-09-24 14:40:45 +1000 (Mon, 24 Sep 2007) | 2 lines
2012-11-15 13:24:13 +11:00
Dan Bartlett
846d6e7b15 no message
r2151 | dbx | 2007-09-24 11:29:31 +1000 (Mon, 24 Sep 2007) | 2 lines
2012-11-15 13:24:09 +11:00
Dan Bartlett
5bbbe9b419 no message
r2150 | dbx | 2007-09-24 11:20:08 +1000 (Mon, 24 Sep 2007) | 2 lines
2012-11-15 13:24:05 +11:00