Commit Graph

3328 Commits

Author SHA1 Message Date
Ferdi Franceschini cb1652835a Added 'unpad' command to remove leading zeros from base 10 numbers. 2014-06-10 19:20:41 +10:00
Ferdi Franceschini 96526c7866 Trim whitespace from description when generating motor configuration. 2014-06-10 19:16:53 +10:00
Douglas Clowes e2fae66199 Update the mercury pressure loop for the pressure card 2014-06-10 17:17:28 +10:00
Douglas Clowes 21c9193a4b Minor fixes to compareSICS, gitrefer and gitloader 2014-06-05 16:35:49 +10:00
Douglas Clowes 1f3aa6676e Create the gitloader and gitrefer progs and tie in with compareSICS 2014-06-05 11:36:29 +10:00
Douglas Clowes 49361e3430 Pull back configurations changes from Bilby 2014-06-04 15:17:35 +10:00
Douglas Clowes 393f050338 Update sics_test.py to add position_names and embedded python tests 2014-05-30 17:48:17 +10:00
Douglas Clowes 61700fbae3 Update test code 2014-05-30 17:48:09 +10:00
Douglas Clowes 1a1f00c49a motor verbose/debug, position_names, hard<->soft and refactor
Make debug mode and verbose mode separate modes

Implement position names in the "posit" code as alternate to numbers

Refactor to use hard/soft conversion functions
2014-05-30 17:32:47 +10:00
Douglas Clowes c7a2d05832 Add posit2soft to get soft position from position 2014-05-30 17:19:36 +10:00
Douglas Clowes a1572f3152 Add astrium chopper field 'master' to driver 2014-05-30 17:18:29 +10:00
Douglas Clowes bd0c0b5556 Bilby Astrium Chopper Driver and Fake Chopper 2014-05-29 12:36:54 +10:00
Douglas Clowes 2517f71c67 Improve handling and logging for xxx_simulation case 2014-05-28 12:24:20 +10:00
Douglas Clowes 28ea3befb6 Allow setting driver debug_threshold in SCT file 2014-05-28 11:59:30 +10:00
Douglas Clowes 6a9b64d3d6 Catch errors in the hval/hget and return the message as the value 2014-05-26 12:55:34 +10:00
Douglas Clowes f62fb5a91c Longer timeout and fiddling around the edges (debug, callback args) 2014-05-26 12:55:22 +10:00
Douglas Clowes 70e1cdcd01 Push test_suite, sicsconfig and hipadaba down to base class setup 2014-05-26 10:55:37 +10:00
Douglas Clowes 9c08424524 Update tests to include drive_one and getgumtreexmlvalues 2014-05-26 10:55:32 +10:00
Douglas Clowes 95ead97234 Default (fakedev) test config to include motors and environment 2014-05-26 10:54:58 +10:00
Douglas Clowes 4f7fe09f35 Implement a turn counter for wrap-around rotary encoders 2014-05-20 12:26:44 +10:00
Douglas Clowes 1a28faabbf Add the <value></value> to regular getgumtreexml 2014-05-19 11:03:19 +10:00
Douglas Clowes 92d3acb5d5 Remove superfluous trailing white space from TCL files 2014-05-16 17:23:58 +10:00
Douglas Clowes 89e4e37f9e Remove superfluous trailing white space from Python files 2014-05-16 17:23:54 +10:00
Douglas Clowes 4c65f82116 Remove superfluous trailing white space from C files 2014-05-16 17:23:44 +10:00
Douglas Clowes 1881907e00 Add getgumtreexmlvalues function for values without properties
Allows gumtree to quickly get updated values for a node branch
without the additional bloat of the node properties
2014-05-16 16:41:02 +10:00
Douglas Clowes cf8a08ea7e Generated modular mercury drivers 2014-05-16 15:42:11 +10:00
Douglas Clowes abafa6a2e6 Change obsoleted eStatus logging to eLog or eValue 2014-05-16 15:39:58 +10:00
Douglas Clowes 81ed966092 Regen sct drivers with async and logging changes 2014-05-16 15:39:58 +10:00
Douglas Clowes 86673f6a8f Only require the IP and PORT in the config.ini if we will use them 2014-05-16 15:39:58 +10:00
Ferdi Franceschini 668cbcc3ed Update Bilby motor configuration. Adds tank and sample stage.
Also changed some names as requested by Anna.
2014-05-16 13:56:51 +10:00
Ferdi Franceschini 0ae4d40470 Deploy all environment drivers to all instruments. 2014-05-16 13:56:51 +10:00
Ferdi Franceschini d1bfcf3b6a Remove unnecessary {*} TCL operator. 2014-05-16 13:56:50 +10:00
Douglas Clowes 4e17c8b001 Fix string range arguments for removing quotes 2014-05-13 17:41:32 +10:00
Douglas Clowes 8d1fed9e68 Use parse_file to read sics_config.ini (instead of dump) 2014-05-13 17:06:46 +10:00
Douglas Clowes 5da017b633 Clean and comment the code, strip quotes 2014-05-13 17:04:48 +10:00
Douglas Clowes acb5b3e46e Clean up the trailing spaces 2014-05-13 17:03:43 +10:00
Douglas Clowes fea1d5ee70 Fix "missing hipadaba" test 2014-05-12 17:29:26 +10:00
Douglas Clowes fe2706f406 Split up some of the tests and add a TCL clock test 2014-05-12 15:20:26 +10:00
Douglas Clowes bd9c79da30 Improve formatting and documentation (pylint) 2014-05-12 15:20:18 +10:00
Douglas Clowes 5699ae2747 Updated SICS unit test infrastructure and test tests 2014-05-09 16:59:11 +10:00
Douglas Clowes f5f5ca33ea Starter tests for SICS unit testing 2014-05-08 14:44:44 +10:00
Douglas Clowes 8d6d28bd53 Twisted unittest based SICS unit test infrastructure 2014-05-08 14:44:37 +10:00
Douglas Clowes 35674d8fb0 Create fake devices in terminal tabs for Taipan testing 2014-05-08 14:44:24 +10:00
Douglas Clowes 416c609b9c Change gumxml to remove (some) prohibited characters from XML 2014-05-08 08:54:08 +10:00
Douglas Clowes 4820912bdc Legacy_fsm cut/paste typo 2014-05-06 17:20:43 +10:00
Ferdi Franceschini 3571578531 Only check write-timeouts when we have something to write. 2014-05-05 14:10:16 +10:00
Ferdi Franceschini d7acb7c16c Load drivers which have been enabled in the SICS config ini files.
Lakeshore 336 drivers with known IP addresses have been added to the ini files with unique IDs.
All entries in the ini files now have unique IDs
The wombat ini now has radio buttons to select sample stage motor configurations.
2014-05-05 12:25:00 +10:00
Douglas Clowes a52835379d Changes to sct files 2014-05-01 10:54:09 +10:00
Douglas Clowes bf84f65e5a Changes to generated driver logging 2014-05-01 10:54:09 +10:00
Douglas Clowes 46599051d9 Add find_sicsdev and find_myobject functions 2014-05-01 10:54:09 +10:00