Hello everyone,
I'm currently working on a large project that involves calling several programs from a main program. In this main program, I use CALL SR[3], where SR[3] is a string "TEST_1".
The TEST_1 program works perfectly when run independently. However, when I try to call it from the main program, it fails. I've triple-checked the SR[3] reference, but Roboguide isn't providing any clues about the issue. The log simply shows a "call program failed" message, and the execution stops there.
Has anyone encountered a similar problem or have any suggestions on what might be causing this issue?
Thanks in advance for your help!
QuoteSolution Found:
After thorough investigation and multiple attempts to resolve the issue, it has been determined that the problem was related to case sensitivity with String Registers. Even though the name of the program to call and the string register matched, the string register needed to be in all caps. It appears that every program is automatically "renamed" to an all-caps version of itself. Therefore, ensuring that the string register is in all caps resolves the issue.
Solved - the only issue was case sensitivity with String Registers.