Commit Graph

91 Commits

Author SHA1 Message Date
Douglas Clowes
03aa895403 Extract common setup code and add wombat 2014-06-26 12:38:06 +10:00
Douglas Clowes
9388b5941d Trivial changes to unit test 2014-06-23 12:48:46 +10:00
Douglas Clowes
84fa02a5a5 Add a fake Huber bath 2014-06-20 14:53:39 +10:00
Douglas Clowes
ff342dc16d Add unimplemented message to fake NHQ 2014-06-20 14:53:33 +10:00
Douglas Clowes
fc85619eac NHQ-2xx SCT driver and fake device 2014-06-20 12:25:46 +10:00
Ferdi Franceschini
eadb336ef3 Simple hack to allow reading inputs on the fake Galil.
This was done for the shutter.sct on Bilby.
2014-06-17 12:30:54 +10:00
Douglas Clowes
09c82c0644 Try separating Quokka and taipan tests 2014-06-11 15:45:40 +10:00
Douglas Clowes
2ff336f1ee Check for fake/simulated motors 2014-06-11 14:57:18 +10:00
Douglas Clowes
f4f29c2d84 Massage the test suite for non-taipan instruments 2014-06-11 14:54:54 +10:00
Ferdi Franceschini
8da11e0ff2 The fake Galil can now handle 'MG _LFH' and 'MG _LFR' to get limit switch states. 2014-06-10 19:21:51 +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
bd0c0b5556 Bilby Astrium Chopper Driver and Fake Chopper 2014-05-29 12:36:54 +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
4f7fe09f35 Implement a turn counter for wrap-around rotary encoders 2014-05-20 12:26:44 +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
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
29bee0a057 Change fake pfeiffer to CRLF terminator 2014-05-01 10:54:09 +10:00
Douglas Clowes
da2fd6bbbb Make a fake Pfeiffer device for testing the script context driver
This driver controls the needle valve on the Oxford Mercury
2014-04-17 13:16:56 +10:00
Douglas Clowes
acf2112fc2 Make a fake Oxford Mercury device for testing the script context driver
This driver allows PID type control of the needle valve
2014-04-17 13:16:48 +10:00
Douglas Clowes
610098f34b Make a fake Hiden XCS device for testing the script context driver 2014-04-17 13:16:40 +10:00
Ferdi Franceschini
2246c58837 Allow up to eight fake Galil controllers when testing. 2014-02-05 15:51:01 +11:00
Ferdi Franceschini
fc02a71882 Make display window optional for SIM_GALIL.py 2013-12-20 09:09:01 +11:00
Ferdi Franceschini
5b4d044835 Make SIM_RFGen.tcl executable. 2013-12-20 09:08:51 +11:00
Douglas Clowes
6672e17982 Parse arguments for filename, add params to plot/axis titles, add grids 2013-08-08 12:46:18 +10:00
Douglas Clowes
de6410f089 Add motor tracking plotting in python 2013-08-08 11:20:19 +10:00
Douglas Clowes
6287e0ba7f Add the name and link count to the fake motors 2013-07-01 13:10:46 +10:00
Douglas Clowes
a0bf852024 Move displayscreen to the general utility directory "instrument/util" 2013-07-01 12:20:11 +10:00
Douglas Clowes
fbf6112cea Update to show motor position on display screen 2013-06-27 16:36:56 +10:00
Douglas Clowes
99f18f8798 Add a display screen for motor position to taipan fake motors 2013-06-27 16:36:38 +10:00
Douglas Clowes
3a06651ae3 Add link count and handle screen resize in fake Lakeshores 2013-06-27 16:35:50 +10:00
Douglas Clowes
1c6a2abdcc Handle the non-AbsoluteEncoder motor 2013-06-27 16:08:46 +10:00
Douglas Clowes
66f67c1c0d Lakeshore 340 only has one HTR 2013-06-26 10:01:42 +10:00
Douglas Clowes
0c179166de Iterative improvement of fake Lakeshores 2013-06-26 10:01:41 +10:00
Douglas Clowes
2b1e34202d implement fake lakeshore 336, 340 and 370 in Python with curses display 2013-06-21 14:27:37 +10:00
Douglas Clowes
bff8cc2c16 Implement limit switches and the SC and TS commands on fake Galil motors 2013-06-17 12:05:29 +10:00
Ferdi Franceschini
2df9297a3f SICS-587 Setup hostport dictionary based configuration for dingo.
Also added simulated camera server and a camtest configuration file to
run test scans against a dummy motor.
2013-06-14 10:18:45 +10:00
Ferdi Franceschini
0c49dc21f7 Add dingo, bilby and emu baseports. 2013-06-14 09:56:33 +10:00
Ferdi Franceschini
b1597c96f3 Handle the idle_toggle command properly on the fake fermi chopper. 2013-05-13 22:00:37 +10:00
Ferdi Franceschini
3a18a61479 Fixed fake fermi chopper direction and initialised speed to zero. 2013-05-08 07:59:34 +10:00