Visi Genie component??

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

Moderator: Benj

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Visi Genie component??

Post by tech »

Hi,

I use the LCD (uLCD 32WPTU) 4D System, I can not work the LCD, same in use the example in Flowcode V6??

I do not know if I should use the SD card to be able to write on the display??

But until now nothing works! :evil:

Thanks for help

Chris

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

Hi tech,

Maybe you can take a moment, and re-write your question because I don't understand what the problem is.
The display is not working, but thats a very general description :wink:.

If you can explain better, maybe you can tell me what you have tried, or want to try.


I have worked a lot with the Visi component, and I have made a power supply interface with this component and display.

Regards Jordy
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Hi Jordy,

The LCD and connect well and I did a test to only write the word "Hello" with VISI component and no works. The LCD it displays only"uLCD-32WPTU_GFX2 v3.9".

I test the EB076 Example in flowcode v6 and no works? :wink:

I would like to be able to use all functions of VISI Genie.

Do you have any examples that I can test my LCD?

Thanks for help

Chris

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

Well,

The GLCD component EB076 is different from the ViSi Component.
Its not the same thing.

As you are saying that you would like to use all the vidi functions, you need to dump the GLCD Component for the EB076.
What you need to do is, If you havent done so. Download the 4D Workshop software from 4D systems.
In this software you can create a new Visi project, and place Visi component on to your screen.

Then compile this and upload these files to the uSD card provided with the LCD.
Then you can use the Visi Component in flowcode to interact with the LCD and its components.

Hope this help if not let me know.

Rg, Jordy
the will to learn, should not be stopped by any price

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Visi Genie component??

Post by Benj »

Hello,

I agree with Jordy, this display "uLCD-32WPTU" is not currently supported with the EB076 component but the Visi component should work if you have loaded Visi code onto the SD card in the display.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Hi Jordy,

I tested using the 4D Workshop software and create a new Visi project, and place the Visi component on my screen.

Then compile and load the files on the SD card. I use the Visi Flowcode component to interact with the LCD monitor and its components.

My problem that I can not interact with a LCD screen and Flowcode?

So the forume I test the exemple "Rocket Switch" and confirm with Flowcode simulation there is the Data!

But if I change the program flowcode to fit for my needs it does not work anymore? :?

I would like to be able to display the clock running on my LCD, use the boutton and the slider and display text on the LCD.

I would like to have support for to understand the VISI component in flowcode??

Thank you for your help

Chris

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

Please attach your Flowcode program and VISI files.
Maybe I can find the problem.

Regards Jordy
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Hi Jordy

I sent you a PM

Thanks

Chris

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Hi Jordy,

Here is a updated project "Time Clock v2", I manage to show the clock on my LCD using simulation with Flowcode v6.

I try with a PIC16F877A and it does not work? :cry:

What would be the best appropriate PIC to control the LCD? :wink:

Thanks for help

Chris
Attachments
Time Clock v2.zip
(83.72 KiB) Downloaded 269 times

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

First Thing that I notice is that the clock source for timer0 is derivate from T0CKI this should be the internal clock.

this is really the only thing I can find, adjust this and try again, if it doesn't work let me know.

Regards Jordy
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

I change the setting does not work :?

I did a test to see if my connection works, I write a word "Hello" and It Works!

I did another test with the timer and is no work :evil:

Thanks for help

Chris
Attachments
Timer.png
(20.58 KiB) Downloaded 6508 times

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

Hi tech,

You really need to be more precise in explaining what is not working.
With the files you have send me its not possible to write a string of characters to a Led digit element.

Also what "other" test have you done with the timer.

I cannot help you much if you are not explaining clearly what's wrong.
Im not in the same room to watch what you are doing :wink:

Regards Jordy
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Behold, when I simulate (Timer Clock v2) the clock on the LCD with Flowcode V6 it works very well.

When I program the PIC16F877A, the clock in the LCD does not work!

And I know that the problem does not come from connections RX / TX, I try another program to validate connections, I sent a message "Hello" is works very well.

So I do not know if it is only in the Timer Clock v2 program there a problem or these the PIC16F877A?

What is disappointing is it working with the simulation but it does not work when the PIC is programmed

Thanks

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Jordy,

I forgot to mention that when I test v2 Clock program, the LCD is connected to the COM and it is stimulated with Flowcode V6 :D

Thanks

Chris

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Visi Genie component??

Post by Benj »

Hello,
What is disappointing is it working with the simulation but it does not work when the PIC is programmed
You might want to try toggling the reset pin to the 4D display when using the PIC embedded version before you do any communications. This should allow the component to work in embedded mode too, I suppose this might be a nice addition to the component so it takes care of this for you.

Let me know if this fixes the problem and I will apply it to the component code.

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Ben,

I solved the problem by adding the delay!

Thanks for helps

Chris
Attachments
Delay.png
(4.26 KiB) Downloaded 6496 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Jordy or Ben,

I have another problem, I would use "buttons WinButton 'but it does not work?

Can you check the program and tell me the problem?

Thanks for helps

Chris
Attachments
WinButton v1.zip
(87.11 KiB) Downloaded 169 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Jordy,

I need help, I want to control a LED from the component "VisiReadObjet" to use a "WinButton" button, but I have to use the macro VisiReadByteFromMessage out the incoming data.

I'm not sure I understand this function?

Can you help me??

Thanks

Best Regards

Chris
Attachments
WinButton v1.zip
(87.11 KiB) Downloaded 150 times

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

I have made a little adjustment.
If it doesn't not work please le me know, and I will try to explain in another way.

Regards Jordy
Attachments
WinButton v1.1.fcfx
(7.03 KiB) Downloaded 160 times
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Unable to open the file?

Is it possible to fix this error?

I use Flowcode v6.0.4.0

Here is the error "Failed to open document Attribute <start> is not found"!


Thanks
Attachments
Failed.png
(19.02 KiB) Downloaded 6418 times

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Visi Genie component??

Post by Benj »

Hello,

Hopefully you can open Jordy's file now.
WinButton v1.1.fcfx
(6.88 KiB) Downloaded 181 times

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Hi Jordy,

Impossible to simulate the program, if I remove the VISIReceive component of the program the simulation works!??

So if I add the component Visireceive impossible to simulate! :?

Thanks

Chris

User avatar
Jordy101091
Posts: 519
Joined: Sat Jan 08, 2011 4:02 pm
Location: The Netherlands
Has thanked: 25 times
Been thanked: 188 times
Contact:

Re: Visi Genie component??

Post by Jordy101091 »

I dont understand,

What is it that you want to simulate, As far as I know you cannot simulate the Visi Component in flowcode.

Regards Jordy
the will to learn, should not be stopped by any price

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Connect the LCD and Loader program, play the simulation…nothing happens and flowcode "freezes".

Test Flowcode without the LCD is connected then it works, I program a PIC and the program does not work!

The problem seems to be the macro VISIReceive??

Can you test it?

Thanks

Chris

tech
Posts: 353
Joined: Tue Sep 23, 2008 9:39 am
Been thanked: 9 times
Contact:

Re: Visi Genie component??

Post by tech »

Jordy,

The program WinButton v1.1 does not work!?? :wink:

Thanks for Help

Chris

Post Reply