Skip to main content

Generate XTCE for use with Yamcs

Project description

Yamcs PyMDB

[!WARNING] This software is in beta development status. Documentation is limited, and API is subject to change.

If you'd like to try it out, have a look at the examples which explain the base setup for either CCSDS or CSP-style packets. Other common formats will be added over time.

pip install yamcs-pymdb

Use this Python library to generate XTCE XML files for use with Yamcs Mission Control:

import yamcs.pymdb as Y

spacecraft = Y.System("Spacecraft")

param1 = Y.IntegerParameter(
    system=spacecraft,
    name="param1",
    signed=False,
    encoding=Y.uint8_t,
)

param2 = Y.EnumeratedParameter(
    system=spacecraft,
    name="param2",
    choices=[
        (0, "SUCCESS"),
        (-1, "ERROR"),
    ],
    encoding=Y.int8_t,
)

# Emit an XML that conforms to XTCE
print(spacecraft.dumps())

License

LGPL-3.0. See LICENSE

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

yamcs_pymdb-1.0.10.tar.gz (36.0 kB view details)

Uploaded Source

Built Distribution

yamcs_pymdb-1.0.10-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file yamcs_pymdb-1.0.10.tar.gz.

File metadata

  • Download URL: yamcs_pymdb-1.0.10.tar.gz
  • Upload date:
  • Size: 36.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for yamcs_pymdb-1.0.10.tar.gz
Algorithm Hash digest
SHA256 28c18f2a9c09dfa28d5073dc0d4296115a1d13e97caccff2ea518ca1e7d95e65
MD5 433299a630e041a365dd5e56fee7d476
BLAKE2b-256 3d43d5730f81df15670fbff1d36a2d733ae1a7e3aaa5d46b6c418a7d65c58e1c

See more details on using hashes here.

File details

Details for the file yamcs_pymdb-1.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for yamcs_pymdb-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 f569622a07dcbd83962258e88825b199bb382dacbee854c85fe16ab40ba27284
MD5 c9d12cd13a0601fb4e9a0532ac352f5a
BLAKE2b-256 763826ddc1593b8da0e651d8121c07137229cab35af7e53701b14ea9fb655ce5

See more details on using hashes here.

Supported by

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