You are not logged in.
Pages: 1
Topic closed
While messing around with some autostart possibilities on Linux (Supervisor, /etc/init.d , PM2, etc...) I managed to screw up the autostart from REXcontrols. If I reboot my Raspberry Pi then I have to manually restart the REXcore again.
Is there a quick fix for this?
Offline
Hi scoobsalamander,
please, try following command and send me the response:
systemctl status rexcore.service
My response:
● rexcore.service - REX Realtime Core (RexCore)
Loaded: loaded (/lib/systemd/system/rexcore.service; enabled)
Active: active (running) since Tue 2016-11-29 09:56:17 UTC; 3 weeks 0 days ago
Main PID: 571 (RexCore)
CGroup: /system.slice/rexcore.service
└─571 /usr/bin/RexCore -l -c /rex/rexcore/rexcore.cfg
Try to run the command after reboot and after manual rexcore restart for comparison.
Cheers, Tomas
Offline
pi@REXpi:~ $ systemctl status rexcore.service
● rexcore.service - REX Realtime Core (RexCore)
Loaded: loaded (/lib/systemd/system/rexcore.service; enabled)
Active: active (running) since Tue 2016-12-20 11:33:25 UTC; 4min 16s ago
Main PID: 770 (RexCore)
CGroup: /system.slice/rexcore.service
└─770 /usr/bin/RexCore -l -c /rex/rexcore/rexcore.cfg
pi@REXpi:~ $
....bizar. It seems that everything is running fine.
I believe I have to revise my question.....
The problem is that after a reboot there seems to be no running project anymore. When I connect/watch in REXdraw the windows are grey colored as usual but I cannot see any values only question marks. Conneting with REXview seems to be possible but their is not project to be seen.....
After a new compile/download everything is fine.
Offline
....OK...think I found it.
This box should be ticked, correct...? Don't know why it was unticked...but it seems that after a reboot I have a running project again.
(I never paid any attention to this box....until now.. :-) )
Offline
Hi Scoobsalamander,
you are right. By default it is unticked because in the demo version it is not allowed to store the algorithm in the target device. You can only download it to RAM memory and run it for 2-hours. And it's also good for the lifetime of your SD card...
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Pages: 1
Topic closed