This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOSTXL-POSMGR: T-format encoder functions

Part Number: BOOSTXL-POSMGR

Hi,Lori

I'm still a little confused about the tformat code, as shown below (in the red box) :

Because  , where the red part is CF field, but why the green part is 1, where is the Tamagawa protocol specified?

In addition, if I use nikon protocol and the instruction format is as follows, how can I modify the code to form the CF field of instruction ID1 (0 010 00 000 10000 000 1) :

Best regards

Johnson Alanl

  • Johnson,

    I'm looking into this and will respond tomorrow.  The t-format specification details are described in documentation for the encoder available from Tamagawa.  

    Best Regards

    Lori

  • Lori,

    I am looking forward to your reply.

    Best Regards

    Johnson Alanl

  • Because  , where the red part is CF field, but why the green part is 1, where is the Tamagawa protocol specified?

    Johnson,

    The CF field consists of a START, SINC CODE, IDCODE + PARITY.  Then the line goes high (IDLE). The 1's you show in green are correspond to IDLE.

    • The IDCODE values can be found in the tformat library .h file.  These include the parity.
    • START is always 0
    • The SINK CODE is always 010
    • IDLE is 1

    Thus, the line of code is adding on an initial IDLE (1) + START (0) + Sink (010) to the front of the IDCODE and IDLE (111...) to the end.

    I think from this information you will be able to modify your Nikon CF.

    Regards

    Lori