VIS-4086 VisuDemoOverlay: Example in Forge incomplete | Create new projectarchive with HTML5 controls
Hi, do you use Zoom in the browser? If you don't want to, you can try to reset it and delete the cookies. It should work after a restart of the browser.
Hi, do you have a project for reproducing the problem? Regards Julian
Hi, maybe the OnValueChanged event is helpful for this kind of application. I think that you can implement a global event listener and pass the current client or the current user and so on. Regards Julian
Hi, you're welcome :) I can ask a collegue on monday, because I couldn't find anything for this in the code. Normally, the width depends on the element's scrollbar settings or it is a fixed default width. The Table element for example contains a property "Scroll bar size". Regards Julian
Hi, as mentioned in the other post, an overview over the style entries is coming soon. Yes, it is depending on the "Style" property. Because depending on the style different elements are used for a scrollbar button for example. In Basic Style it is a button, in flat style it is a Rectangle, so the respective style entries apply. So yes, the flat style is the most editable one. Colors used in flat style (only!): Element-Scrollbar-ButtonColor Element-Scrollbar-ScrollAreaColor Element-Scrollbar-BackgroundClickColor...
Hi surikan, Currently, there is not much information about the style entries available. But we're working on creating a documentation for this. I don't know of an exact date but I could imagine that it will be online in the next few months.
Hello, I've looked into the project, it is fine. But there is indeed a problem with Codesys 3.5.18.30 and Visualization Addon 4.1.0.0. It occured because some changes in the property view have been patched into SP18 Patch 3 and the visualization Addon needed some adaptions (=> Visualization 4.1.1.0). It affects Codesys >=3.5.18.30 with Visualization Addon 4.1.0.0. The problem is fixed with one of the newer Visualization versions >= 4.1.1.0. Then it will work with Codesys 3.5.18.30 again. The other...
Hi carohe, I'm glad it helped you. Currently there is no other way with these style entries. As a workaround you could put 2 rectangles into a group and the inner rectangle contains the text and the alignment and is a bit smaller than the outer one. Then the line break would occur not exactly on the right edge. I will create an improvement in our system for this. And I found some more documentation regarding this topic: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_aligning_text_with_spacing_to_the_element_frame.html...
Hi together, I was missing some information. The padding-Feature will only work if: the element has "Text properties" "Horizontal alignment" and "Vertical alignment" Horizontal Text alignment is not centered or Vertical Text alignment is not centered It could work for each element if you place the additional styles under it, but I'm not sure about this. If you use it like in the attached style, then it will be applied to all elements I guess.
Hi together, I was missing some information. The padding-Feature will only work if: the element has "Text properties" "Horizontal alignment" and "Vertical alignment" Horizontal Text alignment is not centered or * Vertical Text alignment is not centered It could work for each element if you place the additional styles under it, but I'm not sure about this. If you use it like in the attached style, then it will be applied to all elements I guess.
Hi, Yes, you can use the style editor (Copy derived style) or edit the XML file directly and reinstall it into the repository (Tools-> Visu Style Repository). More information is here: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_edit_style_in_the_style_editor.html And I forgot, for the style entries to work, you'll need the Visualization Addon in version 4.2.0.0 or higher. Regards, Julian
Hi @carohe, do you have a example project where this fails? Regards, Julian
Hi carohe, The only possibility to do this, is to create your own style with the following entries: <AdditionalStyles> <Value type="dint" name="Text-Margin-Horizontal">2</Value> <Value type="dint" name="Text-Margin-Vertical">2</Value> </AdditionalStyles> Regards, Julian
- Update Project to work with SP17
- Add all elements into one archive
VIS-2234 Update Forge examples after release of Visu 4.3.0.0 | Remove top level folder from image element
- Update Demo image element to work with Visualization 4.3.0.0 (CDSWebvisuAccess APIs have changed)
- Tag and zip HTML5 demo elements for 4.2.0.0
- Create 4.2.0.0 tags directory
Hi, this sounds like a strange issue, because the webvisu should work with every client. Do you have any idea what the differences are between the web clients? Some configuration? Is this a reproducible problem? Is it possible for the one individual with the access problems to take a look at the browser console log (F12 β Console)? And would it be possible for the individual to get a call stack of a possible Java script exception (F12 β Sources β Check 'Pause on caught exceptions')? Best regards,...
Hi, Have you tried to use the placeholder although it doesn't appear on Intellisense? For example as TextVariable: PLC_PRG.aData[$FIRSTDIM$, $SECONDDIM$] Regards, Julian
Hi, With the Targetvisu on Linux there is currently no way to do this. On Windows, you could close the Targetvisu window directly after it has appeared and then open it again with this instruction: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_execute_targetvisu.html A second way on windows would be to use the Remote Targetvisu, which was the original solution for your problem => https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_execute_remote_target_visu.html...
Hi, see https://forge.codesys.com/forge/talk/Visualization/thread/b7acbe991e/ Solution: Use a variable in Relative Movement of the specific element. Regards, Julian
The SVG images does not scale smoothly in the editor Yes, this is correct. This was just intended as a simple preview of the element. Can I copy the complete SVG into the .html5control or access it externally? All additional files that should be transferred to the PLC need to be added to the AdditionalFiles section in the HTML5 control editor. Is the image selector in the HTML Editor just an Icon image and not and SVG available dynamically? The image in the HTML Editor is just used as icon in the...
Hi @matthew, @ignat, I'm from the visualization department and want to explain to you the functional principle of HTML5 controls. First it is important to know that all of these example HTML5 controls are expecting certain data types. The concrete type depends on the implementation of the control, often described in ElementWrapper.js. In the ElementWrapper.js, the type of data can be retrieved by using functions from window.CDSWebVisuAccess (in PlcLogic/visu/webvisu-support.js). Each property in...
Deleted former tag because it was incorrect
Tag version 4.2.0.0
Update to version 4.2.0.0
Tag version 4.2.0.0
Tag version 4.2.0.0
Add initial directories
Tag version 4.2.0.0
Tag version 4.2.0.0
Update to version 4.2.0.0
Update to version 4.2.0.0
Remove temporary file
t
test