Code Monkey home page Code Monkey logo

Comments (5)

ygageot avatar ygageot commented on August 22, 2024

Did you found a documentation about the meaning of 3 bytes frame ?

from fdxread.

lkarsten avatar lkarsten commented on August 22, 2024

There is no public documentation on FDX, as far as I know. There are mentions online of a developer document from Nexus AB, but I haven't been able to find it. If anyone has a copy, send it to me!

I've written a smarter lexer that knows about frame lengths, but it came with a major reorganization of decode.py so I decided to take another pass at it before commiting it.

from fdxread.

ygageot avatar ygageot commented on August 22, 2024

To understand the second byte with frame length is an large advance.

We have to understand the first and the last byte ...

My impressions are

  • the 0x81 byte is not at the end of the frame but is at the beginning, it permit the receiving software to decode the 3 bytes just after and permit easy synchronization when the receiver read on the fly.

  • somewhere is the Unit ID of the equipment (32 max equipments=5 bits)
    The WSI box has always ID=2 and NX2 server has ID=0; the other equipments have usually IDs 16,17,...

from fdxread.

lkarsten avatar lkarsten commented on August 22, 2024

I forgot to update this issue when I did 13faaa4.

It implements a better tokenizer that uses the frame length in the header.

I agree that 0x81 should be looked at as the start byte and not the end byte. It makes more sense now that we know that the header has a length field.

Most of my data comes from the GND10 box, so getting a grasp on what may be the device id isn't easy since it generates all of them. If anyone has more data dumps from actual NX2 systems, I think that would help.

Closing this as the main issue has been solved.

from fdxread.

ygageot avatar ygageot commented on August 22, 2024

Do you known the Unit ID of your GND10 ?

from fdxread.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.