Hello Eman,
There a few reasons as to why your VI would produce this error. The concatenated string that is used as the 'Character Value' input to the 'IMAQ OCR Train' VI is not produced correctly, if you want to train every character that is recognized to one value. What are you trying to define as the 'second row' of training characters? In your VI, two characters are in the 'Character Value' input in every iteration of the for loop. You want to train each character recognized to one specific value.
I have attached a modified version of your VI to show how this could be done. In this case, you will have to change the 'first row of training characters' to include all the letters or numbers in the image. The 'second row of training characters' is not used at all. This is assuming that all you want to do is train all the characters, and then check if the read string matches the character values you entered.
I hope this helps!
Vivek Nath
National Instruments
Applications Engineer
Machine Vision