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
on raspberrypi 4 I would like to run a program written in C by launching it from the codesys runtime project.
The compiled program launched from the terminal works correctly.
I use the command:
sudo/home/pi/Documents/c-plain/shm/shm
I add at the bottom in the file /etc/CODESYSControl.cfg and /etc/CODESYSControl_User.cfg
Hello,
on raspberrypi 4 I would like to run a program written in C by launching it from the codesys runtime project.
The compiled program launched from the terminal works correctly.
I use the command:
I add at the bottom in the file /etc/CODESYSControl.cfg and /etc/CODESYSControl_User.cfg
Then i program this code
The SysCom program is called cyclically.
When it works in runtime, setting TRUE the
xExecuteSysP
var, nothing happens, the program is not executed.
Why doesn't it work?
Last edit: elsabz 2020-08-09
try to call without sudo..
yes it works, thanks.