Commit Graph

744 Commits

Author SHA1 Message Date
Douglas Clowes c8d13fef1d Commissioning of monochromator stage
r2001 | dcl | 2007-06-05 11:56:59 +1000 (Tue, 05 Jun 2007) | 2 lines
2012-11-15 13:19:28 +11:00
Douglas Clowes 7d28dd3cd4 Initial working version
r2000 | dcl | 2007-06-01 16:55:34 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:24 +11:00
Douglas Clowes fa5e2711e8 Gross changes for commissioning.
r1999 | dcl | 2007-06-01 16:54:25 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:21 +11:00
Douglas Clowes fe63096315 Change Flight Tube to use REQx/RSPx instead of FTUBE/APDONE variables. Now workks for RSD Sample raise dual motor as well.
r1998 | dcl | 2007-06-01 16:53:25 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:17 +11:00
Douglas Clowes d75f423f43 Change Flight Tube to use REQx/RSPx instead of APDONE variables.
r1997 | dcl | 2007-06-01 16:52:06 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:14 +11:00
Douglas Clowes d785f48aa7 Change Flight Tube to use REQx/RSPx instead of FTUBE/APDONE variables. Now workks for RSD Sample raise dual motor as well.
Move DMC_Notify and reset state machine on reconnect.

r1996 | dcl | 2007-06-01 16:50:24 +1000 (Fri, 01 Jun 2007) | 3 lines
2012-11-15 13:19:10 +11:00
Douglas Clowes 6e919f84ff Fix typos (spelling)
r1995 | dcl | 2007-06-01 16:03:20 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:07 +11:00
Douglas Clowes f98d8a876c Fix typo "|n" instead of "\n"
r1994 | dcl | 2007-06-01 16:02:34 +1000 (Fri, 01 Jun 2007) | 2 lines
2012-11-15 13:19:03 +11:00
Dan Bartlett 98e8fb742f no message
r1993 | dbx | 2007-05-31 16:33:10 +1000 (Thu, 31 May 2007) | 2 lines
2012-11-15 13:19:00 +11:00
Douglas Clowes 8e52e84ac2 hmake for type array used wrong argument for array length
r1992 | dcl | 2007-05-30 11:02:02 +1000 (Wed, 30 May 2007) | 2 lines
2012-11-15 13:18:57 +11:00
Douglas Clowes 55eb873873 replaced by AsyncQueue
r1991 | dcl | 2007-05-25 16:46:58 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:53 +11:00
Douglas Clowes c691f95a8f Spelling
r1990 | dcl | 2007-05-25 16:42:18 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:50 +11:00
Douglas Clowes 1b4bafbeb4 fix some spelling and sync with changes to interface.h for RemoveCallback3
r1989 | dcl | 2007-05-25 16:36:47 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:46 +11:00
Douglas Clowes 9438dc0973 Add some logging, comments, report unhandled events in the state machine.
Limit the state and trace commands to motors with finite state machines.

r1988 | dcl | 2007-05-25 16:19:37 +1000 (Fri, 25 May 2007) | 3 lines
2012-11-15 13:18:43 +11:00
Douglas Clowes 6ed6e5e6cb Make motor uninterest work by using RemoveCallback3 and a custom function to check that the pCon is the correct one.
Remove any prior interest for this motor and pCon before installing the new one. Limits the interest callback message count to one.

