1. Home
  2. Labeling Software
  3. CODESOFT
  4. CODESOFT Instructions
  5. Create Serial Numbers with the Counter Feature – CODESOFT Reference

Create Serial Numbers with the Counter Feature – CODESOFT Reference

Bookmark(0)

Audience: Advanced User, IT Manager
Article #: 12846

Summary

One option of serializing product labels in CODESOFT is to use the Counter data source feature. There are two methods to create serial numbers with the Counter feature:

  • Single Sequencing – The Counter data source allows the label design to provide and maintain only one sequence using fixed values.
  • Multiple Sequencing – Beginning with CODESOFT v2018, the label designer can insert variables into the Counter. This allows the designer to store and retrieve data for multiple sequences into and out of a database.

Information

Single Sequencing Serialization

Each label design file can issue and track one sequence at a time. There are two possible scenarios:

  • Single product receives sequential serial numbers such as 001, 002, 003, etc.
  • Multiple product receive sequential serial numbers in order of entry, regardless of which product is entered.
    For example;
    • PRODUCT A is serialized 001, 002, 003,
    PRODUCT B gets serial numbers 004, 005, 006
    • And the next batch of PRODUCT A receives serial numbers 007, 008 and 009.

If LABEL ARCHIVE or TEKLYNX CENTRAL are not being used, this single sequence is stored in the label design file itself. It can also be stored in a shared Global Variable file within CODESOFT.

Global Variables are set in Shared data sources management within CODESOFT.

Multiple Sequencing Serialization

Beginning with CODESOFT v2018, CODESOFT added the ability for a single design file to issue and track more than one sequence at a time. To do this, it must use a database and Visual Basic Script (VBScript) to keep the multiple sequences running. As a result, the label design file maintains each sequence for different products.

Example in order of production:

  • PRODUCT A gets serial numbers 001, 002, 003.
  • PRODUCT B receives serial numbers 101, 102, 103
  • The next batch of PRODUCT A gets serial numbers 004, 005, 006; and
  • The next group of PRODUCT B gets numbers 104, 105 and 106.
An example of a VBScript for storing serial numbers from the Counter feature.

Additional Comments

Tested with CODESOFT 2021

If you need further assistance, please contact us.

Updated on July 3, 2022

Was this article helpful?

Related Articles

Need Help?
Click the link below to submit a support ticket
Submit Ticket