Skip to main content

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 cgse framework

Directory Structure

  • cgse_dummy/
    • cgse_explore.py - implements the show_processes() function used by the cgse show procs command
    • cgse_services.py - Service definitions for the dummy device, provides the dummy sub-command for the cgse
    • dummy_cs.py - implementation of the synchronous control server
    • dummy_acs.py - implementation of the asynchronous control server (experimental)
    • dummy_dev.py - implementation of the synchronous device driver
    • dummy_adev.py - implementation of the asynchronous device driver (experimental)
    • dummy_sim.py - Simulation logic for the dummy device
    • sim_data.py - Simulation data generation
    • settings.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.toml file.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgse_dummy-0.6.5.tar.gz (685.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cgse_dummy-0.6.5-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file cgse_dummy-0.6.5.tar.gz.

File metadata

  • Download URL: cgse_dummy-0.6.5.tar.gz
  • Upload date:
  • Size: 685.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for cgse_dummy-0.6.5.tar.gz
Algorithm Hash digest
SHA256 d51eb743b08bb33cab67fb41c4d3380650c8aba02ccf53dd0e5277cadb7c68b1
MD5 b2e7e8b5246191d31ee5c22f9452ab82
BLAKE2b-256 e7cb887b4937dbd71629626d7cc8aa16077e42a629139ef19824005021121479

See more details on using hashes here.

File details

Details for the file cgse_dummy-0.6.5-py3-none-any.whl.

File metadata

  • Download URL: cgse_dummy-0.6.5-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for cgse_dummy-0.6.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ad791daea64254bd0b5f6bda203e842b9245e2fca633f807c49d5f3cf9221aee
MD5 2abb9bf6b3b3b8c4e62e5e3a50d65a53
BLAKE2b-256 7479a7bb296ec7c9abd0e96d04119a87e65f85ddfcf6b1ddc3aae74668278743

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page