tades Posted March 12, 2017 at 10:22 AM Share Posted March 12, 2017 at 10:22 AM Hey, I m new in this forum and just wanted to know if someone could help me solve a little problem. I wrote a program in visual studio 2015 C++. the program is actually quite simple. it just miss the room's temperature and give it back. I also debugged it and test it from my PC and it works formidably. I wanted to upload it on the Red-Brick and let it be always scheduled so that it will always run, but after the upload it always shows me "Not running, last run exited with an error (exit code: 2) ". I already removed syntaxes like "printf("Press key to exit\n")" and "getchar()". can any one help me to solve this problem? thanks Tades Quote Link to comment Share on other sites More sharing options...
wehnerc Posted May 14, 2017 at 01:08 PM Share Posted May 14, 2017 at 01:08 PM Hi I'm not used to code in C++ for TF. But I had a similar problem. Working on PC I coded the IP-address inside the script. After transferring to RED it was not working, because the IP-adress changed. Using instead LOCALHOST inside the script solved the problem. Please check and try. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.