Skip to content

Translating data from a binary file produced by the Data Storage application #294

Answered by dmccomas
mc-bane asked this question in Q&A
Discussion options

You must be logged in to vote

Yes you will need to know all of the binary structures of the data being stored in the DS file. Here's a picture showing the structure of a DS file that is storing event messages. After the standard cFS file header DS has its own file header. After this header DS stores packets as defined in its tables. When processing the packets in the file I would recommend using the information in the CCSDS primary header of each packet as opposed to making any assumptions about packet order. Use the message ID to identify which packet structure needs to be used to interpret the binary data and use the packet length to find the start of the next packet in the file.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mc-bane
Comment options

@skliper
Comment options

@dmccomas
Comment options

@mc-bane
Comment options

Answer selected by mc-bane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants