Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
i`ve a problem with an xrdp connection to my raspberry Codesys System.
I do an download to the Codesys Control with an xrdp serverbut after i Disconnect the Raspberry I cant
reach the Codesys System animore.
I can reach the Raspberry with a Remote Desktop control but not with Codesys.
Does anyone know this problem or has anyone the same problem
Greetings
Torsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
are you using current Version?
Runtime 3.5.6.20?
1.use 'top' via ssh Connection (putty) to check if the runtime is started.
2. try do delete your bootapplication on the target via ssh (putty)
How:
sudo -s
cd /root/
rm Application.*
reboot the Pi then check if you see it again by scanning it in CODESYS:
BR
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have the same problem. After download, RPi is out of reach for codesys development - scanning can't find my RPi.
I tried and deleted Application files as described. Did not help.
I did some stopping and starting service. ```
sudo /etc/init.d/codesyscontrol start
I see codesyscontrol takes 100% of CPU and after a minute or so service disapears (is obviously shut down). Then I also used
sudo /etc/init.d/codesyscontrol stop
```
I have purchased a licence and installed it (few weeks ago). I have a backup of licence in my computer.
1) Attached is a log file.
In start I see message it is running in demo mode!
this is not a license problem,
seems that your applciation I2C_Test_grega lead to a Crash.
You could remove it by deleting in /root/ the file with the extention *.app
Then restart the runtime, it will not crash again.
Then you need to solve the problem in the application (uncommend parts step by step till it does not crash again to figure out where the Problem is)
For the restore of the license (which is not needed in that case, i'm almost sure - this demo message in the log is standard then it switch after a Minute to licensed) you find the restore directory under /root/restore.
See my screenshot in case of a running pi you could use the CODESYS Filebrowser.
BR
EDwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey there,
i`ve a problem with an xrdp connection to my raspberry Codesys System.
I do an download to the Codesys Control with an xrdp serverbut after i Disconnect the Raspberry I cant
reach the Codesys System animore.
I can reach the Raspberry with a Remote Desktop control but not with Codesys.
Does anyone know this problem or has anyone the same problem
Greetings
Torsten
Hi Thorsten,
are you using current Version?
Runtime 3.5.6.20?
1.use 'top' via ssh Connection (putty) to check if the runtime is started.
2. try do delete your bootapplication on the target via ssh (putty)
How:
sudo -s
cd /root/
rm Application.*
reboot the Pi then check if you see it again by scanning it in CODESYS:
BR
Edwin
Hi,
I have the same problem. After download, RPi is out of reach for codesys development - scanning can't find my RPi.
I tried and deleted Application files as described. Did not help.
I did some stopping and starting service. ```
sudo /etc/init.d/codesyscontrol start
I see codesyscontrol takes 100% of CPU and after a minute or so service disapears (is obviously shut down). Then I also used
sudo /etc/init.d/codesyscontrol stop
```
I have purchased a licence and installed it (few weeks ago). I have a backup of licence in my computer.
1) Attached is a log file.
In start I see message it is running in demo mode!
Then I see
at the end of file hundrets of messages:
2) Where is the location of restore folder to put in my backed-up licence file with winSCP?
BR, Gregor
logfile rpi.TXT [23.1 KiB]
Hi Gregor,
this is not a license problem,
seems that your applciation I2C_Test_grega lead to a Crash.
You could remove it by deleting in /root/ the file with the extention *.app
Then restart the runtime, it will not crash again.
Then you need to solve the problem in the application (uncommend parts step by step till it does not crash again to figure out where the Problem is)
For the restore of the license (which is not needed in that case, i'm almost sure - this demo message in the log is standard then it switch after a Minute to licensed) you find the restore directory under /root/restore.
See my screenshot in case of a running pi you could use the CODESYS Filebrowser.
BR
EDwin
Hi Edwin,
deleting .app helped.
It looks there was a problem because I enabled Watchdog (set as two times cyclic timer). in two tasks...
Thank you.
Gregor
Dear Edwin
"1.use 'top' via ssh Connection (putty) to check if the runtime is started."
Please could you give some sample how we see runtime status.
In a way you explain not expertize person
Thank you in advance
Hi,
which Version are you on?
You could use Update Raspberry Pi command to check. ( See screenshot -> Systeminfo)
If it is running use the IP address of the pi and add gateway and use his to scan the Pi
https://faq.codesys.com/display/CDSFAQ/Raspberry+-+FAQ
BR
Edwin