File tree Expand file tree Collapse file tree 5 files changed +20
-19
lines changed
Expand file tree Collapse file tree 5 files changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -70,3 +70,6 @@ lockfiles/
7070# ruff cache
7171.ruff_cache /
7272* code-workspace
73+
74+ # auto-generated files
75+ opi /auto-generated /* .bob
Original file line number Diff line number Diff line change 77
88An example simulation IOC for testing fastCS
99
10- This is where you should write a short paragraph that describes what your module does,
11- how it does it, and why people should use it.
1210
1311Source | < https://github.com/DiamondLightSource/fastcs-example >
1412:---: | :---:
15- PyPI | ` pip install fastcs-example `
13+ PyPI | ` pip install fastcs-example[demo] `
1614Docker | ` docker run ghcr.io/diamondlightsource/fastcs-example:latest `
1715Releases | < https://github.com/DiamondLightSource/fastcs-example/releases >
1816
19- This is where you should put some images or code snippets that illustrate
20- some relevant examples. If it is a library then you might put some
21- introductory code here:
17+ # Usage
2218
23- ``` python
24- from fastcs_example import __version__
19+ Start the simulation temperature controller by running the following command:
2520
26- print (f " Hello fastcs_example { __version__ } " )
21+ ``` bash
22+ tickit all src/fastcs_example/simulation/temp_controller.yaml
2723```
2824
29- Or if it is a commandline tool then you might put some example commands here :
25+ Start the fastCS IOC by running the following command :
3026
31- ```
32- python -m fastcs_example --version
27+ ``` bash
28+ fastcs-example run src/fastcs_example/controller.yaml
3329```
Original file line number Diff line number Diff line change @@ -31,10 +31,13 @@ dev = [
3131 " ruff" ,
3232 " tox-direct" ,
3333 " types-mock" ,
34+ " tickit~=0.4.3" ,
3435]
36+ demo = [" tickit~=0.4.3" ]
3537
3638[project .scripts ]
3739fastcs-example = " fastcs_example.__main__:main"
40+ fastcs-demo = " fastcs.demo.__main__:main"
3841
3942[project .urls ]
4043GitHub = " https://github.com/DiamondLightSource/fastcs-example"
Original file line number Diff line number Diff line change @@ -3,14 +3,13 @@ controller:
33 ip_settings :
44 ip : " localhost"
55 port : 25565
6- num_ramp_controllers : 4
6+ num_ramp_controllers : 1
77transport :
8- - gql :
9- host : localhost
10- port : 8083
11- log_level : info
8+ - pva_ioc :
9+ pv_prefix : DEMO
10+ gui :
11+ output_path : opi/auto-generated/pva_example.bob
1212 - ca_ioc :
1313 pv_prefix : DEMO
1414 gui :
15- title : Temperature Controller Demo
16- output_path : ./demo.bob
15+ output_path : opi/auto-generated/ca_example.bob
You can’t perform that action at this time.
0 commit comments