-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
len(Packet) not handled correctly for PCM throughput #29
Comments
Unable to reproduce. Is the source file valid? |
The source file had a mangled index which is why I was trying to reindex. From the screenshot above it appears that the wrong packets are being used for the index. I believe the input file was valid in form but the index packets had wrong pointers. |
Which screenshot? Are you talking about the input file or the output?
reindex ignores existing index packets. The file either is or isn't valid, and those channel numbers / types look suspect. |
Two screenshots comparing input and output files. Input/output refers to the file prior to using Bob's ig106Dub program, which has since been fixed. I would agree that the index packets have bogus channel numbers - probably due to the offsets being wrong. The basic file structure appears to be valid however. I would agree if the index packets are broken the file in general is not valid. However, just reading Chapter 10 headers and ignoring indexes should work based on my cursory examination. |
Data in A429 channels is not being properly copied from source file to output file. First A429 Packet in input file TST.ch10: Offset : 0x0000000000022D14 Packet's Data Efficiency : 79.4118 ARINC429 CHAN SPEC :0x0000000D PACKET HEADER: PACKET DATA: Subch Data Label Speed PErr FErr Gap Time Computed IRIG Time PACKET TRAILER: First A429 channel from output file Out.ch10: Offset : 0x000000000001C618 Packet's Data Efficiency : 12.5 ARINC429 CHAN SPEC :0x0000000D PACKET HEADER: PACKET DATA: Subch Data Label Speed PErr FErr Gap Time Computed IRIG Time PACKET TRAILER: Data files uploaded to Teams under ATAC Tools Python file area |
What command produced these results? |
For reference: the original reported behavior is It sounds like you're using an outdated version of c10-tools. When I attempt a reindex on that tst.ch10 file it fails (probably on a corrupt packet). If you could retest with the current version ( |
Index packets appear to be malformed.
Input file:
Output file:
The text was updated successfully, but these errors were encountered: