CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Wed Jul 18, 2018 11:13 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Dec 13, 2014 7:16 pm 
Offline

Joined: Thu Jul 31, 2014 7:05 pm
Posts: 18
Hello - I have three visualizations that use a master. The master contains three buttons, one for each visualization. In the button properties, I checked '_ to vis' and entered the visualization name. When a user taps the button, the corresponsding visualization page should display.

It works fine within Codesys and the HMI. However, the buttons don't work in the WebVisu. What's wrong? Or more specifically, how can I debug something like this? Is there a log file that might contain clues to the error? When a user taps on a button in the web browser, the button 'turns on' (looks like it was pressed) and then the current screen hangs, but the new visualization doesn't get displayed.

I'm downloading the code and pages to a WAGO 750-8202.

When I tried a simple example of two pages, with a master, it works fine. So I'm doing something wrong, but really don't know how to track down the error.

Thanks for any help

[Update: I checked 'compression' and 'activate system variable CurrentVisu' on the target configuration screen/visualization tab. This seemed to make the problem go away. I'm able to see all the visualizations by pressing on the corresponding button. I'm not sure why this fixed things. Then, I added a text box to one of pages and the problem re-appeared. Still - the question remains, how do I debug this sort of thing?]

[SOLVED: When I removed the background bitmap, the pages displayed correctly, but I use the background bitmap to set the background color to gray. So not sure if there is another option to set the background color.]


Top
   
PostPosted: Sat Dec 20, 2014 7:28 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 985
yes there is, when you use bitmap it will be a very big file containing lots of graypixels.
a better one is to use a rectangle and sent it to the back.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited