I tried to print an manifesto on the ABB TP. And I realize it throws an obscured error which took me a while to fugure out.
Turns out RAPID String class only holds less than 80 characters.....
https://forums.robotstudio.com/discussion/8948/why-string-length-is-limited-to-80-characters-in-rapid#:~:text=It%20is%20described%20in%20the,)%20enclosed%20by%20quotation%20marks%22.
Expected Result
I want this behavior to be documented or have an error thrown at me in a more understandable error message. Ideally throwing it back to me in code not just something viewable from RobotStudio.
Maybe the RAPID side can implement something behind the scene to deal with longer string and display it one way or another.
Actual Result
A error message quickly flashed on the TP, it is viewable from Robot Studio.
Reproduction Steps
Just try print a long text with rrc.PrintText
I tried to print an manifesto on the ABB TP. And I realize it throws an obscured error which took me a while to fugure out.
Turns out RAPID String class only holds less than 80 characters.....
https://forums.robotstudio.com/discussion/8948/why-string-length-is-limited-to-80-characters-in-rapid#:~:text=It%20is%20described%20in%20the,)%20enclosed%20by%20quotation%20marks%22.
Expected Result
I want this behavior to be documented or have an error thrown at me in a more understandable error message. Ideally throwing it back to me in code not just something viewable from RobotStudio.
Maybe the RAPID side can implement something behind the scene to deal with longer string and display it one way or another.
Actual Result
A error message quickly flashed on the TP, it is viewable from Robot Studio.
Reproduction Steps
Just try print a long text with rrc.PrintText