Visi Genie Component question??

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

Moderator: Benj

Post Reply
Michaelt
Posts: 38
Joined: Sun Sep 23, 2012 9:46 am
Has thanked: 13 times

Visi Genie Component question??

Post by Michaelt »

Hi all.

I am trying to convert an old project where i control a refigiator as a beer fermentation cabinet it has a heating element and the compressor to keep the Beer temperature steady at +-0,25 degrees between 3 and 25 degrees C. The old display i used was a 2*16 lines text display and now would like to reprogram it for one of the new super 4D system 3,2" displays ULCD-32PTU.
I have the comunication working just fine, But i have run in to a few issues that i can't work out.

1.
I am using the leddigit in the 4D Workshop, in flowcode it wants the data in Uint, is it not possible to send negative numbers or desimals to the display in Uint? with the old 2*16 i convert the temperature values to a 4 digit string so i can show whole numbers and 0,5 values. I think i worked out the desimal issue just by Multipling with 10 and making 1 dicimal in 4D Workshop. but is that the right way??

2.
In stead of Manual push buttons i have designed the Winbuttons in Workshop and using JohnCrows awsome toturial link:(http://www.matrixtsl.com/mmforums/viewt ... 26&t=15212) i got the buttons working just fine, my issue is that every time my program runs in to the Visirecive Command telling the Pic to waint for an incoming LCD command the pic freezez for maybe 5 seconds or more and then continues if no display activity is registered, but if i push the touch buttons on the display the pic continues, Is there any way around this. I would like to at least updating the temperature on the display every second.

i hope any of you good people can help me with theese problems, :D

Best regards From
Michael

Michaelt
Posts: 38
Joined: Sun Sep 23, 2012 9:46 am
Has thanked: 13 times

Re: Visi Genie Component question??

Post by Michaelt »

Is there really no one that can comment, on anything??

please

User avatar
acestu
Posts: 1720
Joined: Thu Dec 01, 2011 9:36 pm
Location: Macclesfield UK
Has thanked: 783 times
Been thanked: 223 times

Re: Visi Genie Component question??

Post by acestu »

Hi Michaelt,

Can you post your Flowcode chart so that someone can have a look at it for you ?

Thanks
Stuart
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.

Michaelt
Posts: 38
Joined: Sun Sep 23, 2012 9:46 am
Has thanked: 13 times

Re: Visi Genie Component question??

Post by Michaelt »

Thanks for your reply :D

Okay i will post the program for Flowcode v6
FermentationBox.fcfx
(112.44 KiB) Downloaded 221 times
i have zipped the display program in 2 folders if needed, it won't accept the original filetypes.
FermentationBox.rar
(1.59 KiB) Downloaded 200 times
FermentationBox.ImgData.rar
(2.09 MiB) Downloaded 222 times
But i must say that it's a rather large project and i have only startet converting it from the old display to this new touch screen.
I have only made changes in the Setpoint_and_LCD Macro and the place where the pic freezes or waits for an action is at the Visirecive macro in the buttom of Setpoint_and_LCD i have confirmed this by placing Leds on several outputs and mooving them around in the Macro to find where it stops.

If any more explaning is needed please ask.

Hope its understandable
Best regards from Michael

Michaelt
Posts: 38
Joined: Sun Sep 23, 2012 9:46 am
Has thanked: 13 times

Re: Visi Genie Component question??

Post by Michaelt »

Is there really no one using this display that has the same issues using the touch screen Inputs, when using the Visirecive command??

Post Reply