Difference between revisions of "Migrating to V6"

From Flowcode Help
Jump to navigationJump to search
Line 113: Line 113:
 
|-
 
|-
 
| width="15%" | Custom
 
| width="15%" | Custom
| width="10%" bgcolor="Chocolate" | DROPPED  
+
| width="10%" bgcolor="Khaki" | DROPPED  
 
| width="75%" | This component will not be migrated from V5.
 
| width="75%" | This component will not be migrated from V5.
 
|-
 
|-
 
| width="15%" | Custom2
 
| width="15%" | Custom2
| width="10%" bgcolor="Chocolate" | DROPPED
+
| width="10%" bgcolor="Khaki" | DROPPED
 
| width="75%" | This component will not be migrated from V5.
 
| width="75%" | This component will not be migrated from V5.
 
|-
 
|-

Revision as of 11:45, 31 October 2013

Flowcode v6 will automatically attempt to migrate Flowcode v5 projects and components into the required v6 format. While the program attempts to re-create your panel as much as possible and maintain your components configuration settings there may be a requirement for the user to make minor adjustments to the imported program. Please bear in mind the following points:

Positioning of components on the panel

In version 5 the panel is a two-dimensional pane. Each component was written using visual basic, exported and registered as a OCX component which would be called by earlier versions of Flowcode (3 through 5). Graphical representation of these components are basically bitmaps placed onto a windows panel. In version 6 the panel is now a three-dimensional space where the components will be placed, and each component has been re-designed purely using the v6 component creator. Therefore based on v5 positions an estimate is made with regards to placement in v6. This may not necessarily be exactly as you would see it in version 5 so you may need to make adjustments to the layout of any components that appear on the panel.

Software & Hardware channel selection

In version 5, components that had the ability to choose between software and hardware channels, however this was a manual choice and the user would have to determine which hardware channels were available based on the chip-type. The components were hard-coded to offer 4 hardware channels regardless of channels available on the chip. In version 6 the number of hardware channels that are presented to the user are now pre-defined based on the contents of the chip-definition files(i.e the number and type of channels the chip supports), so if a chip supports two hardware channels then in Flowcode v6 the user will be presented with the option to choose software, hardware channel one and hardware channel two. If a user had chosen hardware channel 4 in the v5 program, this value will not get migrated if the chip-type in flowcode v6 does not have channel 4 as an option. If this field is blank when you have migrated your project you will need to set the channel appropriately.

Component migration table

Component Status Consideration
GLCD Mapped Awaiting functional test.

Note1: In version 5 the type of GLCD was selected from a seletion of radio buttons. When migrating to version 6, the appropraite GCLD component is chosen based on this setting (there are multiple GLCD components in v6 to choose from).

LED Mapped Awaiting functional test.
LED RGB Mapped Awaiting functional test.
LED 7Seg Single Mapped Awaiting functional test.
LED 7Seg Quad Mapped Awaiting functional test.
Quad Encoder Mapped Awaiting functional test.
PWM Mapped Awaiting functional test.
Servo Mapped Awaiting functional test.
Accelerometer Mapped Awaiting functional test.
One-Wire Mapped Awaiting functional test.
Keypad Mapped Awaiting functional test.
Stepper Motor Mapped Awaiting functional test.
Formula Flowcode Mapped Awaiting functional test.
RC5 Mapped Awaiting functional test.
LCD Display Mapped Awaiting functional test.
USB HID Mapped Awaiting functional test.
USB Serial Mapped Awaiting functional test.
USB_Slave Mapped Awaiting functional test.
FAT16 Mapped Awaiting functional test.
MIDI Mapped Awaiting functional test.
CAN Mapped Awaiting functional test.
CAN2 Mapped Awaiting functional test.
ADC Mapped Awaiting functional test.

Note1: Styles, labels & custom images are not carried over from version 5. Scales and markings will need complementing with a v6 marking control.

Bluetooth Mapped Awaiting functional test.
Custom DROPPED This component will not be migrated from V5.
Custom2 DROPPED This component will not be migrated from V5.
EEprom Mapped Awaiting functional test.

Note1: v6 component size is fixed 256 bytes, v5 was configurable.

I2C Mapped Awaiting functional test.
IrDA Mapped Awaiting functional test.

Note1: For this component you will have to set CTS/RTS pins manually. This is because CTS/RTS port/pin values were not saved for this component in v5(bug).

Lin Master Mapped Awaiting fucntional test.

Note1: the WakeUp() macro is missing in v6. Needs sorting.

Lin Slave Mapped Awaiting functional test.

NOTE1: In v5 the messages are stored as a string. V6 needs to extrapolate the string and populate the various message settings. Macros missing in v6 compared to v5.

RFiD Mapped Awaiting functional test.
RS232 Mapped Awaiting functional test.

NOTE1: v5 change baud rate macro not present in v6. Needs addressing. As does RX Timeouts parameters.

SPI Mapped Awaiting functional test.
SwitchBank Mapped Awaiting functional test.

Note1: Labels not carried forward or direction (lsb left or right positioned) Also, the switch array in v6 allows you to tag a switch style to it. This would be used to determine the type of switches in the switchbank. This may have to be done manually.

TCP-IP Mapped Awaiting functional test.

Note1: In v6 the TCP/IP component has two versions, one for EB023-001 and EB023-002. The appropriate component will be selected based on the hardware choice set in v5.

Webserver Mapped Awaiting functional test.
Zigbee Mapped Awaiting functional test
GPS Mapped Awaiting functional test
Speech Mapped Awaiting functional test.

Note1: pitch is not migrated yet. Also port selection needs addressing. Also ReadPhonemeLength macro missing from v6.

Switch Mapped Awaiting functional test.

Note1: Custom and rotary switches are not yet present in v6 so they will default to basic switch. All others will show a representative switch model.

RF Mapped Awaiting functional test.
GSM Mapped Awaiting functional test
WLAN Mapped Awaiting functional test.
DSP Level Mapped Awaiting functional test.

Note1: The v5 macro ReadSingleBank_FFT() is no longer applicable in v6 for this component. You will have to adjust your flowchart accordingly.

DSP Add Mapped Awaiting functional test.
DSP Control Mapped Awaiting functional test.
DSP Delay Mapped Awaiting functional test.
DSP FFT Mapped Awaiting functional test.

Note 1: The v6 component has an additional parameter that needs setting manually. You will need to connect the 'output_i' parameter to a free buffer from your DSP System component. Note 2: You need to set your FFT options and appropriate bit depth parameter here. You need to manually get the value from your v5 DSP System component if you want to use the same settings that you had in your v5 program.

DSP Filter Mapped Awaiting functional test.
DSP Freq Generator Mapped Awaiting functional test.
DSP Input Mapped Awaiting functional test.
DSP Inverse FFT Mapped Awaiting functional test.
DSP Kalman Filter Mapped Awaiting functional test.
DSP Output Mapped Awaiting functional test.
DSP Scale Mapped Awaiting functional test.
DSP System Mapped Awaiting functional test.

Note1: In version 5 this component allowed for 10 buffers however you could only have one DSP System component in use. In version 6, the DSP System component is limited to 8 buffers however you can now have multiple DSP System components in your design. If your v5 DSP System component has more than 8 buffers then for the remaining ones you have to manually add a second DSP System in v6 and configure the remaining buffers accordingly.

Note 2: FFT settings set in the DSP System component in v5 no longer exist in the v6 version as these have moved to the v6 FFT component. See FFT component above.

MIAC Mapped Awaiting functional test.