News & Events

Compare Readers Log

Issue

I want to compare reader to reader and make my own report

Or

I want to read a code from a preprinted product with a camera, compare down the line mith a magnetic encoder, and produce a file containing the code linked to the record in the data file.

 

Setup

 

You need any file as file. You can also make a file yourself by going into the Jokus numerator (Button [J] in fileview) and create a dummy file of 1 million records.

Declare the reader mode as logg. Set the number of digits you expect (here 9).

 

 

Below, you see that the 1st code is compared to “Reader key 1”, that is what the first reader logged.

 

 

In the File Logger, declare like with another regular inkjet, the fields you want to get printed. In below case, they are going to be logged in C:\temp\FileName GBR.txt. Notice that you have to enter the path, here c:\temp. For a computer in the network \\ComputerName\c\temp (of course the network cannot be overloaded otherwise you better log locally !!!)

Notice that you can enter the splitting size which must be 0 (no split), 1’000, 10’000, 50’000, or 100’000. Also, if you wanted only the bad products, enter just B. If you wanted only the good products, enter G alone.

If you wanted a file for good products and another file for bad products, you would have to declare 2 file-loggers.

To control on-line what is being logged, simply check the trace function and you will see in the RTX console every record that is being logged as it happens.

 

 

If you had the split set to 1’000, the directory to c:/logger, GBR to GR (only good and reorders, no bad ones) and the file name was big bundle size, you will find the following files (first is the gile name then GBR, then split) as you produce:

 

 

Header

 

If you want to add a header with your own definition, place your text in d:/header.txt. Every time a log file is created anew, your header will read from that file. Make sure it has a carriage return line feed at the end.