FC crashes when converting C code to icons

Moderator: Benj

MJU
Posts: 429
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 105 times
Been thanked: 94 times
Contact:

FC crashes when converting C code to icons

Postby MJU » Mon Apr 29, 2019 5:48 pm

When I try to convert the C code block in that was posted in this post:
viewtopic.php?f=76&t=21187#p95162

My Flowcode crashes time after time.

mnf
Valued Contributor
Valued Contributor
Posts: 516
Joined: Wed May 31, 2017 11:57 am
Has thanked: 52 times
Been thanked: 285 times
Contact:

Re: FC crashes when converting C code to icons

Postby mnf » Mon Apr 29, 2019 6:14 pm

Haven't managed to replicate this - do get a pop up box with error messages.

What is the C code that you are trying to convert?

What version of FC are you using.

Is the C correct?

Note that the converter doesn't handle trig functions - but the majority of formula could be directly converted to(or entered as) FC calculations.

For example x = sin(y) + cos(y) can be entered in a FC calculation box as is - and it simulates when in FC.

The C would be FCV_X = sin(FCV_Y) + cos(FCV_Y); and doesn't simulate - would it be easier just to paste your C code into FC calculations (you'll need to remove the terminating ';') than creating a C block and then converting it back?

Martin

DanielM
Matrix Staff
Posts: 62
Joined: Mon Oct 23, 2017 9:54 am
Has thanked: 11 times
Been thanked: 22 times
Contact:

Re: FC crashes when converting C code to icons

Postby DanielM » Fri May 03, 2019 8:58 am

Hi,

There was a problem with the conversion sometimes crashing in the initial release of 8.1. This was fixed in the 8.1.1 hotfix that was released towards the end of last year. Please ensure that you are using the latest version. If you are still having issues then report back here.

Regards,

Daniel