mdresser - 2010-05-15

I'm new to CoDeSys so I may be doing something stupid but can't figure this out...

Created simple visualization to Run on WAGO 750-841. See attached .pro file:

Works fine when logged in to WAGO from CoDeSys. Fails to switch to second screen when running from Web Browser. If I remove all uses of the %f format specifier, then the second screen will work from Web Browser

I have tried this using Firefox 3.6 and a couple of different PCs and versions of IE with the same results but my WAGO Applications Eng, who has been very helpful, says it works fine for him with the same version of CoDeSys.

Do I have an issue with the version of the JAVA JRE plug-in installed on my machines?

Output of Java console when screen fails to switch is below:

Java Plug-in 1.6.0_19

Using JRE version 1.6.0_19-b04 Java HotSpot(TM) Client VM

User home directory = C:\Documents and Settings\xilinx_prog


c: clear console window

f: finalize objects on finalization queue

g: garbage collect

h: display this help message

l: dump classloader list

m: print memory usage

o: trigger logging

q: hide console

r: reload policy configuration

s: dump system and deployment properties

t: dump thread list

v: dump thread stack

x: clear classloader cache

0-5: set trace level to <n></n>


Applet initialised

Version = V2.3.9.19

STARTVISU = PLC_VISU

UPDATETIME = 200

USECURRENTVISU = FALSE

USEFIXSOCKETCONNECTION = FALSE

AUTORELOAD = FALSE

FORCEDLOAD =

USEURLCONNECTION = TRUE

KEYPADINDIALOGS = false

KEYBOARDUSAGEFROMDIALOGS = false

PLCSTATEINTERVAL = 2000

ALARMUPDATEBLOCKSIZE = 50

Use monitoring port: http://192.9.1.240:80/

BESTFIT = false

COMPRESSEDFILES = false

Loading visualization plc_visu.xml

Loading visualization file plc_visu.xml

Applet startet

Loading visualization sfset.xml

Loading visualization file sfset.xml

java.lang._: String index out of range: -1

at java.lang.String.substring(Unknown Source)

at webvisu.d.b.new(Unknown Source)

at webvisu.d.b.<init>(Unknown Source)

at webvisu.f.a.endElement(Unknown Source)

at uk.co.wilson.xml.MinML.parse(MinML.java:238)

at webvisu.a.f.a(Unknown Source)

at webvisu.WebVisu.loadVisualisation(Unknown Source)

at webvisu.util.v.a(Unknown Source)

at webvisu.c.e.a(Unknown Source)

at webvisu.d.a(Unknown Source)

at webvisu.WebVisu.handleMouseOnline(Unknown Source)

at webvisu.WebVisu.mouseReleased(Unknown Source)

at java.awt.Component.processMouseEvent(Unknown Source)

at java.awt.Component.processEvent(Unknown Source)

at java.awt.Container.processEvent(Unknown Source)

at java.awt.Component.dispatchEventImpl(Unknown Source)

at java.awt.Container.dispatchEventImpl(Unknown Source)

at java.awt.Component.dispatchEvent(Unknown Source)

at java.awt.EventQueue.dispatchEvent(Unknown Source)

at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.awt.EventDispatchThread.run(Unknown Source)

WebVisuBug.pro [51.9 KiB]