1. I use the set VI to learn a pattern match and set a coordinate system.
2. In the next SubVI I select an ROI for the Read OCR function. The reference of the ROI coordinate is the position of the new coordinate system.
3. The first update SubVI searches the pattern and set the coordinate system again.
4. The second function in the while loop reads the text on the right position (because I work with the new coordinate system),again.
Step 1. and 2. are the teach in for this appliation.
Step 3. and 4. are the real machine vision inspection.
I can attach my llb, if you are using the current versions of LabVIEW and Vision Development Module (7.1). You will get the current NI OCR Software automatically with Vision since version 7.1.