Commit Graph

2302 Commits

Author SHA1 Message Date
Douglas Clowes
e76f6376ee Added Modbus Protocol 2014-08-27 16:52:13 +10:00
Douglas Clowes
a43461b200 Reworked AsyncQueue sendCommand processing
Squashed commit of the following:

commit 42fb7d3cde591d40060cc740ccbc47f1ae7a5a50
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Tue Aug 26 13:31:11 2014 +1000

    Get the MODBUS_AP working

commit da785c1434a04c4186d4174eb2dfbaefc850c8e7
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Mon Aug 25 18:01:50 2014 +1000

    Bring Modbus protocol closer to Huber, Knauer and Omron

commit ef06ed7b6911cb49b35c19fe73e55f7c57cfd049
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Mon Aug 25 18:01:18 2014 +1000

    Make Huber, Knauer and Omron protocols more aligned (diffable)

commit 3ef1bb06b3f865502ad7dffc4bf5dba4814d9334
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Fri Aug 22 17:47:50 2014 +1000

    Get the Huber and Knauer protocols to be more alike

commit 2c9932e83f6735e894278648afdcadece654d43b
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Fri Aug 22 17:12:31 2014 +1000

    Clean up the Knauer dual-mode protocol and refactor

commit 333300b19b0e61916e261300ac6ae2b6bab5df09
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 15:38:39 2014 +1000

    Get the Knauer dual-mode protocol working(-ish)

commit b1f9d82f1b9eb8a1ff54694adc3482984b0d3d72
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 15:37:44 2014 +1000

    Make private functions static (and not duplicated)

commit 0b077414eef9e4351956a2b971d7751cced0d3cd
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 12:46:10 2014 +1000

    Knauer moving toward dual protocol

commit 13199bea38a1595ce06923e83474b738b10db94d
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 12:42:48 2014 +1000

    Restructure default sendCommand processing in asyncqueue

commit 99a8ea3174ca0636503b0ce0cdb6016790315558
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 09:48:50 2014 +1000

    Add a Modbus Protocol handler derived from sct_tcpmodbus

commit 3adf49fb7c8402c8260a0bb20729d551ac88537b
Author: Douglas Clowes <dcl@ansto.gov.au>
Date:   Thu Aug 21 09:43:54 2014 +1000

    Leave the free of private data to the asyncqueue mechanism
2014-08-27 16:52:13 +10:00
Ferdi Franceschini
47d3d0a7e8 Pelican doesn't seem to have a PLC interface. 2014-08-26 10:33:14 +10:00
Ferdi Franceschini
78cfe7f5a9 SICS-770 Fixed SICS reports 'bad status code' when scanning the schp motor 2014-08-26 10:33:13 +10:00
Ferdi Franceschini
a0acd1e5b4 SICS-458: Add dsc command to run a DSC acquisition on Quokka.
Also added dsc.py utility which finds the start of a DSC profile in hdf files.
2014-08-26 10:32:43 +10:00
Douglas Clowes
f1f9ee2c01 Add protocol support for the Knauer HPLC pump 2014-08-20 13:35:13 +10:00
Douglas Clowes
3d475d3598 Change some names for consistency 2014-08-20 13:05:29 +10:00
Douglas Clowes
2cb70741b1 Add hupdateif <path> <value> [<format>] for conditional update of hipadaba 2014-08-19 15:05:32 +10:00
Douglas Clowes
a93819572a Regenerate template drivers 2014-08-19 11:43:45 +10:00
Douglas Clowes
6f5892f07d Change SCT wrappers to use ip_address and tcp_port 2014-08-19 11:27:43 +10:00
Douglas Clowes
04a87e5ff2 Change IP/PORT to ip_address/tcp_port and add to mkDriver sig
This facilitates use in mkDriver hook code
2014-08-19 11:21:45 +10:00
Douglas Clowes
288be8f1c2 Generate the green magnet wrapper TCL code 2014-08-18 12:48:01 +10:00
Douglas Clowes
273c26cc22 Add a wrapper for the green magnet 2014-08-18 12:46:48 +10:00
Douglas Clowes
6f5f2b69cf Make Agilent use mkWrapper 2014-08-18 12:42:35 +10:00
Douglas Clowes
2c8f1131f6 Add wrapper_property nosctcontroller = <anything> to gen_sct 2014-08-18 12:34:24 +10:00
Douglas Clowes
ea9de2c617 Add @TCL/@END code to gen_sct 2014-08-18 11:39:24 +10:00
Douglas Clowes
da17516491 Add wrapper_property and mkWrapper code for SCT wrappers 2014-08-18 11:39:17 +10:00
Douglas Clowes
8541f7cd90 Remove extra makesctcontroller from Agilent 2014-08-15 12:21:36 +10:00
Ferdi Franceschini
13003126a6 Use configured magnet name in OxfordSet commands.
Also T3 is really pressure.
2014-08-08 11:52:04 +10:00
Ferdi Franceschini
944902c9d4 Added sct wrapper to load legacy sct_oxford_labview.tcl driver. 2014-08-08 11:51:49 +10:00
Douglas Clowes
bd4dfdee79 Remove _trial_temp* directories and *.orig files from TARDIR 2014-08-07 09:43:26 +10:00
Ferdi Franceschini
639e4dc3c8 Generated sct tcl drivers from sct templates. 2014-08-06 11:20:46 +10:00
Ferdi Franceschini
18c862a609 Adding config INI file to Pelican. 2014-08-06 11:20:45 +10:00
Ferdi Franceschini
bf355fb9ed Load all kinds of environment for Pelican and Wombat because we should be
able to just add a new device to the sics_config.ini and load it.
2014-08-06 10:08:12 +10:00
Ferdi Franceschini
2c753a3f18 Make sample stages configurable and add Oxford magnet sample stick motor as an option. 2014-08-06 10:08:12 +10:00
Ferdi Franceschini
7b6b11eef2 Let everyone have a magnet sample stick motor. 2014-08-06 10:08:12 +10:00
Ferdi Franceschini
6b8d9d88fa The default interval of five seconds seems to be working for everyone so let it be. 2014-08-06 10:08:11 +10:00
Ferdi Franceschini
379f12fdac SICS-764: An alternative to the PSI capture command which works when capturing the "run" command. 2014-08-06 10:08:11 +10:00
Ferdi Franceschini
8a6da09326 Deploy all environment control drivers. 2014-08-06 10:08:10 +10:00
Douglas Clowes
c86ff4c883 Prettyfy the dump routines 2014-08-05 17:45:30 +10:00
Douglas Clowes
973f844186 Allow Group_Property override for klass and type and set topleve data true 2014-08-05 17:07:02 +10:00
Douglas Clowes
a1f509d96a Force branch klass to '@none' and type to 'part' 2014-08-05 16:45:42 +10:00
Douglas Clowes
5fb4bc9adc If data is true default klass to parameter in SCT 2014-08-05 16:38:41 +10:00
Douglas Clowes
5be03cc63b make default mutable 'true' and data on branches 2014-08-05 16:04:55 +10:00
Douglas Clowes
a761136b48 Regenerate modified drivers 2014-08-05 12:23:33 +10:00
Douglas Clowes
d8056ae46a Changes to Makefile for building on 64-bit RHEL 2014-08-05 11:58:24 +10:00
Douglas Clowes
d330d7874a Add the FOPDT and PID modules
The First Order Plus Delay Time module is a model of a
controlled system that is useful in modelling and
simulating process control systems.

