|
Re: Working tutorial for 4diac [message #1849929 is a reply to message #1849895] |
Tue, 08 February 2022 19:49 |
Barry Dowdeswell Messages: 49 Registered: November 2018 |
Member |
|
|
Hi Sentekin,
Yes, learning a new system like 4diac can be complex. Over the summer, I have been helping one of my students learn 4diac for a research project in my laboratory. I developed a brief tutorial for her that I have attached here. It is still a work in progress, but you may find it useful.
Our approach was based on these two assumptions:
1 - We wanted to create an example project with one, new function block and which also used an existing 4diac library block. Learning those two aspects introduces a lot of fundamental 4diac concepts.
2 - We write our algorithms in C++ rather than Structured Text. Writing the same algorithms in Structured Text should work fine since they are not complex algorithms.
So, the simple Alarm Clock function block application covers most of the 4diac features. I need to bring it up to date for the very latest release, but the basics are the same.
Note that this tutorial also details the use of CMake and we are running our development under Linux. Windows or Mac configurations for CMake are very similiar.
Hope you find this useful. I plan to keep tidying this up and make it available for Alois and his team to share via the forum.
You are welcome to contact me via this forum or directly if you need further help. My home page at AUT is here with all my contact details : https://academics.aut.ac.nz/barry.dowdeswell
Regards,
Badger
[Updated on: Wed, 09 February 2022 00:29] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03357 seconds