r1987 | dcl | 2007-05-25 16:17:44 +1000 (Fri, 25 May 2007) | 3 lines
2012-11-15 13:18:40 +11:00
Douglas Clowes efe6f72b43 Add RemoveCallback3 to match callback function and supply user function to determine if this callback should be deleted. Allows checking inside the userdata structure instead of just the address - needed for motor uninterest.
r1986 | dcl | 2007-05-25 16:15:15 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:36 +11:00
Douglas Clowes 2d36c99ac8 fix some spelling
r1985 | dcl | 2007-05-25 16:12:57 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:33 +11:00
Douglas Clowes f70233d55d implement some TODOs, add malloc checks and logging
r1984 | dcl | 2007-05-25 16:12:10 +1000 (Fri, 25 May 2007) | 2 lines
2012-11-15 13:18:29 +11:00
Ferdi Franceschini 64918f0a45 Two-theta angles can be negative.
r1983 | ffr | 2007-05-24 15:31:08 +1000 (Thu, 24 May 2007) | 2 lines
2012-11-15 13:18:26 +11:00
Ferdi Franceschini ae647f85fa TaskSignal sets the calling task status to WAITING to prevent recursion through TaskYield.
r1982 | ffr | 2007-05-24 15:29:48 +1000 (Thu, 24 May 2007) | 2 lines
2012-11-15 13:18:22 +11:00
Douglas Clowes 06264a4b4b fix slack code that was probably never used anyway
r1981 | dcl | 2007-05-24 15:04:33 +1000 (Thu, 24 May 2007) | 2 lines
2012-11-15 13:18:19 +11:00
Douglas Clowes 785fe7bb96 Memory cleanup
r1980 | dcl | 2007-05-24 14:49:02 +1000 (Thu, 24 May 2007) | 2 lines
2012-11-15 13:18:16 +11:00
Douglas Clowes 8678bcb102 Add -d option for debugging - to suppress daemonisation for profiler and debugger
r1979 | dcl | 2007-05-23 08:55:21 +1000 (Wed, 23 May 2007) | 2 lines
2012-11-15 13:18:12 +11:00
Douglas Clowes 09a64afee3 fix memory leak
r1978 | dcl | 2007-05-23 08:53:41 +1000 (Wed, 23 May 2007) | 2 lines
2012-11-15 13:18:09 +11:00
Douglas Clowes db1a7d3b4d fix a couple of memory leaks
r1977 | dcl | 2007-05-23 08:52:31 +1000 (Wed, 23 May 2007) | 2 lines
2012-11-15 13:18:06 +11:00
Douglas Clowes 0646439d1c trivial bug/typo
r1976 | dcl | 2007-05-23 08:51:45 +1000 (Wed, 23 May 2007) | 2 lines
2012-11-15 13:18:02 +11:00
Douglas Clowes 377ce04879 Fix warnings for printf formats
r1975 | dcl | 2007-05-22 08:29:38 +1000 (Tue, 22 May 2007) | 2 lines
2012-11-15 13:17:59 +11:00
Douglas Clowes 6d449014fc remove misleading comment
r1974 | dcl | 2007-05-22 08:15:56 +1000 (Tue, 22 May 2007) | 2 lines
2012-11-15 13:17:55 +11:00
Douglas Clowes 163b03b557 Configurable terminators for normal protocols
r1973 | dcl | 2007-05-21 17:57:33 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:52 +11:00
Douglas Clowes 4e5ea6a61c use separate function for delayed start now that CommandTimeout has been changed to include retries and other stuff.
r1972 | dcl | 2007-05-21 17:51:50 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:49 +11:00
Douglas Clowes 65b36cf992 Silly typos "==" should be "="
r1971 | dcl | 2007-05-21 17:50:27 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:45 +11:00
Douglas Clowes dbcdf0e38c do not use port if it was not supplied
r1970 | dcl | 2007-05-21 14:17:27 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:42 +11:00
Douglas Clowes ef76d668bf return on error to prevent crash
r1969 | dcl | 2007-05-21 14:16:44 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:38 +11:00
Douglas Clowes 1320d14426 multichan becomes AsyncQueue and AsyncProtocol
r1968 | dcl | 2007-05-21 14:15:33 +1000 (Mon, 21 May 2007) | 2 lines
2012-11-15 13:17:35 +11:00
Dan Bartlett 76d4c83793 Oscillating collimator code added
r1967 | dbx | 2007-05-16 17:05:58 +1000 (Wed, 16 May 2007) | 2 lines
2012-11-15 13:17:32 +11:00
Dan Bartlett 20e00a8504 Beam attenuator commissioned
r1966 | dbx | 2007-05-16 17:04:01 +1000 (Wed, 16 May 2007) | 2 lines
2012-11-15 13:17:28 +11:00
Douglas Clowes f374e445bf multichan becomes AsyncQueue and AsyncProtocol
r1965 | dcl | 2007-05-15 13:15:34 +1000 (Tue, 15 May 2007) | 2 lines
2012-11-15 13:17:25 +11:00
Douglas Clowes 1ea715020a Remove old multichanfactory
r1964 | dcl | 2007-05-15 13:14:25 +1000 (Tue, 15 May 2007) | 2 lines
2012-11-15 13:17:21 +11:00
Douglas Clowes 27d849ea23 multichan becomes AsyncQueue and AsyncProtocol
r1963 | dcl | 2007-05-15 12:47:58 +1000 (Tue, 15 May 2007) | 2 lines
2012-11-15 13:17:18 +11:00
Douglas Clowes c47e4ad45c Make finite state machine the default. Make blocked motors fail the default. Add "data" to display computed data for motor. Improve blocked motor test message.
r1962 | dcl | 2007-05-15 12:35:24 +1000 (Tue, 15 May 2007) | 2 lines
2012-11-15 13:17:14 +11:00
Douglas Clowes 1eb1698d79 make the arguments case insensitive i.e. allow test or TEST
r1961 | dcl | 2007-05-15 12:31:22 +1000 (Tue, 15 May 2007) | 2 lines
2012-11-15 13:17:11 +11:00
Douglas Clowes a181e68d36 multichan becomes AsyncQueue and AsyncProtocol
r1960 | dcl | 2007-05-14 08:26:24 +1000 (Mon, 14 May 2007) | 2 lines
2012-11-15 13:17:08 +11:00
Douglas Clowes bc3224a9c4 changes to mtth
r1959 | dcl | 2007-05-11 17:34:24 +1000 (Fri, 11 May 2007) | 2 lines
2012-11-15 13:17:04 +11:00
Douglas Clowes c41f37b657 Better cleanup of CVS and build files and directories, improve tar and ssh commands
r1958 | dcl | 2007-05-11 17:29:57 +1000 (Fri, 11 May 2007) | 2 lines
2012-11-15 13:17:01 +11:00
Douglas Clowes a18500cbf0 multichan becomes AsyncQueue and AsyncProtocol
r1957 | dcl | 2007-05-11 17:28:31 +1000 (Fri, 11 May 2007) | 2 lines
2012-11-15 13:16:58 +11:00
Ferdi Franceschini 6d9120f796 Added motor_driver_type variable so we can switch between the real (DMC2280) drivers and the simulated drivers.
r1956 | ffr | 2007-05-10 16:12:25 +1000 (Thu, 10 May 2007) | 2 lines
2012-11-15 13:16:54 +11:00
Ferdi Franceschini 7a2f0c238a Make sure default drive speed is non-zero, otherwise we're no going anywhere.
r1955 | ffr | 2007-05-10 16:10:35 +1000 (Thu, 10 May 2007) | 2 lines
2012-11-15 13:16:51 +11:00
Ferdi Franceschini 691ea5dbf0 Reverted support for text value parameters.
This has been made obsolete by the pActionRoutine.

r1954 | ffr | 2007-05-10 16:09:04 +1000 (Thu, 10 May 2007) | 3 lines
2012-11-15 13:16:47 +11:00
Ferdi Franceschini 5b683ecbe0 Fixed botched merge.
The merge effectively created  duplicate setmode procs.

r1953 | ffr | 2007-05-10 13:28:27 +1000 (Thu, 10 May 2007) | 3 lines
2012-11-15 13:16:44 +11:00
Ferdi Franceschini a151a2a163 Set motor_driver_type to "asim" when motor_simulation flag is true, otherwise set it to DMC2280.
r1952 | ffr | 2007-05-10 13:24:28 +1000 (Thu, 10 May 2007) | 2 lines
2012-11-15 13:16:40 +11:00