Advise correct method for own component
Posted: Wed Dec 07, 2016 8:53 am
Hi All.
I need help advise on what would be the steps or correct method in FC ,
I have a project that I would like to run purely in FC as the project would require that I use a lot of my own functions foe example to configure and drive the Motor Control PWM module on a dsPIC33 to name one
now I know I can use a C call to do that but I was thinking is it not possible to embed this C function call into a component Icon that would give me for example PWM_MC Initailze and calcualte set point and so on then I would have icons on the Flow chart or is it better to make a complete component ?
I guess I am not sure what to do embed the C code into an Icon or make complete components and then in both cases I have actually no clue where to start
any input advise or direction is highly appreciated this is quite important for me as since FC7 I am trying to fully move over to FC and not run both C style projects and FC However I need to make the FC charts lean and not having 100 C call icons in a Flowchart
The simulation part of FC is interesting but that is something I rarly use I code run and debug on the target hardware in my opinion (with my little knowledge on FC ) I would like not to add all the simulation features to my Component or icon that embed my C code
Thanks a million for your support
I need help advise on what would be the steps or correct method in FC ,
I have a project that I would like to run purely in FC as the project would require that I use a lot of my own functions foe example to configure and drive the Motor Control PWM module on a dsPIC33 to name one
now I know I can use a C call to do that but I was thinking is it not possible to embed this C function call into a component Icon that would give me for example PWM_MC Initailze and calcualte set point and so on then I would have icons on the Flow chart or is it better to make a complete component ?
I guess I am not sure what to do embed the C code into an Icon or make complete components and then in both cases I have actually no clue where to start
The simulation part of FC is interesting but that is something I rarly use I code run and debug on the target hardware in my opinion (with my little knowledge on FC ) I would like not to add all the simulation features to my Component or icon that embed my C code
Thanks a million for your support