[Ri...] Posted July 23 Share Posted July 23 I'm running into a weird error using executeCode. The great Eric Moberg wrote this snippet of code for me, and I have used it for years with no issues. Recently I have one measurement plan that it just doesn't work on. I get the following error. The code is loaded in, and ran via runPCMFile(preSettings), so this code lives inside of a txt file that is read by every measurement plan. Like I said, no other measurement plan is having issue with this, but apparently this measurement plan is. I just don't know what would cause it. Any thoughts? Link to comment https://qualityforum.zeiss.com/topic/27075-executecode-issue/ Share on other sites More sharing options...
[Ma...] Posted July 23 Share Posted July 23 It can be a problem inside of those A1-9 variables. It complains about missing dot "." or right bracket ")" 1 Link to comment https://qualityforum.zeiss.com/topic/27075-executecode-issue/#findComment-153333 Share on other sites More sharing options...
[Ri...] Posted July 23 Author Share Posted July 23 Please sign in to view this quote. I understand, but the problem I'm having is that the exact code runs on one program, and not another. I have a preSetting.txt file that every program reaches out and reads, so I'm struggling to understand how randomly one measurement plan doesn't work. Link to comment https://qualityforum.zeiss.com/topic/27075-executecode-issue/#findComment-153347 Share on other sites More sharing options...
[Ma...] Posted July 23 Share Posted July 23 Without code i can not help more. Perhaps there is something set in program and others not. 1 1 Link to comment https://qualityforum.zeiss.com/topic/27075-executecode-issue/#findComment-153349 Share on other sites More sharing options...
[Ri...] Posted July 24 Author Share Posted July 24 Please sign in to view this username. is my hero. I had a special character in the directory name, so it was breaking the code. What a silly and embarrassing mistake. ❤️ 3 1 Link to comment https://qualityforum.zeiss.com/topic/27075-executecode-issue/#findComment-153403 Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in