Demonstration of a CGSE package with a dummy device driver
Project description
Dummy Device Driver
This package demonstrates how to develop a device driver that can be integrated with the cgse framework. It provides a
Dummy Control Server that connects to a Dummy Device, which acts as a data acquisition simulator.
Features
- Dummy Control Server for testing and development
- Simulated device for data acquisition
- Example implementation for integration with the
cgseframework
Directory Structure
cgse_dummy/cgse_explore.py- implements theshow_processes()function used by thecgse show procscommandcgse_services.py- Service definitions for the dummy device, provides thedummysub-command for thecgsedummy_cs.py- implementation of the synchronous control serverdummy_acs.py- implementation of the asynchronous control server (experimental)dummy_dev.py- implementation of the synchronous device driverdummy_adev.py- implementation of the asynchronous device driver (experimental)dummy_sim.py- Simulation logic for the dummy devicesim_data.py- Simulation data generationsettings.yaml- Configuration file with port numbers and other settings for the Dummy device and Dummy control server
Developer Installation
Clone the repository and install the package:
git clone git@github.com:IvS-KULeuven/cgse-dummy.git
cd cgse-dummy
User installation
This package is available on PyPI, but it is not intended for end users. Instead, it serves as a reference
implementation for developers who wish to inspect the source code and learn how to create external device packages that
integrate with the cgse framework.
Requirements
- Python 3.10+
- Any additional dependencies listed in the
pyproject.tomlfile.
Contributing
Contributions are welcome! Please fork the repository and submit a pull request.
License
MIT
Contact
For questions or support, please raise an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cgse_dummy-0.6.4.tar.gz.
File metadata
- Download URL: cgse_dummy-0.6.4.tar.gz
- Upload date:
- Size: 713.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02134b2ba7a19c64ba8e0ef125d579a637b36e1eef5046408959d4203a941cf4
|
|
| MD5 |
49d28876f9f118adbc8a624450bca3dd
|
|
| BLAKE2b-256 |
4aeed403da6f2677136c92dd46b6de3470d895a002aca528f4c5492d10ec3477
|
File details
Details for the file cgse_dummy-0.6.4-py3-none-any.whl.
File metadata
- Download URL: cgse_dummy-0.6.4-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
718189e8b11269864417c344d3cb17f825519d0f499e44d333fa8d9f7442f249
|
|
| MD5 |
88e3da209faf61c0b6605f686491de80
|
|
| BLAKE2b-256 |
2bcac9017f4925329f9d2c83233b0bc670f637032fed540e03a279d5457fb6e0
|