Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsLock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1805905/#msg_1805905
If the system date/time is significantly out, trying to correct it causes the Forte to use all remaining CPU processing, ~80% on my project.
We assume it is happening because forte use systems clock instead of monotonic clock, can anyone please confirm and guide me how to set monotonic clock?
]]>Ashok Rabadiya2019-04-27T12:27:25-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806337/#msg_1806337
how do you come to the assumption, that FORTE is not using monotonic clock?
Can you provide me the location of the code, where you assue that system time is used instead of monotonic?
Best
Martin]]>Martin Melik Merkumians2019-05-07T21:18:54-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806341/#msg_1806341
Alois Zoitl2019-05-07T22:09:39-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806506/#msg_1806506
I am using 4DAIC FORTE version 1.8.4 - POSIX (Linux).
There are files in directory :FORTE\src\arch\posix\
1. pctimeha.cpp
2. pctimeha.h
AT Line number 44 of pctimeha.cpp file, there is a function "gettimeofday()" used to compare tick time, which indicates that FORTE doesn't use monotonic timer.
Please see attached file.
]]>Ashok Rabadiya2019-05-10T04:18:12-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806514/#msg_1806514
please update to the 4diac FORTE 1.8.4 is now more then 2 years old. Please update to the latest stable release 1.10.2. There not only this bug has fixed, but also several others. Furthermore 1.10.2 uses less memory and is at least 10% faster.
Cheers,
Alois]]>Alois Zoitl2019-05-10T06:12:08-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806571/#msg_1806571
I have got forte 1.10.2, but in latest forte some FBs are removed for example iec61331/ F_DINT_TO_BOOL.
Can you say why this is removed? Or is there any new equivalent?]]>Ashok Rabadiya2019-05-10T13:47:30-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806572/#msg_1806572
Ashok Rabadiya2019-05-10T13:51:56-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806573/#msg_1806573
Alois Zoitl2019-05-10T13:55:21-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806635/#msg_1806635
More question, I have designed a large and complex application with 4DAIC 1.8.4 where I have used such FBs (F_DINT_TO_BOOL) and sub-applications to make over-all design simple and readable. When I have tried to export project v1.8.4 into the new 4DAIC v1.10.2 , Sub-Applications are not appearing. Can you please help me for below questions?
1) How to import v1.8.4 project into v1.10.2 if project has sub-applications and absulated FBs?
2) Does v1.10.2 supports sub-application features? if not then is there any equivalent?
3) Should I redesign/rework my project created in v1.8.4 with new 4DAIC ?
]]>Ashok Rabadiya2019-05-13T04:06:07-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806646/#msg_1806646
Yes 1.10.2 has subapplications. The problem with importing 1.8.4 is that with 1.9.0 we did a major rework of 4diac IDE internals to better support subapplications. In 1.8.4 subapplication implementation was extremely buggy and hard to maintain. We only saw the option to reimplement subapplication support from scratch. Unfortunately I was not able to fully make this portable across the versions. Options you have is to either save the subapplications as subapp types. and us typed subapps in 1.10.2 or that you flatten all your subapps and import the resulting project into 1.10.2 and recreate there the subapps again.
For the obsolete FBs: you can easily recreate them in 4diac IDE 1.10.2 with composite FBs. This should give you a quick solution.
Regarding your finall question. This is a hard one. I don't know how big and complex your application. Reimplementing has the advantage to reevaluate design decisions (e.g., I'm a bit nervous about the use of the obsolete FBs). In the other hand if your application is very big it may take quite some time. We tried as good as we can that you can transfer your applications at least in parts to 1.10.2. It was a hard decision not beeing able to import pre 1.9.0 subapps. But in the 1.8.4 subapp model not all information is available that we need. Reimplementing that would have taken a tremendous amount of time, which would have taken scarce development resources away.
Please let us know if we can support you in your migration path. Even if it takes some effort I can only say it is worth the effort. 4diac IDE gut much more stable with the rework for 1.9.0. We have implemented many usability improvements making your development live much easier (e.g., deployment now detects existing resources and replaces them, it detects if monitoring is running and handles the situation correctly). Furthermore our official file format is now the IEC 61499-2 XML. Withthat we don't expect such a breaking change in the next 10 years.
Cheers,
Alois
]]>Alois Zoitl2019-05-13T07:14:47-00:00Re: Lock up issue with IEC 61499/Forte when running on Linux
https://www.eclipse.org/forums/index.php/mv/msg/1098651/1806657/#msg_1806657
These inputs will help me a lot.