Page 1 of 1

Visi Genie Component question??

Posted: Tue Nov 24, 2015 8:26 pm
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

Re: Visi Genie Component question??

Posted: Wed Dec 02, 2015 9:26 pm
by Michaelt
Is there really no one that can comment, on anything??

please

Re: Visi Genie Component question??

Posted: Wed Dec 02, 2015 9:31 pm
by acestu
Hi Michaelt,

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

Thanks
Stuart

Re: Visi Genie Component question??

Posted: Thu Dec 03, 2015 8:14 pm
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

Re: Visi Genie Component question??

Posted: Mon Dec 07, 2015 8:03 pm
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??