Commit Graph

778 Commits

Author SHA1 Message Date
Douglas Clowes
77657615e6 MAJOR changes: remove deprecated pre state machine code, revise state transitions, add state entry events, part of the RUNx implementation, comments, ....
r2106 | dcl | 2007-08-10 10:32:40 +1000 (Fri, 10 Aug 2007) | 2 lines
2012-11-15 13:21:28 +11:00
Douglas Clowes
c415db8352 Add timestamps to log file, fix? line terminations
r2105 | dcl | 2007-08-10 10:26:56 +1000 (Fri, 10 Aug 2007) | 2 lines
2012-11-15 13:21:25 +11:00
Douglas Clowes
b701a69b15 Add queue/controller level opaque pointer for units to coordinate controller access.
Read multiple bytes at a time and pass them sequentially to the input callback to reduce number of system calls.

r2104 | dcl | 2007-08-10 10:25:40 +1000 (Fri, 10 Aug 2007) | 3 lines
2012-11-15 13:21:21 +11:00
Douglas Clowes
ecfd182a2e Add queue/controller level opaque pointer for units to coordinate controller access
r2103 | dcl | 2007-08-10 10:24:34 +1000 (Fri, 10 Aug 2007) | 2 lines
2012-11-15 13:21:18 +11:00
Douglas Clowes
18ab7a86b8 Before removal of deprecated code
r2102 | dcl | 2007-08-02 08:06:01 +1000 (Thu, 02 Aug 2007) | 2 lines
2012-11-15 13:21:14 +11:00
Douglas Clowes
d0ac56e112 reduce mx and my hard and soft limits to be within limit switches
r2101 | dcl | 2007-07-26 12:22:57 +1000 (Thu, 26 Jul 2007) | 2 lines
2012-11-15 13:21:10 +11:00
Ferdi Franceschini
2494fa6ad3 Updated kowari for new hdb and nexus code.
r2100 | ffr | 2007-07-22 15:58:52 +1000 (Sun, 22 Jul 2007) | 2 lines
2012-11-15 13:21:07 +11:00
Ferdi Franceschini
8770acc191 Merged new hdb and nexus code.
r2099 | ffr | 2007-07-22 15:23:41 +1000 (Sun, 22 Jul 2007) | 2 lines
2012-11-15 13:21:03 +11:00
Dan Bartlett
4e407d0a73 Detector Y and analyser axes added
r2083 | dbx | 2007-07-20 10:37:05 +1000 (Fri, 20 Jul 2007) | 2 lines
2012-11-15 13:20:59 +11:00
Dan Bartlett
6696692353 no message
r2082 | dbx | 2007-07-20 10:36:10 +1000 (Fri, 20 Jul 2007) | 2 lines
2012-11-15 13:20:55 +11:00
Dan Bartlett
1d35fb41b4 IP addresses changed. reduced by 2
r2081 | dbx | 2007-07-20 10:35:09 +1000 (Fri, 20 Jul 2007) | 2 lines
2012-11-15 13:20:52 +11:00
Douglas Clowes
85d58121a5 progressive commissioning
r2080 | dcl | 2007-07-20 10:05:00 +1000 (Fri, 20 Jul 2007) | 2 lines
2012-11-15 13:20:48 +11:00
Douglas Clowes
9bd5dee0ec Add the chopper config file
r2056 | dcl | 2007-07-12 08:49:33 +1000 (Thu, 12 Jul 2007) | 2 lines
2012-11-15 13:20:45 +11:00
Douglas Clowes
e36f220d23 Add QUOKKA/SANS to Makefile
r2055 | dcl | 2007-07-12 08:48:39 +1000 (Thu, 12 Jul 2007) | 2 lines
2012-11-15 13:20:41 +11:00
Douglas Clowes
8a7108deca Copied from Platypus Reflectometer
r2054 | dcl | 2007-07-09 16:02:35 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:38 +11:00
Douglas Clowes
9404d80fb9 place holder
r2052 | dcl | 2007-07-09 15:55:16 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:34 +11:00
Douglas Clowes
75deabc9cc moved to config/velsel
r2051 | dcl | 2007-07-09 15:27:18 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:31 +11:00
Douglas Clowes
416fbe4879 Configuration files mostly copied from Platypus Reflectometer
r2050 | dcl | 2007-07-09 15:25:57 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:27 +11:00
Douglas Clowes
47f31054aa Configuration directories mostly copied from Platypus Reflectometer
r2049 | dcl | 2007-07-09 15:24:03 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:23 +11:00
Douglas Clowes
802dbe3e88 Configuration directories mostly copied from Platypus Reflectometer
r2048 | dcl | 2007-07-09 15:08:08 +1000 (Mon, 09 Jul 2007) | 2 lines
2012-11-15 13:20:20 +11:00
Ferdi Franceschini
7d9d72a79d Updated the mtth encoder value to match what Vladimir tells me is 90 degrees.
mx is now positive towards dance floor.

