Jump to content

Recommended Posts

Geschrieben

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

  • 2 months later...
Geschrieben

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...