Migrating from older versions

From Flowcode Help
Revision as of 09:48, 1 July 2019 by DavidA (talk | contribs) (Created page with "==Moving from v6 or v7== Projects from v6 and v7 should open correctly in v8 but due to component changes property values may have been lost. When opening a project from v6 o...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Moving from v6 or v7

Projects from v6 and v7 should open correctly in v8 but due to component changes property values may have been lost. When opening a project from v6 or v7 into Flowcode v8 it's worth going through each of the components in your project and checking that the properties (especially pin connections) are correct. The drop down menu at the top of the properties window can be very useful for going through the components in your project on at a time. Specifically be aware of components that use SPI / I2C or UART communications as key properties have fundamentally been changed in the way they work.


User Created Components

Flowcode v8 uses a newer version of the component engine as used in Flowcode 6 and Flowcode 7 but should be able to work as is with any user created components from v6 or v7. Simply copy your component .fcpx files into your "C:\ProgramData\MatrixTSL\FlowcodeV8\Components" folder. You can also specify your own components folder via the "View -> Global Options" Menu and the "Locations" Tab.


Moving from v5

Projects from v5 can be opened in Flowcode v8 using the File -> Open menu and then changing the file type from .fcfx to the file type you are using in v5. When opening a project from v5 into Flowcode v8 it's worth going through each of the components in your project and checking that the properties (especially pin connections) are correct. The drop down menu at the top of the properties window can be very useful for going through the components in your project on at a time. It's also worth trying to simulate the project and this should highlight any project errors such as component macros with new parameter sets.


Custom Components

Custom components are superseded and no longer available in Flowcode 6 onwards. To replace this you can now generate components directly from the Flowcode IDE. This allows you to simulate and share your created components much easier. Custom C code can still be entered into your macros using the C icon and the Supplementary Code window in the Project Options Window allows you to add code outside of macros such as C functions or libraries.


Previous versions

Projects from other previous versions of Flowcode may also load into Flowcode 8 but maybe problematic. If you are having problems loading a specific project file then please contact us via the Matrix user forums and we will help you with the conversion.


Moving to 8.2

Component GUI's have been upgraded in v8.2 to ensure all components have a meaningful item on the panel to help identify the component and where possible provide a means of simulating the component. Some of this clean up means that components added prior to 8.2 will be being incorrectly resized when loading your project. We have taken every measure possible to avoid this but with some components it has been unavoidable.

Image

An easy way to get the component looking the way it should be it to use the Properties Window and the Position Tab. Click on World Size and select Local Scale from the menu.

Image

Now select the component on the panel and set the local scale to 1, 1, 1 for the X, Y and Z (Just X and Y on the 2D panel).

Image