Commit Graph

71 Commits

Author SHA1 Message Date
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
Ferdi Franceschini
ce78ec9b87 Add idle toggle to Fermi chopper sim and control verbosity. 2013-05-02 14:07:05 +10:00
Ferdi Franceschini
82afa86fa0 Cosmetic changes to the simulated fermi chopper controller. 2013-04-29 20:45:50 +10:00
Ferdi Franceschini
d8b48728b4 SICS-587 (in progress) IP and PORT configurations DONE for Quokka.
TODO Environment controllers etc.
2013-04-24 16:54:22 +10:00
Ferdi Franceschini
20a3dff71e New Neutron Velocity Selector simulatin for Quokka. 2013-04-24 16:49:06 +10:00
Ferdi Franceschini
e28ef59bd0 Added fake disk chopper controller. 2013-04-23 14:32:24 +10:00
Ferdi Franceschini
579ad59ebf Simple simulation of Fermi chopper control.
Currently it lets you set coils and registers for three controllers.
It will also set the up_to_speed, lev_complete, and run flags for the
system status.
TODO Phase control and locking.
2013-04-23 09:56:44 +10:00
Ferdi Franceschini
afd7b3879d Generic fake Galil derived from Taipan version.
Added instrument name as a command line argument.
2013-04-18 12:40:56 +10:00
Douglas Clowes
a00ca3872f Addpython motor simulation for taipan 2013-02-21 14:26:26 +11:00
Douglas Clowes
dfb9db5e5c add das servers to test host list 2012-12-13 14:07:08 +11:00
Douglas Clowes
8da55b8784 Taipan uses MC1-4,6 and not MC5
r3678 | dcl | 2012-07-26 12:09:34 +1000 (Thu, 26 Jul 2012) | 1 line
2012-11-15 17:34:41 +11:00
Ferdi Franceschini
1cddcfd82d Wombat and Echidna use fileeval and cfPath to load configs for the
eulerian cradle.

r3533 | ffr | 2012-04-19 10:27:08 +1000 (Thu, 19 Apr 2012) | 3 lines
2012-11-15 17:27:24 +11:00
Ferdi Franceschini
62acdb79a2 Allow user to specify the server path for taipan and lyrebird
r3315 | ffr | 2011-12-06 17:31:08 +1100 (Tue, 06 Dec 2011) | 2 lines
2012-11-15 17:20:54 +11:00
Ferdi Franceschini
89bfef55b0 This is a simple LS336 simulation. It just implements the commands which
the sct_lakeshore_336.tcl driver uses.  You can set the temperature and
the sensor readings have a random one degree fluctuation.

r3238 | ffr | 2011-08-12 08:46:21 +1000 (Fri, 12 Aug 2011) | 4 lines
2012-11-15 17:16:03 +11:00
Jing Chen
c15a4ca1d6 r3078 | jgn | 2011-03-10 09:56:54 +1100 (Thu, 10 Mar 2011) | 1 line 2012-11-15 17:09:07 +11:00
Jing Chen
28772f6ec2 added Lyrebird instrument config
r3038 | jgn | 2010-12-13 16:10:57 +1100 (Mon, 13 Dec 2010) | 1 line
2012-11-15 17:07:02 +11:00
Ferdi Franceschini
381839b134 Fixed port number
r2929 | ffr | 2010-05-20 10:51:15 +1000 (Thu, 20 May 2010) | 2 lines
2012-11-15 17:03:02 +11:00
Ferdi Franceschini
5811f125a9 Added a realist test mode to simulate fluctuating current as in the real RF generator
r2927 | ffr | 2010-05-18 20:16:53 +1000 (Tue, 18 May 2010) | 2 lines
2012-11-15 17:02:53 +11:00
Ferdi Franceschini
08de4efc37 Set TESTMODE to normal and reset port number
r2922 | ffr | 2010-05-14 12:36:39 +1000 (Fri, 14 May 2010) | 2 lines
2012-11-15 17:02:29 +11:00
Ferdi Franceschini
fbec2505c5 Fixed switch reply string and added test option to ignore updates.
r2921 | ffr | 2010-05-14 12:31:24 +1000 (Fri, 14 May 2010) | 2 lines
2012-11-15 17:02:25 +11:00
Ferdi Franceschini
d2cf223047 RF Generator simulator for the sct_rfamp.c protocol handler.
r2917 | ffr | 2010-05-10 15:52:24 +1000 (Mon, 10 May 2010) | 2 lines
2012-11-15 17:02:06 +11:00