Commit Graph

  • a143b9905e Change state transition on limit switch event to ensure that motor is stopped before turning it off. Douglas Clowes 2008-05-07 10:14:28 +10:00
  • 0e4be397d5 Rework to make more like updated Echidna and Wombat programs Douglas Clowes 2008-04-30 11:57:55 +10:00
  • fe682b39ac Change over to Quokka SIS PLC address Douglas Clowes 2008-04-30 11:57:08 +10:00
  • 8ced552998 Change comments Douglas Clowes 2008-04-30 11:56:22 +10:00
  • d5db9de5a6 Change over to Platypus SIS PLC address Douglas Clowes 2008-04-30 11:55:37 +10:00
  • c44ad5a097 Remove serialsinq Douglas Clowes 2008-04-24 12:12:47 +10:00
  • 0937bc2ba2 Handle simulated PLC Douglas Clowes 2008-04-24 12:11:51 +10:00
  • 1eda12ffb6 Change sphi home position after running it off the end of the screw with Nan and broken limit switch. Douglas Clowes 2008-04-24 12:11:01 +10:00
  • a9d493382f Fix Chopper IP address Douglas Clowes 2008-04-24 12:10:00 +10:00
  • b8711e9bc4 Motor Off Delay is in milliSeconds Douglas Clowes 2008-04-24 12:09:25 +10:00
  • 355cd532cf Improved logging for motion characterisation of motors. Reject NaN and Infinity in run command. Change error message for both limit switches active. Check status of BG command in case it failed. Douglas Clowes 2008-04-24 12:08:03 +10:00
  • 9cd5f72c1a Another attempt to reduce "OK" flooding of the log file. Douglas Clowes 2008-04-24 12:05:24 +10:00
  • fd0ab1a3b5 Update to version on controller - adjust comments Douglas Clowes 2008-04-16 10:57:40 +10:00
  • 1c86cbc665 Update to version on controller - remove comment text on end of line Douglas Clowes 2008-04-16 10:57:21 +10:00
  • bdf5e24cc0 Remove extraconfig Douglas Clowes 2008-04-14 13:53:40 +10:00
  • 6009f273c8 Add two theta virtual motor Douglas Clowes 2008-04-14 13:53:18 +10:00
  • 4562daf398 Implement changes made on instrument during commissioning Douglas Clowes 2008-04-14 13:51:07 +10:00
  • 76e63de5a3 adjustments to timings Douglas Clowes 2008-04-14 10:30:07 +10:00
  • 4b17ca99da Bring into line with changes made on Echidna and Wombat Douglas Clowes 2008-04-14 10:28:07 +10:00
  • 03394dcc9e tweak sz configuration Douglas Clowes 2008-04-14 09:51:48 +10:00
  • 7220f040ef wait for motion to complete before turning air and motor off (was crashing thread 0) Douglas Clowes 2008-04-14 09:50:38 +10:00
  • 32c2af1c6f remove superfluous semicolon (empty body of if statement) Douglas Clowes 2008-04-14 09:48:31 +10:00
  • f6892bbab3 fix memory leak (but only on malloc path) Douglas Clowes 2008-04-14 09:47:50 +10:00
  • d34b441f14 fix signed mismatch compiler diagnostic Douglas Clowes 2008-04-14 09:46:32 +10:00
  • cc845c6723 fix format/type mismatch in sprintf compiler diagnostic Douglas Clowes 2008-04-14 09:45:51 +10:00
  • b12fff759a add -Wextra -std=gnu99 -Wno-unused compiler flags Douglas Clowes 2008-04-14 09:42:15 +10:00
  • 20eeefae96 remove unused code Douglas Clowes 2008-04-14 09:39:26 +10:00
  • a0c6945bb6 implement settle timer on creep positioning detect position overrun error and stop runaway motor implement deferred fault reporting until after motor stopped save and report timer period in debug output (DMC_SetTimer) handle leading '-' on numeric galil response more comment documentation remove unused variables Douglas Clowes 2008-04-14 09:38:41 +10:00
  • 149d825a3a remove unused variables Douglas Clowes 2008-04-14 09:23:13 +10:00
  • 6e49b1e6c1 dereference pointer Douglas Clowes 2008-04-14 09:20:48 +10:00
  • 99409fa8c3 remove unused variable Douglas Clowes 2008-04-14 09:20:01 +10:00
  • 38b588cc47 suppress sign mismatch compiler diagnostic Douglas Clowes 2008-04-14 09:19:12 +10:00
  • d2564a7838 suppress "not used" diagnostics, remove serialsinq Douglas Clowes 2008-04-14 08:41:08 +10:00
  • 46d79274a5 fix missing pointer dereferences, change SerialError to getRS232Error Douglas Clowes 2008-04-14 08:40:07 +10:00
  • 0427d9acea fix missing return, change SerialError to getRS232Error Douglas Clowes 2008-04-14 08:39:00 +10:00
  • 519bf308fa fix missing return from ITC4_Config, change SerialError to getRS232Error, adjust Formatting Douglas Clowes 2008-04-14 08:37:57 +10:00
  • 895e52bfe9 Remove unused variables and code Douglas Clowes 2008-04-14 08:33:45 +10:00
  • 3f0e76f34f Merge patches from branch Douglas Clowes 2008-03-27 13:22:19 +11:00
  • 18083e364f Put #if 0 around unused function; add a few comments Douglas Clowes 2008-03-27 13:21:12 +11:00
  • 02e731366a Improve function documentation Douglas Clowes 2008-03-27 13:20:05 +11:00
  • 5e41408b26 Remove unused variables Douglas Clowes 2008-03-27 13:18:58 +11:00
  • 04568a34f2 Bugfixes from commissioning. Use _SCx, send STx and HLTx=1. Fix missing TRACE output. Change 'has_airpads' to 'protocol'. Douglas Clowes 2008-03-10 08:19:23 +11:00
  • 106159ca58 Substantially modified controller software: mainly limit switches and deceleration. Douglas Clowes 2008-03-07 16:12:47 +11:00
  • 2ea2923399 modify limits on som Douglas Clowes 2008-03-07 16:11:52 +11:00
  • b3d5464454 Interim iteration Douglas Clowes 2008-03-05 15:25:32 +11:00
  • 02508cfcda Remove previous comment from end of line which kills thread0 Douglas Clowes 2008-02-27 09:47:54 +11:00
  • 2d58f48a88 Added SICSLogWriteTime to allow timestamp to be supplied for deferred logging Douglas Clowes 2008-02-21 15:02:15 +11:00
  • c97b23fbcb Fix some typos and add deferred state/event trace reporting Douglas Clowes 2008-02-21 14:59:25 +11:00
  • f3d798689b Merge changes from release 2.0 branch Ferdi Franceschini 2008-02-20 09:00:24 +11:00
  • ed9f92c6ef rotary beam attenuator motor Douglas Clowes 2008-02-19 15:27:19 +11:00
  • 1cd243f1f4 Added uploading of server parameters srv_xxx in order to allow SICS to control various server features and access/release its control and configuration features. Mark Lesha 2008-02-19 14:19:26 +11:00
  • 0f2cde7ed9 Changed SICS username and password to 'SICS' to suit new histogram server. Port is still 8080. Mark Lesha 2008-02-19 12:40:12 +11:00
  • a095e0d6da Add 'encoderAxis' parameter so encoder can be on a different axis from the motor. Douglas Clowes 2008-02-18 08:22:02 +11:00
  • b7f080dd7f fix typo Douglas Clowes 2008-02-04 12:34:49 +11:00
  • 0787189156 Changes to backlash, creep and precision for many motors Douglas Clowes 2008-02-04 12:30:44 +11:00
  • 7fe22cd172 use REQx/RSPx for braked motors and improve sequencing of braking Douglas Clowes 2008-02-04 10:41:32 +11:00
  • 4f92b60077 Incremental commissioning and calibration Douglas Clowes 2008-01-31 10:32:41 +11:00
  • fb967be939 Handle commands where no response is expected Douglas Clowes 2008-01-30 13:46:32 +11:00
  • e3a9c18322 Accumulated changes including RUN and HALT command everywhere Douglas Clowes 2008-01-30 13:38:29 +11:00
  • 0fc5f6b303 Initial Oak Ridge High Voltage Power Supply for ORDELA detector Douglas Clowes 2008-01-21 09:57:53 +11:00
  • c6ce627760 Make SEND managers only Douglas Clowes 2008-01-21 09:56:27 +11:00
  • 7fffc9f97a lots of changes Douglas Clowes 2008-01-21 09:55:49 +11:00
  • 6016d8d46b Textify logging for binary protocols Douglas Clowes 2008-01-21 09:54:20 +11:00
  • 168e0d1bfa Add encoder initialisation for changed encoders (not working) Douglas Clowes 2008-01-16 16:34:15 +11:00
  • cb89c02daf Use ::histogram_memory::upload_config instead of the deprecated ::histogram_memory::configure_server procedure. Ferdi Franceschini 2008-01-15 15:03:41 +11:00
  • e7547a18ab Use ::histogram_memory::upload_config instead of the deprecated ::histogram_memory::configure_server procedure. Ferdi Franceschini 2008-01-15 14:56:36 +11:00
  • 1732ecdb99 Made sure that we run "hmm init" in a catch block to catch any attempt to modify an hmm parameter when it's not allowed. 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. Ferdi Franceschini 2008-01-15 14:53:47 +11:00
  • b8c0f9ac5b Add mechanism to pop up beam stops small(1) to (large(5) Douglas Clowes 2008-01-15 12:39:04 +11:00
  • cad1e0a4d5 Handle change to asyncqueue to handle binary protocols Douglas Clowes 2008-01-15 12:37:52 +11:00
  • 2ebe674425 Detector Y motor initial configuration Douglas Clowes 2008-01-15 12:36:59 +11:00
  • 2c334ba3c2 commissioning refinement Douglas Clowes 2008-01-15 12:36:08 +11:00
  • 3c0dd55c82 Suppress OK to internal connections that were flooding the log files Douglas Clowes 2008-01-15 12:34:18 +11:00
  • 8760fe8496 Improve robustness and fix bug when removing last queue entry does not update tail pointer. Douglas Clowes 2008-01-15 12:32:20 +11:00
  • 8bd0037997 Add ORHVPS and FSM Douglas Clowes 2008-01-15 12:30:01 +11:00
  • 24621a0562 Add ORHVPS initialisation Douglas Clowes 2008-01-15 12:29:35 +11:00
  • 722fd4b539 Oak Ridge (Ordella) High Voltage Power Supply environment controller Douglas Clowes 2008-01-15 12:28:38 +11:00
  • ebdcc7be0b Extracted abstract Finite State Machine (from DMC2280 motor driver) Douglas Clowes 2008-01-15 12:27:25 +11:00
  • c75e16d4bd Handle change to asyncqueue to handle binary protocols Douglas Clowes 2008-01-15 12:25:16 +11:00
  • 5874e38152 text formatting Douglas Clowes 2008-01-15 12:23:36 +11:00
  • 8325c68cea Fix uninitialized variable Douglas Clowes 2008-01-15 12:21:08 +11:00
  • fe2eabfc33 Adjustments for handling binary protocols and multiple receive terminators Douglas Clowes 2008-01-15 12:19:37 +11:00
  • 1250d902e7 Adjustments for handling binary protocols Douglas Clowes 2008-01-15 12:17:58 +11:00
  • 56643bb4c5 Integrate PSI changes. Douglas Clowes 2008-01-15 12:02:25 +11:00
  • 8cf55d9e49 Avoid referencing before allocated memory on empty string. Douglas Clowes 2008-01-15 12:00:53 +11:00
  • 3926e47ab5 Change floats to doubles, controller virtual motor variables, a little refactoring Douglas Clowes 2007-12-07 10:38:34 +11:00
  • ef525d1f58 More and bigger files plus switch header and tail in files Douglas Clowes 2007-12-07 10:30:45 +11:00
  • ad292da6e4 Reduce excessive update messages by supressing when value has not changed Douglas Clowes 2007-12-07 10:25:00 +11:00
  • 32595554bc Incremental commissioning and calibration Douglas Clowes 2007-12-07 10:22:38 +11:00
  • a2fb2b9571 Redirect from Echidna to Kowari PLC inputs Douglas Clowes 2007-12-07 10:21:00 +11:00
  • 0634295e45 Detector Y axis Douglas Clowes 2007-12-07 10:19:54 +11:00
  • 034cb7a6ac Detector and beam stop commissioning Douglas Clowes 2007-12-07 10:19:01 +11:00
  • b07f75f756 Added frame source option to histmem. Allow forcing of frame source to internal (useful for scans on Platypus) Ferdi Franceschini 2007-11-09 17:09:36 +11:00
  • 21796674c3 Changed names to protect the innocent. Ferdi Franceschini 2007-11-09 17:07:30 +11:00
  • 2cb9e55f63 change counts and steps to integer for 31bit encoder handling Douglas Clowes 2007-11-09 14:08:46 +11:00
  • 83ac14eeac commissioning refinement Douglas Clowes 2007-11-09 10:38:23 +11:00
  • 52a5be7c0d A bit of refactoring and a bug fix Douglas Clowes 2007-11-09 09:49:19 +11:00
  • 5eb6f4330b commissioning refinement Douglas Clowes 2007-11-09 09:47:47 +11:00
  • 3d81b204d6 Frame source now defaults to EXTERNAL if setting a non-zero frame frequency. Ferdi Franceschini 2007-11-09 08:34:17 +11:00
  • 3489c4c7cc You can now save data in the toplevel of an NXentry Ferdi Franceschini 2007-11-08 17:05:26 +11:00
  • 643b2bad1b Now supports adding toplevel entries to an NXentry. Added start_time and end_time. Ferdi Franceschini 2007-11-08 17:04:07 +11:00