Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-09-12 15:35:24

kevrye
Member
Registered: 2016-06-15
Posts: 3

Difficulties with EPC block

Good Day,

Currently, I am building a small project with raspberry pi at my work.
I have tested all the blocks functioning properly as required except EPC block.
The *.py code for the email notification is working fine with python.
However, it seems that EPC block does not commence the *.py code as it is supposed to.
I have purchased the license for advanced blocks. And I double checked that the license is associated with the system.
Furthermore, I have reinstalled the whole system a couple of times, but I am still stuck with the same issue.
One thing to point out here; there are warning messages that I have never seen before. I am not sure what to make out of it.
I have attached *.mdl files and *.py of the project and a screenshot of the warning messages from system log, RexView.

Any idea or inputs?
Your help will be greatly appreciated, and many thank in advance.

ORP.mdlexport_archive_task.mdlemail_notification.pyemail_notification_task.mdlCurrent_Transformer.mdlAclarus_task.mdlAclarus_exec.mdlepc.jpg

Offline

#2 2016-09-12 16:05:43

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Difficulties with EPC block

Hi Kevin,

how did you tested out the *.py code? Which command did you use?

I didn't try your source files yet, but it seems that the command in EPC block is missing "python" prefix. It should look like the following command:

python /rex/rexcore/email_notification.py

I hope the above will solve your issue. If not, feel free to contact me.

Regards, Tomas

Offline

#3 2016-09-12 17:51:21

kevrye
Member
Registered: 2016-06-15
Posts: 3

Re: Difficulties with EPC block

That's it! Everything is working as how they should be!
Thank you so much.

Offline

#4 2016-09-13 09:37:50

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Difficulties with EPC block

You are welcome. I'm glad it's working now wink

Cheers, Tomas

Offline

Board footer

Powered by FluxBB