lcd isnt displaying anything. - Resolved

Please add any bug reports that require discussion here

Moderator: Benj

Forum rules
Only bug reports will be considered here. General questions should not be posted in this forum.
Post Reply
User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

lcd isnt displaying anything. - Resolved

Post by greentech »

lcd isnt displaying anything.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: When is it planned to release the Final version ?

Post by medelec35 »

greentech wrote:lcd isnt displaying anything.
On hardware or simulation?
If you can post your flowchart (if issue is with hardware can you also post your C code file please), we can help you out.
Martin

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: lcd isnt displaying anything.

Post by JonnyW »

Hi/ I have moved this post to bug reports. If there is an issue please start a separate thread for it, as it is very difficult for us to track problems if they are all intermingled.

Cheers,

Jonny

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: lcd isnt displaying anything.

Post by greentech »

ok

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: lcd isnt displaying anything.

Post by greentech »

LCD dont work in simulation. Havent tested it on hardware.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: lcd isnt displaying anything.

Post by JonnyW »

Hello.

Can you send us a sample flowchart and a screenshot of the LCD please? It may be a graphical issue - can you get a gLCD to draw anything on, or get the component in this post to draw anything?

Jonny

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: lcd isnt displaying anything.

Post by greentech »

i can send u the pic. but u should trust me.
Attachments
lcd aint working.jpg
(129.7 KiB) Downloaded 1757 times

kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

Re: lcd isnt displaying anything.

Post by kersing »

greentech wrote:i can send u the pic. but u should trust me.
Providing MM with a flow chart and screenshot enables them to try and reproduce the issue.This is not related to trust, it is a normal procedure for researching issues. Could you provide the fcfx file as well??
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: lcd isnt displaying anything.

Post by greentech »

its a simple prog

start lcd
cursor x=0
cursor y =0

print string "Hello world"

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: lcd isnt displaying anything.

Post by medelec35 »

that looks like a graphics issue.
The border of LCD component is a different colour to the default green colour,plus you can't see the gold colour contacts:
Lcd_eb005.png
(30.63 KiB) Downloaded 6431 times
I did have an issue with Keypad graphics, when others did not.
That was fixed in an update.
Maybe this is a similar issue?
It maybe handy if you can post your pc specifications in including openGL version.
That can be found by 'Help' menu then 'About Flowcode'

Please take in to account I'm only guessing and my not necessary be correct.
Martin

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: lcd isnt displaying anything.

Post by Benj »

Hello,

I sometimes get similar graphics issues when using my old two screen graphics card at work. What happens if you save the file and then hit the reload button on the toolbar. If this doesn't fix it then try a couple more times and let us know how you got on.

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: lcd isnt displaying anything.

Post by JonnyW »

Hi.

As Jac says, there is no trust issue involved -why would you make something up? During a Beta we get a lot of bug reports. Unfortunately those that simply say "it doesn't work" have to go to the bottom of the pile as if I can not reproduce your issue, I can not fix it. Remote debugging is hard at the best of times - the more info you provide, the more chance of reproducing.

Anyway, the issue in your screenshot is most likely what is called Z-fighting and is related to your graphics card. All OpenGL implementations are different and the graphics require the occasional tweaks because of this.

We can have a play here.

In the meantime if you want to do some investigating:
  • Open Menu->View->Component Debugger and check "Expose full component tree in property pane".
  • In the Properties drop down you should see the lcd_eb005, and under it the LCD. Double click this.
  • If all has gone to plan the LCD front pane (the bit that cant be seen) should be highlighted and the 'Z' value of the LCD should be 4.9
  • Change this to 5.0, press return, and see if this fixes the issue
Remember this is only a proof of concept - next time you open the LCD it will be back at 4.9.

When I have rebuilt Flowcode here I will recompile the LCD with the adjusted values and get back to you.

Jonny

User avatar
JonnyW
Posts: 1230
Joined: Fri Oct 29, 2010 9:13 am
Location: Matrix Multimedia Ltd
Has thanked: 63 times
Been thanked: 290 times
Contact:

Re: lcd isnt displaying anything.

Post by JonnyW »

Hi greentech.

Do you want to try dropping this file into your components directory and see if this fixes the issue? Make a backup of your LCD component first, preferably in another directory (so Flowcode won't pick it up).
LCD.fcpx
(4.82 KiB) Downloaded 267 times
I have brought the LCD screen forward a little so it isn't clipping.

Jonny

User avatar
greentech
Flowcode V4 User
Posts: 158
Joined: Mon Jan 31, 2011 2:11 pm
Has thanked: 10 times
Been thanked: 2 times
Contact:

Re: lcd isnt displaying anything.

Post by greentech »

ok now it looks pretty awsm. please make user input methods easier.
Lcd looking lovely.

Post Reply