FC crashes when converting C code to icons

Moderator: Benj

Post Reply
MJU
Posts: 502
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 121 times
Been thanked: 108 times
Contact:

FC crashes when converting C code to icons

Post by MJU »

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: 1188
Joined: Wed May 31, 2017 11:57 am
Has thanked: 70 times
Been thanked: 439 times
Contact:

Re: FC crashes when converting C code to icons

Post by mnf »

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
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

Post by DanielM »

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

Post Reply