Migrating from V7 to V8 - RS232 Changing Baud Rate

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Migrating from V7 to V8 - RS232 Changing Baud Rate

Post by medelec35 »

If a flowchart is created in V7 with a baud rate of 2400.
When opened in V8 baud rate has changed from 2400 to 9600.
Results are the same for both hardware and software modes.

Martin
Martin

User avatar
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: RS232 Changing Baud Rate

Post by Benj »

Hi Martin,

Yes I can see why this would be the case. In v7 we copy the CAL filters into our own property filters and then copy back the value from the property to the CAL property.

In v8 we instead simply expose the CAL properties so no copying is required and the component is significantly easier to create without all kinds of bugs creeping in with properties not refreshing correctly or going out of sync etc.

This is a fairly big change and is one of the main pains moving from v7 to v8 so with any CAL based component (SPI / I2C / UART) it's worth checking the component properties are correct. I'm currently not really aware of a way we can fix this automatically.

I've offered the same kind of advice here.
https://www.matrixtsl.com/wiki/index.ph ... ting_to_V8

medelec35
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: Migrating from V7 to V8

Post by medelec35 »

Thanks Ben.
As you have explained not a bug, I have moved the topic to a more appropriate place.
I have not read the wiki article on migrating to V8 before today.

Martin
Martin

User avatar
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: Migrating from V7 to V8 - RS232 Changing Baud Rate

Post by Benj »

It's a tough one because I really hate breaking working programs and your certainly right to raise the issue.

I'll think on it, there might be a way to do it similar to how we convert v5 projects. It's been a while since I looked at the conversion file so not sure at the moment.

User avatar
Jay Dee
Posts: 398
Joined: Tue Aug 18, 2009 6:42 pm
Has thanked: 121 times
Been thanked: 154 times
Contact:

Re: Migrating from V7 to V8 - RS232 Changing Baud Rate

Post by Jay Dee »


Post Reply