07-23-2013 11:37 AM
Running LV2010 on W7. I have a vi that uses the easy text report to print text to the default printer. When it runs, it gives an "undefined" error code, 0x80020009. This vi was copied directly from another vi that is in the same project that prints different data. The original works fine, but this one gives the error. I have looked at the data and it seems that both have the same data format, although the non-working one has less data. Not really sure where to go with this. I have deleted the easy text report and pulled a new one from the functions palette, but that didn't work. Any idea's? Thanks.
07-23-2013 11:41 AM
Can u show some code? It's impossible to debug words :[
07-23-2013 11:51 AM
See attached. There is some default data in the data input terminal.
07-23-2013 11:55 AM
I replaced the text to print with just some plain text and the print worked... so the problem seems to be in the text that I'm generating.
07-23-2013 12:00 PM
Is there a limit to the length of the text? I'm showing 983063 characters in length.
07-23-2013 12:09 PM
It appears to be a string length issue. I've shortened it by artificially limiting how many times the for loop iterates, and it works. The string can be greater than 65535 characters, but how much bigger, I don't know.
09-16-2013 06:02 PM
This error is also created when renaming a tab in EXCEL if the name attempted is greater than 31 charactors.