Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compas_rrc.PrintText moer than 80 characters will cause a error on ABB controller #16

Open
yck011522 opened this issue Apr 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@yck011522
Copy link

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

@gonzalocasas gonzalocasas added the bug Something isn't working label Apr 1, 2021
@gonzalocasas
Copy link
Contributor

ACK

Sanitizing input on instructions is on the pipeline already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants