pid Calculations
Moderator: Benj
pid Calculations
Dear,
I have tried to implement an PID alogrithm, in the attached Flow..
Somewhere it is not correct but i cant find it...
Somebody how have an idea to help me in the good direction..
Thx.
I have tried to implement an PID alogrithm, in the attached Flow..
Somewhere it is not correct but i cant find it...
Somebody how have an idea to help me in the good direction..
Thx.
-
- Posts: 594
- Joined: Thu Sep 17, 2009 7:52 am
- Location: Belgium
- Has thanked: 63 times
- Been thanked: 102 times
- Contact:
Re: pid Calculations
You could take a look at this article made by Ben : http://www.matrixmultimedia.com/article.php?a=56
Hope this helps.
Hope this helps.
Re: pid Calculations
Thx. for Reply.
I tried the examples but the will not import in my AVR Flow V4..
I says i ned an program that is not installed on my computer, could not find out what it is so not lucky for me to look at it..
May be someone can post the Flow with the Calculations so i may put it in AVR flow Code..
Else can someone look to my post and see what i did wrong..
Thx
I tried the examples but the will not import in my AVR Flow V4..
I says i ned an program that is not installed on my computer, could not find out what it is so not lucky for me to look at it..
May be someone can post the Flow with the Calculations so i may put it in AVR flow Code..
Else can someone look to my post and see what i did wrong..
Thx
- Steve
- Matrix Staff
- Posts: 3422
- Joined: Tue Jan 03, 2006 3:59 pm
- Has thanked: 114 times
- Been thanked: 422 times
- Contact:
Re: pid Calculations
What version of Flowcode for AVR are you using and where did you get it from? These examples import fine to my version.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: pid Calculations
Hi cvanhal,
Did you try to import by 1st running Flowcode, then use File/import.. menu?
Note: you will need to select type of file or select all files in the new open window.
If you have one type of Flowcode e.g Flowcode for AVRs, and you want to load a different type of flowchart e.g Flowcode for PIC, then only way to load it is via File/import.. method.
Did you try to import by 1st running Flowcode, then use File/import.. menu?
Note: you will need to select type of file or select all files in the new open window.
This suggests you tried to load the Flowchart that is meant for a different Flowcode version by double clicking on the file.cvanhal wrote: I says i ned an program that is not installed on my computer, could not find out what it is so not lucky for me to look at it..
If you have one type of Flowcode e.g Flowcode for AVRs, and you want to load a different type of flowchart e.g Flowcode for PIC, then only way to load it is via File/import.. method.
Martin
Re: pid Calculations
I have V 4.6.61
Flowcodefor AVR.. I did with Import option sootherPIC files will load..
this is protesting anyway..
Thx
Flowcodefor AVR.. I did with Import option sootherPIC files will load..
this is protesting anyway..
Thx
Re: pid Calculations
I Impoted the files here the fault enouncenets the flow code gives..
greetings.
greetings.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: pid Calculations
Hello,
First of all you must make sure you are importing the file. Eg File -> Import and not File -> Open.
I have not been able to replicate the problem you are describing here but I have found a reason why the simulation of the PID example is crashing Flowcode.
Basically the gLCD component resource file is slightly older then the PIC version and this is causing the crash. I have attached an updated set of AVR gLCD component files which can be copied into the Flowcode AVR V4/Components directory before starting Flowcode. Hopefully this should fix your problem.
First of all you must make sure you are importing the file. Eg File -> Import and not File -> Open.
I have not been able to replicate the problem you are describing here but I have found a reason why the simulation of the PID example is crashing Flowcode.
Basically the gLCD component resource file is slightly older then the PIC version and this is causing the crash. I have attached an updated set of AVR gLCD component files which can be copied into the Flowcode AVR V4/Components directory before starting Flowcode. Hopefully this should fix your problem.
- Attachments
-
- gLCD.zip
- (55.88 KiB) Downloaded 383 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: pid Calculations
Ben,
what i did was as follow.
Unziped your files and replaced them in Flowcode, to make sure it is well don i got the mesage that the files allready exist and i had to replace them..
when i did this and checked the creation date and that was to day so the files are replaced correctly..
unfotunatly the problem still exist see here is the fault report..
I have no idea what could be the problem..
Iam sorry but can you guys not post an AVR file that is saved in FLOW V4 AVR???... to see if i can open that file without problems..
Thx..
what i did was as follow.
Unziped your files and replaced them in Flowcode, to make sure it is well don i got the mesage that the files allready exist and i had to replace them..
when i did this and checked the creation date and that was to day so the files are replaced correctly..
unfotunatly the problem still exist see here is the fault report..
I have no idea what could be the problem..
Iam sorry but can you guys not post an AVR file that is saved in FLOW V4 AVR???... to see if i can open that file without problems..
Thx..
Last edited by cvanhal on Mon Apr 18, 2011 12:39 pm, edited 1 time in total.
Re: pid Calculations
i use windows 7 have no other OS available as maybe that caus the isue??..
Thx all to try and solve this issue
Thx all to try and solve this issue
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: pid Calculations
Hello,
The source of the import problem has now been found and resolved. The AVR versions of the files are now available from here.
http://www.matrixmultimedia.com/mmforum ... 278#p24087
The source of the import problem has now been found and resolved. The AVR versions of the files are now available from here.
http://www.matrixmultimedia.com/mmforum ... 278#p24087
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel