Skip to content

Conversation

@rpartzsch
Copy link
Collaborator

@rpartzsch rpartzsch commented Jul 23, 2025

Refactored the TLU main script into a hardware side controller. This separates the functionalities of the constellation satellite further from the rest of the Python package and makes it easier to handle status logs and data differently for the different use cases.

  • Check if constellation satellite has the same functionalities
  • Check with hardware

@rpartzsch rpartzsch added enhancement New feature or request maint Related to maintenance e.g. deprecated functions. labels Jul 23, 2025
@rpartzsch rpartzsch linked an issue Jul 23, 2025 that may be closed by this pull request
@rpartzsch rpartzsch marked this pull request as ready for review September 8, 2025 06:04
Satellite: adapt to CDTP2 for COnstellation v0.6+
@rpartzsch rpartzsch mentioned this pull request Oct 2, 2025
@rpartzsch rpartzsch requested a review from cbespin October 2, 2025 14:44
@cbespin
Copy link
Collaborator

cbespin commented Oct 20, 2025

This should probably be rebased since the merge of #47. I see some parts that are identical.

@stephanlachnit
Copy link
Contributor

Just gave this branch a try, and there seems to be a bug in here. I get the following error:

17-11-25 15:38:33.521843 [135088050267840] ERROR - Bad response code (0x7 = 'bus timeout on write') received for Incrementing write at base address 0x2006 (node "TLU.Shutter.RunActiveRW").  URI: "chtcp-2.0://localhost:10203?target=192.168.200.30:50001". Sent/received headers: 0x262c011f / 0x262c0017 (transaction 1/1 bytes into IPbus payload)
17-11-25 15:38:33.522005 [135089563893888] WARNING - Closing TCP socket for device with URI "chtcp-2.0://localhost:10203?target=192.168.200.30:50001" since exception detected.
2025-11-17 15:38:33,524 [AIDATLU           ] - CRITICAL exception in _wrap_initialize: Bad response code (0x7 = 'bus timeout on write') received for Incrementing write at base address 0x2006 (node "TLU.Shutter.RunActiveRW").  URI: "chtcp-2.0://localhost:10203?target=192.168.200.30:50001". Sent/received headers: 0x262c011f / 0x262c0017 (transaction 1/1 bytes into IPbus payload)

Does not happen when I use main.

@rpartzsch
Copy link
Collaborator Author

rpartzsch commented Nov 18, 2025

Ok, it seems like this only happens when using constellation. And only at the first initialization step. If the TLU is already initialized when starting constellation then everything works.

This does not happen, when using the pure Python side, but I will investigate this further.

@simonspa simonspa mentioned this pull request Nov 19, 2025
rpartzsch and others added 3 commits November 19, 2025 14:13
Updated descriptions with minor language-related points
DOC: update category and add parent class in Constellation README
@cbespin
Copy link
Collaborator

cbespin commented Dec 4, 2025

The constellation issues were solved in #49, right? Then we could continue here

@rpartzsch
Copy link
Collaborator Author

Yes, this branch should work now.

@simonspa
Copy link
Collaborator

simonspa commented Dec 4, 2025

™️

stephanlachnit and others added 2 commits December 8, 2025 15:29
@stephanlachnit
Copy link
Contributor

@rpartzsch @cbespin FYI we have testbeam next week and will use this branch together with Constellation v0.6.1, if we find something we'll let you know, if not it would be nice to get a new release with this.

@cbespin
Copy link
Collaborator

cbespin commented Dec 10, 2025

Sounds good! Small celebration before the end of the year then

@stephanlachnit
Copy link
Contributor

Overall it worked really well, there is however still an issue if the clock_config parameter is not set sometimes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request maint Related to maintenance e.g. deprecated functions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Separate hardware library

5 participants