Skip to Main Content
コグネックスサポートハブ
LogoLogo

How to Read Pharmacode of More Than 3 Characters in Length

Workaround for the character limitation of Pharmacode decoding in In-Sight

2024/09/15

Details

  1. Run the In-Sight Explorer in Spreadsheet Mode
  2. Add the ReadIDMax Function on an empty cell (for example B6) A screenshot of a computerDescription automatically generated

    Placeholder
  3. Configure it to read the Pharmacode (Symbol group> 1D/Stacked), enable the Training Checkbox and make sure to locate the region on the Pharmacode so that the origin is on the top-left corner 

    Placeholder
  4. Add the SetSymbolMinStringLength function to another empty Spreadsheet cell, it has 3 arguments: the first is the IDMax cell reference, the number corresponding to the Pharmacode type -255-, the length – 2 in this case -  
    (for example B8 = SetSymbolMinStringLength(B6,255,2)) 

    Placeholder
  5. Now the Pharmacode Read String is returned to the ReadIDMax cell getter (D6 = 77)

    Placeholder

関連リソース