Page 1 of 1

Flowcode 5 features

Posted: Tue Jan 24, 2012 2:48 pm
by echase
Just spotted that Flowcode Pro 5 is out and interested that virtual networks is mentioned. I have a proposed design that takes two sinewave inputs into one simple PIC. It multiplies the values of those and triggers a second simple PIC based on the multiplied value, which also takes in one of these sinewaves.

Questions are:-

1) Can I simulate both PICs at once?
2) Is there a function generator to simulate the sine waves?
3) If I customise the C code of a component will that be reflected in the simulation? (Usually my changes do not actually change the component’s function but rather just fix limitations that cause the component to not quite work as it should in my application.)
4) If I add freestanding C Code lines will those be simulated?


On Flowcode Pro 3 with a similar one PIC system I had to simulate the sine wave with a slider and also press switches at the zero crossing points, but it is very difficult to time these right and it is very slow.

Re: Flowcode 5 features

Posted: Tue Jan 24, 2012 3:04 pm
by Steve
I'm afraid the answer to most of your questions is "no". C code is not simulated, and we don't yet have stimulus on simulation inputs.

The VNET feature has not changed between V4 and V5 and currently only works with CAN, RS232 and pin i/o inter-connections. We plan to expand this in a future release.

Re: Flowcode 5 features

Posted: Tue Jan 24, 2012 3:13 pm
by echase
Steve wrote:
The VNET feature .........currently only works with ......... pin i/o inter-connections.
That should work as two Os on one PIC drive 2 Is on the other.

Is V3 code importable into v5 with no need some rewriting?

Re: Flowcode 5 features

Posted: Tue Jan 24, 2012 4:05 pm
by Benj
Hello,

There shouldn't be any issues with opening a v3 file into v5. Any issues such as component updates/changes should be flagged to you on opening the file.

Re: Flowcode 5 features

Posted: Tue Jan 24, 2012 5:31 pm
by medelec35
Hi echase,
Re 2)
I have posted an article here:
http://www.matrixmultimedia.com/mmforum ... 26&t=10088
That uses a third part software to run a script and operate any key sequence in any order.

You can key map a pot and alter script so pot goes in one direction then the other.
Not sure how fast maximum speed will be, but at least process can be automated as opposed to repeatedly pressing keys or manually adjusting pot.

Not sure if that would help or not?

Martin

Re: Flowcode 5 features

Posted: Wed Jan 25, 2012 3:16 pm
by echase
Thanks Martin, that should help. Although it's not a sine wave in my case a square wave is a huge step forward. It's to simulate a 50Hz signal.

Re: Flowcode 5 features

Posted: Wed Jan 25, 2012 3:20 pm
by medelec35
Hi echase,
The script I posted will produce a square wave.
Would you mind letting me know how you get please?

Thanks

Martin

Re: Flowcode 5 features

Posted: Fri May 02, 2014 8:53 am
by dsimiyu520
My name is Daniel. Planning to build an egg incubator using flowcode and pic 18f4550 c for temperature and humidity controller and automatic motor turn can someone assist in code making thanks
DANIEL
<LINK REMOVED>