Jump to content

executeCode issue


---
 Share

Recommended Posts

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. 

image.thumb.png.05b51fa24241afabae05f5afe595c978.png

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
Share on other sites

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
Share on other sites

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. ❤️ 

  • Like! 1
Link to comment
Share on other sites

 Share

×
×
  • Create New...