Dear All,
Is there a possibility to use the webclient standalone from a browser?
PVSS00ui.exe -server http://01p9617 –p vision/login.pnl
is possible but the login.pnl doesnt appear.
How can I load the login.pnl on startup?
Thanks
Dominik
WinCCOA V3.10SP1 Windows
runnig webclient standalone
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: runnig webclient standalone
The commando should be:
Code: Select all
PVSS00ui.exe -server http://01p9617/ –p vision/login.pnl- baumanndo
- Posts:10
- Joined: Tue Dec 14, 2010 8:03 am
Re: runnig webclient standalone
This code doesn't work for me.
A plain module opens, but no login panel.
The webclient works fine with the browser plugin on this pc.
A plain module opens, but no login panel.
The webclient works fine with the browser plugin on this pc.
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: runnig webclient standalone
Without an error message it is very hard to help you.
Does the browser plugin start with the same panel?
Is the project directory created in '%USERPROFILE/.pvss-cache'?
Does the browser plugin start with the same panel?
Is the project directory created in '%USERPROFILE/.pvss-cache'?
- baumanndo
- Posts:10
- Joined: Tue Dec 14, 2010 8:03 am
Re: runnig webclient standalone
with the browser plugin the login.pnl is displayed an everything works fine.
The cache directory is created, but the login.pnl does not exist in this dir. I think that is ok, because the panles are loaded on demand.
There are no error messages in the log.
The module is starting and I can open the sysmgmt using the menu bar. The panel topology navigation also works.
...... but no login panel.
I tried to open the login.pnl using menu bar - panel - open, but the panel isn't present in the cache dir, so i can't.
I use exactly the code you posted above.
The cache directory is created, but the login.pnl does not exist in this dir. I think that is ok, because the panles are loaded on demand.
There are no error messages in the log.
The module is starting and I can open the sysmgmt using the menu bar. The panel topology navigation also works.
...... but no login panel.
I tried to open the login.pnl using menu bar - panel - open, but the panel isn't present in the cache dir, so i can't.
I use exactly the code you posted above.
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: running webclient standalone
When the webclient is working correctly, the project files are saved in the '%USERPROFILE/.pvss-cache//' directory for subsequent use. Also the webclient browser plugin saves the project files in this directory, so if the plugin uses the same panel it must be there.The cache directory is created, but the login.pnl does not exist in this dir. I think that is ok, because the panels are loaded on demand.
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: runnig webclient standalone
Yes, the UI can be used standalone using the HTTP mechanism, and it should work in the way you do.
To debug HTTP problems it is useful to enable the HTTP debug flag on the SERVER.
E.g. start the CTRL Manager with the additional "-dbg HTTP" flag and see which HTTP requests your client sends to it.
There should be one which requests the vision/login.pnl and the server should answer correctly.
I did a quick test here with 3.10 SP2 on Linux and it works.
To debug HTTP problems it is useful to enable the HTTP debug flag on the SERVER.
E.g. start the CTRL Manager with the additional "-dbg HTTP" flag and see which HTTP requests your client sends to it.
There should be one which requests the vision/login.pnl and the server should answer correctly.
I did a quick test here with 3.10 SP2 on Linux and it works.
- baumanndo
- Posts:10
- Joined: Tue Dec 14, 2010 8:03 am
Re: runnig webclient standalone
Now I have tried with the Debug Flags.
Running the UI in the browser the panel ist requestet.
Using the UI standalone the panel ist not requested. No entry concerning the login.pnl.
Why? I use Version 3.10 SP1. Could this cause the problem?
Running the UI in the browser the panel ist requestet.
Code: Select all
ErrorNot foundThe requested resource was not found
PVSS00ctrl (7), 2013.03.05 09:11:20.178, HTTP, reading data from fd = 644
HTTP:read(644):GET /panels/vision/login.pnl HTTP/1.1
HTTP:read(644):Connection: Keep-Alive
HTTP:read(644):Accept-Encoding: gzip
HTTP:read(644):Accept-Language: de-AT,en,*
HTTP:read(644):User-Agent: Mozilla/5.0
HTTP:read(644):Host: 01p9617:80
HTTP:read(644):
HTTP:(GET) sendFileContent(644): "C:\\\\Siemens\\\\Automation\\\\WinCC_OA\\\\3.10\\\\panels\\\\vision/login.pnl"
HTTP:found file:"C:\\\\Siemens\\\\Automation\\\\WinCC_OA\\\\3.10\\\\panels\\\\vision/login.pnl" with size:16128
HTTP:send(644):HTTP/1.1 200 OK
Content-Length: 16128
Date: Tue, 05 Mar 2013 08:11:20 GMT
Last-Modified: Thu, 20 Oct 2011 22:52:44 GMT
Content-Type: application/octet-streamUsing the UI standalone the panel ist not requested. No entry concerning the login.pnl.
Why? I use Version 3.10 SP1. Could this cause the problem?
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: runnig webclient standalone
I tested this now on Linux and this works:
Please get in contact with our support team and send them the _complete_ logfile (with -dbg HTTP) from the point where you start the UI
Code: Select all
/opt/WinCC_OA/3.10/bin/PVSS00ui -log +stderr -dbg HTTP -server http://localhost:8080 -p vision/login.pnl