Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
Topic Title: How to debug Webify display?
Topic Summary:
Created On: 11-Dec-2006 11:30
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 11-Dec-2006 11:30
User is offline View Users Profile Print this message


Charlie Lane

Posts: 86
Joined: 16-Sep-2005

I'm attempting to use webify to drive a model. Trouble is, I'm having a lot of problems getting the display in Internet Explorer to work correctly. I've tried the fix suggested in the user guide, unchecking "Use Java 2 v1.4.2_11 for <applet> (requires restart)", but still get "Error on page" and nothing in the right pane for instances in the model. I've also tried all the settings of CommunicationLayerScheme for the configuration.
Worse still, an executable that works on one PC now doesn't work on the PC it was originally compiled on.

Does anyone have a set of steps to check the IE, Java or other settings to get the webify executable to display properly?

Or, how would I debug an IE error message:
[QUOTE]Line: 162
Char: 2
Error: Object doesn't support this property or method
Code: 0
URL: [url]http://localhost/cgibin?Abs_App=ShowFAgg&mibvar=Operator[/url][0][/QUOTE]How do I even find the file that this error is in (viewing the source in IE is clearly not the answer)?
Report this to a Moderator Report this to a Moderator
 13-Dec-2006 11:22
User is offline View Users Profile Print this message


Charlie Lane

Posts: 86
Joined: 16-Sep-2005

I don't know whether there may be a reply on the original question, i.e. what set of steps must one follow to debug a webify page, but I've now got it working. I'm somewhat unclear on what actually caused it to work, but some pointers:
[list]
[*]The right pane didn't automatically refresh in IE, possibly because of the use of frames, so a manual right-click and Refresh helped.
[*]When using webconfig.c I had copied the version for AddUploadFunctionality, but I had to change the communication layer type to JavaScript.
[*]webconfig.c seems to override the setting for communication type in the configuration properties, so fiddling the setting there hadn't actually changed anything.
[/list] But the result is that I now have a nice graphic web page that displays variables from the model and sends events into the model. Webify works, though could do with some more documentation in the "Managing Web-Enabled Devices" / "Troubleshooting Problems" section. Ideally, as I enquired of previously, steps to debug the error message seen in IE.
Report this to a Moderator Report this to a Moderator
 22-Feb-2007 09:21
User is offline View Users Profile Print this message


Charlie Lane

Posts: 86
Joined: 16-Sep-2005

Just to note that I found another awkwardness with a webify custom page, again due to IE's caching of pictures.
I had some pictures that were loaded by JavaScript and these weren't updated by an IE refresh. I found that the way to handle these was to put the pictures in at the bottom of the main page, but with size just 1x1 (so they just appear as dots). Then an IE refresh refreshes all the pictures in the custom web page.
Report this to a Moderator Report this to a Moderator
 27-Apr-2007 11:41
User is offline View Users Profile Print this message


Adrian Manning

Posts: 6
Joined: 11-Oct-2005

I do not know if you are still having the same problem as this is an old thread.
We were having the same problem. Some people could access a target's webify page and other people could not. We found the problem was due to the network switch we were using. It worked fine for all other network traffic but not always for Webify! We have solved the problem in that each user has a small (5 port) switch which connects the PC, target and the rest of the company network. Since we made this change we have not had any problems.
My guess is that it could be a timing problem. We are using a VxWorks target with a PowerPC, I do not know if that makes any difference.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 0 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.