![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: How to debug Webify display? Topic Summary: Created On: 11-Dec-2006 11:30 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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)? |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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. |
|
![]() |
Telelogic Rhapsody
» Rhapsody Category » Rhapsody
»
How to debug Webify display?
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.