<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/</id><updated>2020-02-27T17:53:51.474000Z</updated><subtitle>Recent posts to Full Screen Demo Mode Visualization.</subtitle><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#8471" rel="alternate"/><published>2020-02-27T17:53:51.474000Z</published><updated>2020-02-27T17:53:51.474000Z</updated><author><name>delphinis</name><uri>https://forge.codesys.com/u/delphinis/</uri></author><id>https://forge.codesys.comadaeefe633d467dc4e238b28171e1243e6b35824</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone, &lt;br/&gt;
I am wondering if it would be possible to have only a smaller Window (no Fullscreen) as visualization.&lt;br/&gt;
In the visualization configuration (visualisazion right click - properties - visualisation) I found some configurations like visualistion size and so on.&lt;br/&gt;
But this changes only the size of the visualization on the white fullscreen...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#9c48" rel="alternate"/><published>2020-02-27T17:53:50.418000Z</published><updated>2020-02-27T17:53:50.418000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf6fd5b35a1030e1539130d28ef6fa067e68c819f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;no seach the online help for Targetvisu&lt;br/&gt;
You will end in the following search result:&lt;br/&gt;
. &lt;br/&gt;
. &lt;br/&gt;
Start or Stop of a target visualization from Windows command line&lt;br/&gt;
By use of the command VisualClientController.exe --application=Application --flags=2 a target visualization can be stopped. With flags=1 the visualization can be restarted. The command VisualClientController.exe can be found in the CODESYS installation directory in the subdirectory "..\GatewayPLC\".&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#be1d" rel="alternate"/><published>2020-02-27T17:53:47.481000Z</published><updated>2020-02-27T17:53:47.481000Z</updated><author><name>MassimoM</name><uri>https://forge.codesys.com/u/massimom/</uri></author><id>https://forge.codesys.comd78cfeed89447e51985eef702ad6d61433a10985</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi to all and thanks for the helps.&lt;br/&gt;
Due to a particular implementation, I need a button, in the desktop, to launch Visu in case the end user press alt+F4 and close the visu app.&lt;br/&gt;
There is a way to obtain this?&lt;/p&gt;
&lt;p&gt;I've seen in the CoDeSysControl.cfg file this line:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
&lt;span&gt;[CmpTargetVisuStub]&lt;/span&gt;&lt;br/&gt;
Program="CoDeSysControlStaticTV.exe"&lt;br/&gt;
CommandLine=-r targetvisuextern.cfg&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Try to execute this command&lt;br/&gt;
CoDeSysControlStaticTV.exe -r targetvisuextern.cfg&lt;br/&gt;
but nothing...&lt;/p&gt;
&lt;p&gt;Any suggestion?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#fb2d" rel="alternate"/><published>2020-02-27T17:53:46.409000Z</published><updated>2020-02-27T17:53:46.409000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comaec6bb58db5e6dfe07cbee75873c517218620438</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;i.e. Why does it not go to full screen after the initial launch or after saving?&lt;br/&gt;
is it possible that you are connected by remote desktop? (This is a known bug which will be solved to 3.5SP9, June)&lt;br/&gt;
If not i have no explanation.. should start every time. (check the plc logger for the case that it does not start)&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Simulation: &lt;br/&gt;
yes - since switching the plc in the device tree is that easy, I would always prefer to use a real plc (Control WIN)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#a1d1" rel="alternate"/><published>2020-02-27T17:53:45.367000Z</published><updated>2020-02-27T17:53:45.367000Z</updated><author><name>ais</name><uri>https://forge.codesys.com/u/ais/</uri></author><id>https://forge.codesys.com173d5a1afe5ba3c6b85080ea05bf7c06f5247790</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Visualization:&lt;br/&gt;
Thanks for the explanation.&lt;br/&gt;
Since it is the expected behaviour - I will leave it as it is and use Alt-F4.&lt;br/&gt;
However, if it is the expected behaviour, why is the behaviour not persistent?&lt;br/&gt;
i.e. Why does it not go to full screen after the initial launch or after saving?&lt;/p&gt;
&lt;p&gt;Simulation: &lt;br/&gt;
I think I finally grasp the intention...&lt;br/&gt;
Would it be fair to say that since I am using "CODESYS Control Win V3" I should NOT be trying to use "simulation" - given there is no hardware to "simulate"?&lt;br/&gt;
i.e. Simulation is only relevant if "Device" is based on actual hardware, but no physical hardware has been connected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#bcd9" rel="alternate"/><published>2020-02-27T17:53:42.403000Z</published><updated>2020-02-27T17:53:42.403000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc60afb1497432e9515b1d15e8a5dfe34ec1dbd8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;everything work like expected. (except the exception in the Simulation  which is a bug)&lt;/p&gt;
&lt;p&gt;Some remarks on this.&lt;br/&gt;
If you add the a visualisation by default 'TargetVisu' and 'Webvisu' will be added.&lt;br/&gt;
This is the reason for if you go online to the plc you will get then a fullscreen visu hmi Screen (this is what you expect on a machine for example with touchscreen)&lt;br/&gt;
To prevent this you could simply delete the targetVisu "connector" below the Visumanager after doing this you have only the internal visu in CODESYS (this is what you probably expect)&lt;br/&gt;
Sure you could configure the behavior to have a Windows with scrollbar&lt;br/&gt;
you find these settings in:&lt;br/&gt;
"c:\Program Files (x86)\3S CODESYS\GatewayPLC\targetvisuextern.cfg" &lt;/p&gt;
&lt;p&gt;&lt;span&gt;[ComponentManager]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[CmpTargetVisu]&lt;/span&gt;&lt;br/&gt;
; The Window... settings can be used for displaying the targetvisualization in a window instead of fullscreen&lt;br/&gt;
;WindowType=2&lt;br/&gt;
;WindowPositionX=0&lt;br/&gt;
;WindowPositionY=0&lt;br/&gt;
;WindowSizeWidth=1024&lt;br/&gt;
;WindowSizeHeight=768&lt;br/&gt;
;HideCursorCompletely=1&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[CmpTargetVisu]&lt;/span&gt;&lt;br/&gt;
WindowPositionX=320&lt;br/&gt;
WindowPositionY=272&lt;br/&gt;
WindowSizeWidth=640&lt;br/&gt;
WindowSizeHeight=480&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysFile]&lt;/span&gt;&lt;br/&gt;
PlcLogicPrefix=1&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysWindow]&lt;/span&gt;&lt;br/&gt;
;Windows.CloseOnAltF4=0&lt;br/&gt;
;Windows.CloseOnWM_CLOSE=0&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The only way I can get out of the full screen mode is to via Windows Task Manager (Control+Alt+Delete) and stop the application.&lt;br/&gt;
&lt;strong&gt;Alt-F4 &lt;/strong&gt;Close the Targetvisu Window&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;So you have two choices:&lt;br/&gt;
- either you work with the Control Win and remove TargetVisu in the Device tree in the Project&lt;br/&gt;
- you set  VISU_NO_EXCEPTION_HANDLING as compiler define under Application (rightclick - properties - Build -&amp;gt; compilerdefines)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: default.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1735"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Full Screen Demo Mode Visualization.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/1c5c55ed64/?limit=25#8733" rel="alternate"/><published>2020-02-27T17:53:41.370000Z</published><updated>2020-02-27T17:53:41.370000Z</updated><author><name>ais</name><uri>https://forge.codesys.com/u/ais/</uri></author><id>https://forge.codesys.com84dd4d180b4a87c4c4b2a575b224fc319b4a41c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have written a simple stop start piece of code and added a lamp and 2 pushbuttons as visualization elements.&lt;/p&gt;
&lt;p&gt;To run the application I do the following:&lt;br/&gt;
1. Start the PLC from the systray.&lt;br/&gt;
2. Under "Device" - Scan the network to create a connection.&lt;br/&gt;
3. Login.&lt;/p&gt;
&lt;p&gt;At this point the visualization window displays a message "The online visualization is waiting for a connection. Please start the application."&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Under Debug - Start execution of the application.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Visualization then runs as a separate application and the visualization window the switches to full screen mode (with no available options) and after a while "Demo Mode" is displayed in the top right hand corner.&lt;/p&gt;
&lt;p&gt;The only way I can get out of the full screen mode is to via Windows Task Manager (Control+Alt+Delete) and stop the application.&lt;br/&gt;
When I then restart the application this full screen mode behaviour is not repeated.&lt;br/&gt;
If I save the project at this point, the full screen mode behaviour is not repeated when I reopen the project.&lt;/p&gt;
&lt;p&gt;Any insights on the above?&lt;/p&gt;
&lt;p&gt;One point to mention - I do not select simulation.&lt;br/&gt;
When I have selected simulation - I get a Program Exception Error.&lt;br/&gt;
Can some list a blow by blow account of how to run the code with "simulation" selected please.&lt;/p&gt;
&lt;p&gt;Edit: Using CodeSys V3.5 SP8 Patch 2&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>