Results 1 to 11 of 11

Thread: Trying to connect Huvitz AutoBlocker CAB4000 with data transmission OMA protocol

  1. #1
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7

    Trying to connect Huvitz AutoBlocker CAB4000 with data transmission OMA protocol

    Hi, I'm trying to connect my tracer+edger to transmit shapes to my lens provider; I get to the point to have data received on my PC but trasmission never result in a shape, althought the app say the for is correctly received and trasnmitted, here is some sample data:

    Code:
    DO=B
    ANS=TRC
    JOB=METAL:0002869
    DATA_TYPE=19
    FTYPE=3
    P_FPD=6916
    LAYOUT=17.928;0;5.000;5.000;25.000;0;0
    P_R_CIR=146301
    P_R_3D_ANGLE=0
    P_R_FC=5684
    R_LOPT=30.200;0.000
    R_EOPT=1;0;1;0;0;1;1;1.200;0.000;0.400;0.600
    P_L_CIR=146272
    P_L_3D_ANGLE=0
    P_L_FC=5630
    L_LOPT=30.200;0.000
    L_EOPT=1;0;1;0;0;1;1;1.200;0.000;0.400;0.600
    TRCFMT=5;1440;U;R;F
    TRCFMT=5;1440;U;R;F
    CRC=26173

  2. #2
    Master OptiBoarder MakeOptics's Avatar
    Join Date
    Aug 2011
    Location
    none
    Occupation
    Other Eyecare-Related Field
    Posts
    1,327
    Quote Originally Posted by c.menghi View Post
    Hi, I'm trying to connect my tracer+edger to transmit shapes to my lens provider; I get to the point to have data received on my PC but trasmission never result in a shape, althought the app say the for is correctly received and trasnmitted, here is some sample data:

    Code:
    DO=B
    ANS=TRC
    JOB=METAL:0002869
    DATA_TYPE=19
    FTYPE=3
    P_FPD=6916
    LAYOUT=17.928;0;5.000;5.000;25.000;0;0
    P_R_CIR=146301
    P_R_3D_ANGLE=0
    P_R_FC=5684
    R_LOPT=30.200;0.000
    R_EOPT=1;0;1;0;0;1;1;1.200;0.000;0.400;0.600
    P_L_CIR=146272
    P_L_3D_ANGLE=0
    P_L_FC=5630
    L_LOPT=30.200;0.000
    L_EOPT=1;0;1;0;0;1;1;1.200;0.000;0.400;0.600
    TRCFMT=5;1440;U;R;F
    TRCFMT=5;1440;U;R;F
    CRC=26173
    DO record indicates that both lenses will be supplied and the record apply to both
    ANS record indicates it's an answer packet from the TRC tracer
    JOB record is the job number in this case they are using a colon in the job id with METAL I assume to mean a metal frame as the first data point and the 0002869 as the job number this is not conventional.

    The Standard allows for device manufacturers to create new records for additional functionality and possibly even submission for approval in the new standard by indicated the an experimental record, which should start with an "_", in the case the underscore is in the middle of the label so again this is non-conventional.

    DATA_TYPE ?
    FTYPE record indicates I am assuming this is an equivalent of FTYP notice the E is missing, this again is unconventional to add letters to the record label but I assume they mean the same, FTYP indicates the frame type a 3 means the frame is a rimless frame.
    P_FPD (unconventional) I am assuming this is the far pupillary distance which should have used the IPD record
    LAYOUT (unconventional) it looks like the layout record is combining multiple records into a compact record, could be horizontal decentration, vertical decentration, height, width, etc.


    I could go on and on, anyway the records there mostly make sense, you may need to run a separate conversion program to take the huvitz trace files an convert them to proper OMA files. I had the pleasure of doing this to the Santinelli trace files which were 99% OMA compliant with some artifacts left over from experimental records that had been approved.

    A side not the TRCFMT=5;1440;U;R;F, the 5 is reserved for future formats, as far as I know a more compact format that could possibly take the 5 format doesn't exist yet except maybe by the huvitz, then the U later indicates that the trace radii supplied is unequal meaning the 1440 trace points around the lens are not equally taken so a corresponding angle record must be there to be able to do anything with this trace.

    I am assuming the EOPT records are probably the radius data in their particular format.

    If you have more samples like a lot more I used a statistical analysis program to identify the records and correlate them to a few know records or parameters from traces which helped decipher the santinelli version.
    http://www.opticians.cc

    Creator of the industries 1st HTML5 Browser based tracer software.
    Creator of the industries 1st Mac tracer software.
    Creator of the industries 1st Linux tracer software.

  3. #3
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7
    Quote Originally Posted by MakeOptics View Post
    If you have more samples like a lot more I used a statistical analysis program to identify the records and correlate them to a few know records or parameters from traces which helped decipher the santinelli version.
    This is the full output:

    https://pastebin.com/ScdAhrJE

  4. #4
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7
    Quote Originally Posted by MakeOptics View Post
    DO record indicates that both lenses will be supplied and the record apply to both
    ANS record indicates it's an answer packet from the TRC tracer
    JOB record is the job number in this case they are using a colon in the job id with METAL I assume to mean a metal frame as the first data point and the 0002869 as the job number this is not conventional.

    The Standard allows for device manufacturers to create new records for additional functionality and possibly even submission for approval in the new standard by indicated the an experimental record, which should start with an "_", in the case the underscore is in the middle of the label so again this is non-conventional.

    DATA_TYPE ?
    FTYPE record indicates I am assuming this is an equivalent of FTYP notice the E is missing, this again is unconventional to add letters to the record label but I assume they mean the same, FTYP indicates the frame type a 3 means the frame is a rimless frame.
    P_FPD (unconventional) I am assuming this is the far pupillary distance which should have used the IPD record
    LAYOUT (unconventional) it looks like the layout record is combining multiple records into a compact record, could be horizontal decentration, vertical decentration, height, width, etc.


    I could go on and on, anyway the records there mostly make sense, you may need to run a separate conversion program to take the huvitz trace files an convert them to proper OMA files. I had the pleasure of doing this to the Santinelli trace files which were 99% OMA compliant with some artifacts left over from experimental records that had been approved.

    A side not the TRCFMT=5;1440;U;R;F, the 5 is reserved for future formats, as far as I know a more compact format that could possibly take the 5 format doesn't exist yet except maybe by the huvitz, then the U later indicates that the trace radii supplied is unequal meaning the 1440 trace points around the lens are not equally taken so a corresponding angle record must be there to be able to do anything with this trace.

    I am assuming the EOPT records are probably the radius data in their particular format.

    If you have more samples like a lot more I used a statistical analysis program to identify the records and correlate them to a few know records or parameters from traces which helped decipher the santinelli version.
    I could go on and on, anyway the records there mostly make sense, you may need to run a separate conversion program to take the huvitz trace files an convert them to proper OMA files. I had the pleasure of doing this to the Santinelli trace files which were 99% OMA compliant with some artifacts left over from experimental records that had been approved.

    Which is the program i can use to convert Huvitz trace file to Oma?

  5. #5
    Master OptiBoarder MakeOptics's Avatar
    Join Date
    Aug 2011
    Location
    none
    Occupation
    Other Eyecare-Related Field
    Posts
    1,327
    Sorry I should have been clear you need to create the program for conversion. It looks like the full paste in you posted has everything it needs and understandable as well. I'll take a better look tonight when I get home. The format definitely needs to be converted from a 5, but there's no information about what a 5 format is, it looks like a simple diff, the first radius is an absolute and the following are diffs. I'll see if I can create an image for you to take a look at and confirm the shape if it's correct then you now know how to decode and encode a huvitz format 5.

    Something you could do to make conversion easier is to then set the edger to a specific format, if I remember correctly huvitz edgers allow you to set the maximum format, for simplicity I would say set it to format 1 which will take longer to transmit but give you exact radius and angles without having to unpack the numbers.
    Last edited by MakeOptics; 07-12-2019 at 03:20 PM.
    http://www.opticians.cc

    Creator of the industries 1st HTML5 Browser based tracer software.
    Creator of the industries 1st Mac tracer software.
    Creator of the industries 1st Linux tracer software.

  6. #6
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7
    Hi Make Optics, in my Autoblocker i have the following Data Format: ASCII Absolute, Binary Absolute, Binary Differential, Packed Binary and Data Points: 1440, 1200, 1000, 800, 500. Which is the correct combination? Thank you for your help.

  7. #7
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7
    Hi, probably i have to upgrade the firmware or software of my Huvitz Autoblocker Cab 4000 because it has at about 6/7 years, but it is not sure that the machine works correctly and i can transmit in the right mode the OMA tracer files. Anyone can help me?
    Thank Yout.

  8. #8
    Master OptiBoarder MakeOptics's Avatar
    Join Date
    Aug 2011
    Location
    none
    Occupation
    Other Eyecare-Related Field
    Posts
    1,327
    Quote Originally Posted by c.menghi View Post
    Hi Make Optics, in my Autoblocker i have the following Data Format: ASCII Absolute, Binary Absolute, Binary Differential, Packed Binary and Data Points: 1440, 1200, 1000, 800, 500. Which is the correct combination? Thank you for your help.
    If you want human readable pick ASCII Absolte, Binary Absolute is also easier to work with and it transmits faster, Packed Binary require a bit more work and conversion but transmits even faster than the previous 2. If you are planing on saving and working with the data 1 or 2 are your best options. 1440 or 1200 point are best, better resolution for the shape, you can always down sample the data but trying to up sample the points require inference which I personally would rather avoid.
    http://www.opticians.cc

    Creator of the industries 1st HTML5 Browser based tracer software.
    Creator of the industries 1st Mac tracer software.
    Creator of the industries 1st Linux tracer software.

  9. #9
    OptiBoard Novice
    Join Date
    Jul 2019
    Location
    italy
    Occupation
    Lens Manufacturer
    Posts
    7
    In my tracer menu, there is not OMA Protocol but DCS Protocol; is it the same thing or not? I attach some images of my Autoblocker menu, thank you for you help.


    Gallery: https://postimg.cc/gallery/323bs3z6q/




  10. #10
    Master OptiBoarder MakeOptics's Avatar
    Join Date
    Aug 2011
    Location
    none
    Occupation
    Other Eyecare-Related Field
    Posts
    1,327
    Yes DCS stands for the OMA Data Commucations Standard.
    http://www.opticians.cc

    Creator of the industries 1st HTML5 Browser based tracer software.
    Creator of the industries 1st Mac tracer software.
    Creator of the industries 1st Linux tracer software.

  11. #11
    Objection! OptiBoard Gold Supporter shanbaum's Avatar
    Join Date
    May 2000
    Location
    Manchester, CT USA
    Occupation
    Other Optical Manufacturer or Vendor
    Posts
    2,976
    I've looked at the data and it is hopelessly non-standard. First of all, there is no "format 5" - they've obviously created their own text-based version of something like the differential format. Second, they're using some standard records (e.g., "JOB") in a nonstandard manner. They can do what they want when communicating among their own devices and software, but this variant of the standard is not going to work with anything else.

    "DCS" (Data Communication Standard) is the same as "OMA" (Optical Manufacturers Association, the name of the Vision Council when the standard was initially produced). I would expect any of the four formats (ASCII through Packed Binary) to work, depending on the receiving software, but I don't know how the device is set to do its own, very strange, variant (which you need to turn off). I'd stay as far away from that as possible.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Addicted to Mahjong Connect!
    By jsphtay in forum Arcade Talk
    Replies: 0
    Last Post: 04-17-2011, 11:05 AM
  2. Whats the protocol for this?
    By gogetter in forum General Optics and Eyecare Discussion Forum
    Replies: 44
    Last Post: 11-20-2009, 02:33 PM
  3. Mahong Connect Rules
    By 1968 in forum Arcade Talk
    Replies: 1
    Last Post: 04-27-2007, 12:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •