Flowcode Release Candidate 6.0.6
Moderator: Benj
- 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:
Flowcode Release Candidate 6.0.6
Hello,
After months of work we are releasing a new release candidate of Flowcode v6 entitled 6.0.6.
This update addresses a wide selection of bugs reported on the forums, as well as a concerted effort to clean up and tidy up the Flowcode 6 interface as requested by our users. This release should pave the way for the upcoming 6.1 release and allow us to be a lot more sure of all the new features and make sure we are all heading in the right direction. This release also supports the new EB006 hardware with ICD as well as ICT mode for the new v9 board.
You can download the latest release from here: http://www.matrixmultimedia.com/resourc ... php?id=747
I would recommend that if you are currently doing any commercial or time critical work using v6 then maybe hold off until we have established if the release is stable. If things go smoothly then this 6.0.6 release will be added to the official update path so things like the "Help -> Check for updates" menu will work correctly.
Any problems with the 6.0.6 version then let us know and we will do our best to get the problem sorted as soon as possible.
After months of work we are releasing a new release candidate of Flowcode v6 entitled 6.0.6.
This update addresses a wide selection of bugs reported on the forums, as well as a concerted effort to clean up and tidy up the Flowcode 6 interface as requested by our users. This release should pave the way for the upcoming 6.1 release and allow us to be a lot more sure of all the new features and make sure we are all heading in the right direction. This release also supports the new EB006 hardware with ICD as well as ICT mode for the new v9 board.
You can download the latest release from here: http://www.matrixmultimedia.com/resourc ... php?id=747
I would recommend that if you are currently doing any commercial or time critical work using v6 then maybe hold off until we have established if the release is stable. If things go smoothly then this 6.0.6 release will be added to the official update path so things like the "Help -> Check for updates" menu will work correctly.
Any problems with the 6.0.6 version then let us know and we will do our best to get the problem sorted as soon as possible.
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
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: Flowcode Release Candidate 6.0.6
Hi Benj
1) Installed over 6.0.4 on laptop(Win7 X64) all ok.
Program seems to run all ok
2) Installed over 6.1 beta release (Desktop WIn7 x64) and this caused problems (Though I did expect this just wanted to see what happened)
Firstly there was no flowcode exe file in the folder, though everything else looked to be there
Tried reboot, still same.
Re-Ran the installer and selected repair, system repaired.
Rebooted
The exe file is now there but when I ran flowcode
Open / New Project
Error message = Attempted an unsupported operation.
Uninstalled flowcode, cleaned the registry.
Reloaded 6.0.6
Runs ok now
Had to reactivate on both PC's
Hope this is helpful
1) Installed over 6.0.4 on laptop(Win7 X64) all ok.
Program seems to run all ok
2) Installed over 6.1 beta release (Desktop WIn7 x64) and this caused problems (Though I did expect this just wanted to see what happened)
Firstly there was no flowcode exe file in the folder, though everything else looked to be there
Tried reboot, still same.
Re-Ran the installer and selected repair, system repaired.
Rebooted
The exe file is now there but when I ran flowcode
Open / New Project
Error message = Attempted an unsupported operation.
Uninstalled flowcode, cleaned the registry.
Reloaded 6.0.6
Runs ok now
Had to reactivate on both PC's
Hope this is helpful
1 in 10 people understand binary, the other one doesn't !
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
PWM
I believe PWM is commonly used, yet its hidden away in Misc which is not shown by default.
If adding PWM you get: Which i'm sorry but its not as good.
It only shows a rough duty cycle. What about if you have to change period, where is the frequency shown?
We should not have gone away from showing valuable information during a simulation.
Notice the simulation Representation defaults to Analogue
Although the Icon is better if loading a flowchart that was created with an earlier version: Also the prescaler is not correctly imported for a V5 flowchart.
Martin.
If adding PWM you get: Which i'm sorry but its not as good.
It only shows a rough duty cycle. What about if you have to change period, where is the frequency shown?
We should not have gone away from showing valuable information during a simulation.
Notice the simulation Representation defaults to Analogue
Although the Icon is better if loading a flowchart that was created with an earlier version: Also the prescaler is not correctly imported for a V5 flowchart.
Martin.
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Bug Miac analogue simulation.
Miac Analogue bug still present reported here:
http://www.matrixmultimedia.com/mmforum ... 14&#p55420
http://www.matrixmultimedia.com/mmforum ... 14&#p55420
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Flowcode Release Candidate 6.0.6
File ascociation reported here:
http://www.matrixmultimedia.com/mmforum ... 14&#p55415
sill not working.
After clicking on a V6 flowchart you get:
http://www.matrixmultimedia.com/mmforum ... 14&#p55415
sill not working.
After clicking on a V6 flowchart you get:
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Flowcode Release Candidate 6.0.6
Still unable to compile if using timer1 with 16(L)F1937
Code: Select all
Device: PIC.16F.16F1937
Generated by: Flowcode v6.0.6.0
Date: Monday, March 24, 2014 21:26:05
Users: 1
Registered to: Martin xxxxx
Licence key: GCYPWG
NOT FOR COMMERCIAL USE
http://www.matrixltd.com
Launching the compiler...
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_16F.exe -v -t PIC16F1937 "Timer1 test1_v606.c"
Launching BoostC...
BoostC Optimizing C Compiler Version 7.20 (for PIC16 architecture)
http://www.sourceboost.com
Copyright(C) 2004-2013 Pavel Baranov
Copyright(C) 2004-2013 David Hobday
Licensed to FlowCode User under Single user Pro License for 1 node(s)
Limitations: PIC12,PIC16 max code size:Unlimited, max RAM banks:Unlimited
Timer1 test1_v606.c
Starting preprocessor: "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\pp.exe" "Timer1 test1_v606.c" -i "C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\include" -d _PIC16F1937 -la -c2 -o "Timer1 test1_v606.pp" -v -d _BOOSTC -d _PIC16 -d _PIC16x -d _CHAR_INDEX
???(161): Unterminated conditional
1 errors detected
Error: preprocessing error
failure
.
Completed BoostC compilation, return = 1
C:\Program Files (x86)\Flowcode 6\compilers\pic\boostc\boostc_16F.exe reported error code 1
- Attachments
-
- Timer1 test1_v606.fcfx
- (4.3 KiB) Downloaded 382 times
Martin
- 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: Flowcode Release Candidate 6.0.6
Hello,
Thanks for reporting your findings, I've added them all to the list and I'll work through them as quickly as possible.
Thanks for reporting your findings, I've added them all to the list and I'll work through them as quickly as possible.
Fixed in this attachment.Still unable to compile if using timer1 with 16(L)F1937
I found a problem with display clear where it was not resetting the cursor back to 0,0 but other than that it seems to be working ok. Remember on the MIAC that the ADC numbering goes from 1 rather than 0.Miac Analogue bug still present reported here:
I don't really have a say in where components are placed any more, certainly I have not been asked about this, I will see if we can get it back on one of the lists.I believe PWM is commonly used, yet its hidden away in Misc which is not shown by default.
I have now changed it back so the default view is the digital view with the extra debug info.Notice the simulation Representation defaults to Analogue
The prescaler in v5 was a botch as best, in v6 we poll the FCD file and pull through the actual prescaler options relevant for the target device. I will have a go at fixing this but might be a bit messy.Also the prescaler is not correctly imported for a V5 flowchart.
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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Flowcode Release Candidate 6.0.6
Sorry Ben,Benj wrote:I found a problem with display clear where it was not resetting the cursor back to 0,0 but other than that it seems to be working ok. Remember on the MIAC that the ADC numbering goes from 1 rather than 0.
I'm a bit confused.
Looking at my post above with the miac screenshot you can see that both An0 and An1 are on 1023.
Yet An0 instead of showing 1023 (or the maximum it does on real hardware) its showing 0 on LCD.
An1 is showing 1024. Now reducing An0 by 1: Surly they both should be showing the maximum value (or same as hardware) since both analogue sliders are in the same position at the very end?
Not sure how both relate to:
When An0 is adjusted then macro for I1 is accessed, varying the value of ADC hence altering ADC Ch1 on the LCDBenj wrote: Remember on the MIAC that the ADC numbering goes from 1 rather than 0.
When An1 is adjusted then macro for I2 is accessed, varying the value of ADC altering ADC Ch2 on the LCD
When An2 is adjusted then macro for I2 is accessed, Both values on the LCD remain the same.
The only difference between An0 and An1 on my flowchart is An0 is ReadAsByte and An1 is ReadAsInt
Is the Miac LCD going to be updated so 16 and 21 bit variables can be displayed?
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Flowcode Release Candidate 6.0.6
Yes it's the changes.txt in:Mathy wrote:Is there a changelog somewhere ?
64 bit windows:
C:\Program Files (x86)\Flowcode 6\Logs
32 bit windows:
C:\Program Files\Flowcode 6\Logs
Martin
Martin
- 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: Flowcode Release Candidate 6.0.6
Aha hadn't spotted that! I can't seem to replicate the problem where the number returned is 0 when the ADC channel shows 1023 but the LCD showing 1024 is certainly incorrect. I have found the cause of the problem and it's essentially down to a bug in the simulation api call "Connection.GetAn". I have submitted a detailed bug report so hopefully we can get this fixed soon.An1 is showing 1024.
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
- 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: Flowcode Release Candidate 6.0.6
Good thinking, Here is an updated MIAC component with the additional print number macro.Is the Miac LCD going to be updated so 16 and 32 bit variables can be displayed?
- Attachments
-
- miac.fcpx
- (75.9 KiB) Downloaded 298 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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Re: Flowcode Release Candidate 6.0.6
Hi Ben,
Oops where did the 21 come from.
I did mean 32 or signed & unsigned
Since the result = ADC slider + 1 from various spots like byte 127, 50% & raw 511 etc.
Then with slider at the far right, if variable used is a byte then 255+1 = 0
If variable used is an integer then 1023+1 = 1024
Which is what I have got on Miac LCD display in the simulator.
Martin
medelec35 wrote:Is the Miac LCD going to be updated so 16 and 21 bit variables can be displayed?


I did mean 32 or signed & unsigned

Does not go to 0 if use an integer variable.Benj wrote:I can't seem to replicate the problem where the number returned is 0 when the ADC channel shows 1023
Since the result = ADC slider + 1 from various spots like byte 127, 50% & raw 511 etc.
Then with slider at the far right, if variable used is a byte then 255+1 = 0
If variable used is an integer then 1023+1 = 1024
Which is what I have got on Miac LCD display in the simulator.
Martin
Martin
Re: Flowcode Release Candidate 6.0.6
Thanks to the MATRIX Team!
=========================
You hard at work 24/7 !
Just in Time i download the Candidate, i will test it too for my founds
Best wishes from Germany
Rudi
^
1) Edit: March 27th-14
I have tested in RS232 and First Time a little "Cosmetic" playing with me..
If i add a RS232 Compo the Scope will show automatic .
If i close the Scope or deactivate in View or make it Auto Hide and then make Change in Properties example Baudrate,
the Scope again allways popup...
2) Edit: March 27th-14
Is this possible...RS232 Receive no "0 Byte" in this 6.0.6 again?
I have test with RS232 ReceiveString, the 0x00 will not receive in RS232 as Byte.
=========================
You hard at work 24/7 !
Just in Time i download the Candidate, i will test it too for my founds
Best wishes from Germany

Rudi

1) Edit: March 27th-14
I have tested in RS232 and First Time a little "Cosmetic" playing with me..
If i add a RS232 Compo the Scope will show automatic .
If i close the Scope or deactivate in View or make it Auto Hide and then make Change in Properties example Baudrate,
the Scope again allways popup...
2) Edit: March 27th-14
Is this possible...RS232 Receive no "0 Byte" in this 6.0.6 again?
I have test with RS232 ReceiveString, the 0x00 will not receive in RS232 as Byte.
Last edited by Rudi on Thu Mar 27, 2014 3:31 am, edited 4 times in total.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Bug when importing V5 with a reserved word.
If you have a flowchart created with V5 and use a reserved word for a variable e.g string.
Then when loaded with V6 you do get a warning about reserved word, but when you rename the reserved word, the variable name within macros are not updated with the new name.
E.g rename string to string2 within project manager. none other variables called string was renamed to string2
Also if more than one reserved word for a variable, then only one will be flagged. the other errors will not pop up with a warning .
You will just get syntax errors when running simulation and no reason behind them.
If a call macro has a reserved name the there will only be a syntax warning. No clues for failure given.
Then when loaded with V6 you do get a warning about reserved word, but when you rename the reserved word, the variable name within macros are not updated with the new name.
E.g rename string to string2 within project manager. none other variables called string was renamed to string2
Also if more than one reserved word for a variable, then only one will be flagged. the other errors will not pop up with a warning .
You will just get syntax errors when running simulation and no reason behind them.
If a call macro has a reserved name the there will only be a syntax warning. No clues for failure given.
Martin
-
- Valued Contributor
- Posts: 2045
- Joined: Wed Aug 27, 2008 10:31 pm
- Location: Netherlands
- Has thanked: 553 times
- Been thanked: 1081 times
Re: Flowcode Release Candidate 6.0.6
Port settings on Input/Output icons for 16 bit PIC devices are still not saved/reloaded correctly. Even worse, selecting them first time results in weird values. When selecting PORTB_H, bit 4
When re-opening the input icon the single bit selection box is reset to 0.
At least in 6.0.4 this worked when not trying to save/reload a flow chart...
the input icons shows B20.When re-opening the input icon the single bit selection box is reset to 0.
At least in 6.0.4 this worked when not trying to save/reload a flow chart...
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- 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: Flowcode Release Candidate 6.0.6
Hmm seems to be related only to the input icon, I will flag this as major and see if we can get it fixed ASAP.the input icons shows B20.
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
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
Component size import from V5
I have noticed that component sizes on the dashboard or system panels are way to big in proportion in comparison to other components.
Worst offenders are RC5, I2C and SPI
Worst offenders are RC5, I2C and SPI
Martin
- STibor
- Posts: 263
- Joined: Fri Dec 16, 2011 3:20 pm
- Has thanked: 116 times
- Been thanked: 113 times
- Contact:
Re: Flowcode Release Candidate 6.0.6
Hi,JohnCrow wrote:Hi Benj
1) Installed over 6.0.4 on laptop(Win7 X64) all ok.
Program seems to run all ok
2) Installed over 6.1 beta release (Desktop WIn7 x64) and this caused problems (Though I did expect this just wanted to see what happened)
Firstly there was no flowcode exe file in the folder, though everything else looked to be there
Tried reboot, still same.
Re-Ran the installer and selected repair, system repaired.
Rebooted
The exe file is now there but when I ran flowcode
Open / New Project
Error message = Attempted an unsupported operation.
Uninstalled flowcode, cleaned the registry.
Reloaded 6.0.6
Runs ok now
Had to reactivate on both PC's
Hope this is helpful
I got an error message: Error Message = Attempted an unsupported operation.
I set the default language of Hungary. View menu options are global applications menu language and English language option to overwrite it works.
I was preparing a new project error message. No error message is saved for old projects.
Edit:
You should delete the entire flowcode6 folder after uninstall. I have not updated the components.
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
ICD
Using Eb006 V7.
When running ICD, it appears to pause indefinitely at every single delay encountered,
When running ICD, it appears to pause indefinitely at every single delay encountered,
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
RC5
properties, for example receive mode, receive pin etc not being transferred from FC5
Unable to get RC5 to Work with 16F1937
Using attached flowchart.
Unable to get RC5 to Work with 16F1937
Using attached flowchart.
- Attachments
-
- RC5 Basic 8Channel Remote A2_v6.fcfx
- (6.25 KiB) Downloaded 286 times
Martin
-
- Matrix Staff
- Posts: 9521
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
String Bug
If you want to send via RS232 numbers from 0 to 255, then with Flowcode V4 & V5 a byte was used for numbers then ByteToString was used to send the string Via RS232 The string variable was StringVar[3] for example, i.e an array of 3.
With Flowcode 6 the only way of sending 0 to 255 with no additional characters is by using StringVar[4]: If using the normal String array of 3 then this is sent: While I like to look at a smiling face, missing off the end number is not very practical
The test Flowchart used is posted Here
With Flowcode 6 the only way of sending 0 to 255 with no additional characters is by using StringVar[4]: If using the normal String array of 3 then this is sent: While I like to look at a smiling face, missing off the end number is not very practical

The test Flowchart used is posted Here
Martin
- 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: Flowcode Release Candidate 6.0.6
Hello,
Thanks for the bug reports.
Thanks for the bug reports.
This has now been fixed and will be solved when we release as a stable build (6.0.7).got an error message: Error Message = Attempted an unsupported operation.
I've logged this as a bug and we will investigate.Using Eb006 V7. When running ICD, it appears to pause indefinitely at every single delay encountered,
Should be a simple one to replicate and fix, Its now on the list anyway.Unable to get RC5 to Work with 16F1937
I wonder if this is something to do with the request to allow 0's to be sent and received using the RS232 string functions. Might need to rethink this a bit. It's also now on the list.With Flowcode 6 the only way of sending 0 to 255 with no additional characters is by using StringVar[4]:
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
-
- Flowcode v5 User
- Posts: 211
- Joined: Tue Feb 19, 2013 9:51 pm
- Has thanked: 72 times
- Been thanked: 177 times
Re: Flowcode Release Candidate 6.0.6
The Console is not available for Chip Pack users. I understand that this matches the data sheet showing that the console is not included with Chip Pack. The Console allows for a simplified approach for creating simulating macros especially for communication type macros. It is just a tool. It is not a ready made component macro that makes the Pro version so versatile and valued, (commercial aspect aside). As a hobbyist, the Chip Pack version is a very attractive product which I am quite pleased with but, it would be nice to have this tool. This post is merely a request for consideration.
Re: Flowcode Release Candidate 6.0.6
Hello Benj,
Just dowloaded the 6.0.7 release and there is still a bug with the FloatToString function or the RS232 send string function.
If you try the attached file, you will see that the RS232 sendstring function will send only the first three byte of the TEST[4] array.
If I rename my array TEST[5] instead of TEST[4], it will send 21.3 instead of 21.4
Good luck with this one.
Mathy
Just dowloaded the 6.0.7 release and there is still a bug with the FloatToString function or the RS232 send string function.
If you try the attached file, you will see that the RS232 sendstring function will send only the first three byte of the TEST[4] array.
If I rename my array TEST[5] instead of TEST[4], it will send 21.3 instead of 21.4
Good luck with this one.
Mathy
- Attachments
-
- Flowcode1.fcfx
- (5.24 KiB) Downloaded 284 times