Questions on UDP Message Handling, Web Interface Customization, and Data Archiving in Yamcs

27 views
Skip to first unread message

Tsai Hsuan Hsieh

unread,
Apr 2, 2025, 8:35:05 AMApr 2
to ya...@googlegroups.com
Hello,

I have a few questions related to my setup and would appreciate your assistance:

UDP Message Parameters
I’m encountering the following error when sending a UDP message:
WARNING: Exception when receiving parameter data: com.google.protobuf.InvalidProtocolBufferException: Cannot find field: description in message yamcs.protobuf.pvalue.ParameterValue. I have gone through the .proto files but could not find much relevant information. Could you clarify what parameters/fields are allowed in a UDP message, and where I might find the correct field definitions?

Adding a "Timestamp" Column to the Parameters Web Interface
I would like to add a "Timestamp" column (alongside the existing columns: "Name", "Value", "Data Source", "Description") on the Parameters web interface. Where should I start to implement this?

Data Archiving Issue
I have updated the parameters' values, and the changes are reflected in the "Value" column on the web interface and in the curl command output. However, when I query the archive with curl -s "http://localhost:8090/api/archive/UEI_DAQ/parameters/UEI_DAQ/AI_ch0?limit=10", it shows data from 3 days ago instead of the latest value. Could you help me troubleshoot why the archive is not reflecting the most recent updates?

Thank you for your time and assistance!

Best regards,
Stasy

fabia...@spaceapplications.com

unread,
Apr 2, 2025, 1:47:52 PMApr 2
to yamcs
1/
Maybe check the example here: (which uses "json: true" on the link configuration)

Also, if you want to handle different kinds of messages, you could extend UdpParameterDataLink in a custom Java class (overriding the method "decodeDatagram"), with your own mapping.

2/
This was added since 5.10.6:


3/
For Nicolae, when he can.

Nicolae Mihalache

unread,
Apr 2, 2025, 1:56:05 PMApr 2
to ya...@googlegroups.com
which Yamcs version?

--
You received this message because you are subscribed to the Google Groups "yamcs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to yamcs+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/yamcs/CAN67gKE7zfcOAzwk8Txd2S4LP5ooLXY3RD%2BwUyOrYYbRs2m%2BxA%40mail.gmail.com.

Tsai Hsuan Hsieh

unread,
Apr 3, 2025, 12:11:43 AMApr 3
to ya...@googlegroups.com

Hi Yamcs Team,

  1. I’m using Yamcs 5.10.4 with the UDP parameter data link template and expected automatic data transfer to OpenMCT via WebSocket. However, I’m unsure if OpenMCT is receiving the data, possibly due to parameter mapping issues. I assumed there would be a handshake, with OpenMCT initiating the connection and Yamcs providing the correct data format for display. I’ve only modified the openmct-yamcs.js file. How should I proceed to ensure proper data transmission and display?

  2. I can query archived data via the API, but it doesn’t show in the Yamcs UI (Archive Browser or Historical Data). Any guidance would be appreciated.

Thanks,
Stasy



Reply all
Reply to author
Forward
0 new messages