I'm trying to use the raspberry pi Multicore, but it does not let me create tasks on different core.
It says I don't have the license.
What I did :
- Task Configuration -> Add group = NewGroup on Core 1
- Task Configuration -> add task to NewGroup
I need the functionnality because I need to send email with a python script but the script takes 650ms and I don't want to block the rest of the program. Also, I'm not using the Mail functionnality of the IIoT library because it does not let me choose the TLS type, therefore it doesn't work with our servers.
Is the Raspberry pi MC SL made for that purpose? If not, how does it work?
So I was wondering what that meant.
Does it mean that If I try to read a 32-bit variable on a core at the same time it is written on another core, the consistency of the information will be kept? (like a mutex?) and only if I try to access the BIT of the variable, it will not be consistent?
is there a way to do mutex on shared variable between cores?
Thank you.
Last edit: snguyen 2020-08-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to use the raspberry pi Multicore, but it does not let me create tasks on different core.
It says I don't have the license.
What I did :
- Task Configuration -> Add group = NewGroup on Core 1
- Task Configuration -> add task to NewGroup
I need the functionnality because I need to send email with a python script but the script takes 650ms and I don't want to block the rest of the program. Also, I'm not using the Mail functionnality of the IIoT library because it does not let me choose the TLS type, therefore it doesn't work with our servers.
Is the Raspberry pi MC SL made for that purpose? If not, how does it work?
more posts ...
Hi,
which version is it,
Check by plcshell command If it is available...
BR
Edwin
Hi, I have a subsequent question on multicore.
In the manual, it is stated :
So I was wondering what that meant.
Does it mean that If I try to read a 32-bit variable on a core at the same time it is written on another core, the consistency of the information will be kept? (like a mutex?) and only if I try to access the BIT of the variable, it will not be consistent?
is there a way to do mutex on shared variable between cores?
Thank you.
Last edit: snguyen 2020-08-06
It is 3.5.15.40
MultiCore Info:
-- MultiCore support: [activated], all cores are used
-- Number of cores: 4
I've updated to 3.5.16.10 and it works.