The Proportional Integral Differential module is a control
system that is useful in controlling process control
systems.

This is not fully functional yet.
2014-08-05 11:44:27 +10:00
Douglas Clowes
17315b15c7 Remove hand-coded config for generated in Oxford ITC-500 2014-08-04 15:46:16 +10:00
Douglas Clowes
39519d8c1c Don't register poll/write when simulating in LS-3xx drivers 2014-08-04 15:45:59 +10:00
Douglas Clowes
5112af83fd SICS-697 Decorate LS-370 with permlink 2014-08-04 15:42:08 +10:00
Ferdi Franceschini
94beedd885 We need dingo.hdd for the scan command. NOTE SICS crashes without it, see SICS-763 2014-08-01 11:35:09 +10:00
Ferdi Franceschini
e16e192d01 Use the camera driver auxiliary command cm1_cmd to set motor position meta data. 2014-07-31 15:48:30 +10:00
Ferdi Franceschini
fdbb0456ad The camera driver can now send meta data such as the motor positions to the camera server.
An auxiliary command has been added so we can set string values on the camera driver for the meta data.
2014-07-31 15:45:03 +10:00
Ferdi Franceschini
9b965e6313 Minimal scan.tcl and dingo_configuration.tcl
FIX: The scan fails to update the motor positions in the camera server meta data.
2014-07-28 10:10:18 +10:00
Ferdi Franceschini
a7039c5ca0 Don't abort server_init if one of the initialisation commands fails. 2014-07-28 10:02:49 +10:00
Ferdi Franceschini
a24afd1298 Modify test configuration for testing on Dingo.
The dingo_configuration.tcl could be based on this.
TODO: Move scan configuration to scan.tcl
2014-07-24 13:57:15 +10:00
Ferdi Franceschini
29e17ba482 Report HWIdle to SICS if the camera driver has been reset via halt(). 2014-07-24 13:53:35 +10:00
Ferdi Franceschini
1707cba55f Add debug parameter to Dingo camera driver. 2014-07-24 13:53:34 +10:00
Ferdi Franceschini
67a3a198ac Added command latch ready event and camera upload configuration event.
The camera driver will now upload the exposure time when it's called from a scan object.
The output function now returns events which are not targeted at the camera or SICS
so that they can be fed back into the state transition function.
The input event handler (camera.c:camdriv_input) now feeds output events back into the
transition function.
2014-07-24 13:53:34 +10:00
Ferdi Franceschini
a62a284372 Define Echidna sics_config.ini with configurable sample stage. 2014-07-24 13:53:33 +10:00