r2046 | ffr | 2007-07-05 11:56:58 +1000 (Thu, 05 Jul 2007) | 3 lines
2012-11-15 13:20:16 +11:00
Douglas Clowes
a63bf65270 Set mtth home encoder position at 90 degrees
r2037 | dcl | 2007-07-05 10:32:19 +1000 (Thu, 05 Jul 2007) | 2 lines
2012-11-15 13:20:13 +11:00
Douglas Clowes
3aa3c41114 Reverse sense of X on monochromator (left is positive)
r2036 | dcl | 2007-07-05 10:30:46 +1000 (Thu, 05 Jul 2007) | 2 lines
2012-11-15 13:20:09 +11:00
Douglas Clowes
22bdf5bebd Reduce difference detection between hipadaba floats
r2034 | dcl | 2007-07-05 09:43:27 +1000 (Thu, 05 Jul 2007) | 2 lines
2012-11-15 13:20:06 +11:00
Douglas Clowes
5c0036fe87 Swap MX and MY and change sign
r2033 | dcl | 2007-07-05 09:42:46 +1000 (Thu, 05 Jul 2007) | 2 lines
2012-11-15 13:20:02 +11:00
Douglas Clowes
063fafbe83 Update the beam attenuator (bat) home, increase deceleration for slit motors to prevent overrun, adjust slit ranges individually for maximum scan range
r2031 | dcl | 2007-06-27 11:02:36 +1000 (Wed, 27 Jun 2007) | 2 lines
2012-11-15 13:19:59 +11:00
Douglas Clowes
4ce55c17ac Logic inversion from "if true" to "if not false"
r2030 | dcl | 2007-06-27 10:59:52 +1000 (Wed, 27 Jun 2007) | 2 lines
2012-11-15 13:19:55 +11:00
Douglas Clowes
d27a9cb9b6 periodically poll and update the motor position, specifically for hipadaba, to capture motion that is not commanded (e.g. homing slit motors and turning motors by hand)
r2029 | dcl | 2007-06-27 10:58:42 +1000 (Wed, 27 Jun 2007) | 2 lines
2012-11-15 13:19:52 +11:00
Douglas Clowes
423e9c65c0 Spelling and typos
r2008 | dcl | 2007-06-13 10:05:00 +1000 (Wed, 13 Jun 2007) | 2 lines
2012-11-15 13:19:48 +11:00
Douglas Clowes
c30c1a97f8 add sics_ports.tcl because it breaks deployment when this file is empty
r2007 | dcl | 2007-06-13 09:57:10 +1000 (Wed, 13 Jun 2007) | 2 lines
2012-11-15 13:19:45 +11:00
Douglas Clowes
90c48ae7c5 Move gumxml.tcl to instrument directory
r2006 | dcl | 2007-06-13 09:53:39 +1000 (Wed, 13 Jun 2007) | 2 lines
2012-11-15 13:19:42 +11:00
Douglas Clowes
3431ff478f Calibration of monochromator motors
r2005 | dcl | 2007-06-13 09:51:49 +1000 (Wed, 13 Jun 2007) | 2 lines
2012-11-15 13:19:38 +11:00
Douglas Clowes
be40877668 Modified from sics/tcl/gumxml.tcl to select only nodes with attribute control=true
r2004 | dcl | 2007-06-08 14:03:27 +1000 (Fri, 08 Jun 2007) | 2 lines
2012-11-15 13:19:35 +11:00
Douglas Clowes
ea52ccfcae Use BAD_VALUE #define
r2002 | dcl | 2007-06-05 13:29:16 +1000 (Tue, 05 Jun 2007) | 2 lines
2012-11-15 13:19:31 +11:00
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