Hey, No this is not possible since browsers dont allow javascript to close windows which they have not opened. See https://developer.mozilla.org/en-US/docs/Web/API/Window/close Best regards, Marcel
It will be the same as for example the Softmotion. The latest released version of the addon will be included in the next SP. This addon talk only affects CODESYS V3.5 SP17 or greater.
It will be the same as for example the Softmotion. The latest released version of the addon will be included in the next SP. This addon talk only affects CODESYS V3.5 SP17.
You want to discuss with me with which version the bugfix I created will be released? ;) EDIT: Just wanna make it clear, I am joking!
You want to discuss with me with which version the bugfix I created will be released? ;)
Tag version 3.5.17.0
Update to version 3.5.17.0
Update to version 3.5.17.0
Tag version 3.5.17.0
Have to correct you there. It will be fixed with Visualization 4.1.0.0
Tag version 3.5.17.0
Update to version 3.5.17.0
Tag version 3.5.17.0
Update to version 3.5.17.0
Add initial directories
Initial structure
Could you maybe provide a simplified example application to let me debug the issue?
Hey My bad, I stopped reading the path at PlcLogic/trend. You are sure that you don't write outside of the bounds of e.g. the string? Best regards, Marcel
hey, you cannot simple reuse a sqlite database which the application uses. If you want to do your own queries, create your own sqlite database. Best regards, Marcel
@sedoerr In the example, the custom filter "ClientFilter" is used as itfClientFilter. The "ClientFilter" accepts currently all clients, since "IsAccepted" always returns true You can use the "ClientFilter" from the example, but VisuUtils also provides some predefined filters, see "Globals" inside VisuUtils. Once you defined your filter, check out "VisuClientIteration". In your case I would reset your counter inside "StartIteration" and increase it in HandleClient. Best regards, Marcel
hey @sedoerr, have you checked out the example by Thomas? You can adjust the ClientFilter or use a predefined one from the VisuUtils. Best regards, Marcel
Hey, I am sorry. I did misspoke. I meant to say, use ".Codesys_Logo" to use the image of the application, not library as I did say. Best regards, Marcel
To use your image which is located inside the application, use ".Codesys_Logo" as bitmap id. Best regards, Marcel
To use your image which is located inside the lib, use ".Codesys_Logo" as bitmap id. Best regards, Marcel
To use your image which is located inside the lib, set ~~~ .Codesys_Logo ~~~ as bitmap id. Best regards, Marcel
Hey, Is the whole namespace included in the dynamic bitmap id? Do you think you can attach an example showcasing your problem? Best regards, Marcel
Hey, Try to switch your default text input to touchscreen(see https://help.codesys.com/webapp/_visu_obj_webvisu;product=core_visualization;version=3.5.16.0) Best regards, Marcel
Hey, I think you are looking for QUERYINTERFACE https://help.codesys.com/webapp/_cds_operator_queryinterface;product=codesys;version=3.5.16.0 Dont forget to add EXTENDS __System.IQueryInterface to your interfaces Best regards, Marcel
Hey, Es gibt keine anonymen STRUCTS. Leg eine STRUCT cmd an und eine zusΓ€tzliche STRUCT UpDown. TYPE cmd: STRUCT motion: BOOL; upDown: UpDown; END_STRUCT END_TYPE und dann Type UpDown: STRUCT up: BOOL; down: BOOL; END_STRUCT END_TYPE LG Marcel
Hey, Du kannst in CODESYS ganz normal STRUCTS (sind unter DUT im Englischen) anlegen. https://help.codesys.com/webapp/_cds_datatype_structure;product=codesys;version=3.5.16.0 In deinen Strukturen kannst du natΓΌrlich andere Strukturen verwenden. LG Marcel
Hey, try to update the VisuDialogs and VisuUserMgmt Lib. If this doesnt solve it, please attach a project archive. Best regards, Marcel
Hey, 4.1.0.0 is the lib version You can always simply split the string apart at the # and use the first index. Best regards, Marcel
Hey, The values appended are the exact binary value. With Recipes 4.1.0.0 this value can be skipped from being created with the compiler define RECIPE_GENERATE_SIMPLE_STRINGREAL. Best regards, Marcel
hey @kebek007, so you are using a visualization(drop down list) and a fb is containing all the logic. This is in a lib. I would assume that you then reference this visualization with a frame. Depending on your configuration, a specific element? would then react on a click and would try to open the login dialog. Then you could e.g. add an invisible input to your visualization and react to the click, if the configuration matches. If that is not an option and you call a function in the "Execute ST Code"...
I am sorry but I dont really get what you are trying to do? Why is the input action not good enough? What trigger are you trying to use then? Why do you have to iterate over all clients?
Could you maybe explain why you dont want to use the input actions? Could you please describe what you are trying to do? Best regards, Marcel
Dont use the Keypad/Numpad Dialog inside a frame
Regarding the licensing: The depictor has 3 options: Unlicensed/view mode (You can only view an existing depictor object, but you cannot edit it) Limited (You can add 10 poses/elements) * Unliminit (You can add any amount of poses/elements) Please check that you have the required license installed. Best regards, Marcel
Hey, do you have CurrentVisu checked in the visu manager? Best regards, Marcel
In which library is this FB located? Best regards, Marcel
Visu size is the correct way to do it for a visu. Webvisu Object also has the possibility to set a client size
Please check out the project.
Maybe something like https://forge.codesys.com/u/marci4/wvdetection/wiki/Home/ is what you are looking for
Hey, right now I am not aware of any VisuUtils for that, sorry. I added an improvement for that. Best regards, Marcel
The solution CODESYS followed was to use the common behavior model and do it this way. In general I personally think that if you can get the instance path to a variable, someone will simply read/write to it, because it is a quick solution. Most people are not aware of multi tasking/threading issues. Best regards, Marcel
Again it would be way better for you to reproduce and report the issue.
I have no idea yet. Sorry, but the solution provided by the vendor breaks e.g. zooming on mobile devices.
It is not possible to use the alarm configurtion in a device application. Best regards, Marcel
Starting with SP16 CODESYS (no update of visu profile required), the following viewport gets generated. <meta name="viewport" content="initial-scale=1.0"> Best regards, Marcel
Since it is a pointer, just assign the result of DynamicTextGetTextW to a POINTER OF WSTRING and after that deference it. Best regards, Marcel
VisuUtils is available since 3.5.11.0 but idk which features are available in such an old version. Best regards, Marcel
Try to use VisuUtils whenever it is possible. https://help.codesys.com/webapp/idx-VisuUtils-lib;product=VisuUtils Best regards, Marcel
PROGRAM PLC_PRG VAR changeVisu : VU.FbChangeVisu; xExecute: BOOL; eError: VU.ERROR; xError: BOOL; xBusy : BOOL; xDone: BOOL; itfClientFilter: VU.IVisualizationClientFilter := VU.Globals.AllClients; END_VAR ---- changeVisu(itfClientFilter := itfClientFilter, eError => eError, xExecute := xExecute, xDone=>xDone, xBusy=>xBusy, xError=>xError, sVisuName := 'Screen');
Implement your own IVisualizationClientFilter. Accept will be called with IVisualizationClient, which contains the property CurrentVisuName
GetNextClient will produce a warning starting with SP17. The problem is simple, most of the users access visu data outside of the visu task resulting in possible crashes.
There is a global variable CurrentUserGroupName available. Create a function and call it in the element. Best regards, Marcel
Just try to delete C:\ProgramData\CODESYS\Options\LiveOptions. That should help. Best regards, Marcel
Please use the visu utils and not .BeginIteration()
It would be best if you are able to reproduce the issue and then report it!
You have to use wstrings if you want to display non ASCII characters. Best regards, Marcel
Hello @Thomas@Moba, this is currently not possible. What visualization are you using? Best regards, Marcel
Hey, have you checked the box "Use unicode string" in the visu manager? https://help.codesys.com/webapp/_visu_obj_manager;product=core_visualization;version=3.5.16.0 Best regards, Marcel
The problem is that you are iterating over all clients with your ST Code and log in every client. First of all you should never iterate over all clients with this function outside of the visu task. If you have to iterate, use VisuUtils. Secondly, you can get the current client in the mouse click action. Call a function in your input action and include the argument pClientData. Best regards, Marcel
hello @dgirad, there are a lot of optimizations in place if a modal dialog is opened (e.g. the background visualization gets updated less). If your OEM confirmed the issue, I would expect he raises an issue for CODESYS. The visualizations in VisuUserMgmtDialogs are the exact same visualizations you get by using the stock dialogs. Best regards, Marcel
Hey @tvm, could you attach a project? Thx a lot. Best regards, Marcel
hello @dgirad, there are a few things you can do. Switch to default text input keyboard (see https://help.codesys.com/webapp/_visu_obj_webvisu;product=core_visualization;version=3.5.16.0 section Default text input) In every CODESYS installation a Projects\Visu\Dialogs\VisuDialogs.library. You can edit this library to adjust the dialog to your needs and install it * Report the performance issue with steps to repeat in the store Best regards, Marcel
Hello, you need to add the following section to your runtime CODESYS.cfg [CmpWebServerHandlerV3] AllowFileTransferServices=1 Best regards, Marcel
Hello @rickj, the error is reported when the runtime does not implement a paint command (a paint command is e.g. Draw a rectangle starting at position 0,0 with width/height 300,200). If this warning appears it can happen that the appearance of the visualization (the targetvisu) differs to the configured visualization. No there is no good way to find out whats wrong. Normally the runtime is just not up to date to match the new paint commands. It normally requires actions by the oem. A trick could...
Change to a different style?
Hello, as far as I am aware this is no offical codesys style. You probably extracted the style out of one project archive. Best regards, Marcel
hey no the settings should not effect your OS keyboard. Best regards, Marcel
Hello @julien, you can switch to the OS keyboard by switching the "Input with" in your Webvisu object from touchscreen to keyboard. See https://help.codesys.com/webapp/_visu_obj_webvisu;product=core_visualization;version=3.5.16.0 Best regards, Marcel
Hello @sebasmr, it is not part of the next SP planned for March/April. Best regards, Marcel
Hey, attached you can find a project for CODESYS SP12 Patch 8. Was not able to reproduce it, but could not use the project you provided. Can you check if this issue is also reproducable with the attached project for you? The one thing I see is, that the frame looses the keyboard handling focus after pressing down once. The table on the right can be selected without problems. Best regards, Marcel
Hey, attached you can find a project for CODESYS SP12 Patch 8. Was not able to reproduce it, but could not use the project you provided. Can you check if this issue is also reproducable with the attached project for you? The one thing I see is, that the frame looses the keyboard handling focus after pressing down once. The table on the right can be selected without problems. Best regards, Marcel
Hello everyone, yes the combobox int/array positions itself below if there is enough space, otherwise it will open above. Best regards, Marcel
Ahh ok, now I understand you. You prefer the dynamic approach more ;)
Sorry, I am not doing the planing and priorities..
I don't get it. You want to override project changes during when the runtime is live and the application is running? Then you could prevent changes to the objects with this feature https://help.codesys.com/webapp/_cds_protecting_objects_from_access;product=codesys Best regards, Marcel
Hey, I can say it will not be in SP17. Best regards, Marcel
Hey, this is currently not possible. Best regards, Marcel
hello @tvm, could you still provide the application so that this issue can be fixed? Best regards, Marcel
Yeah looks like. Sorry did not know about the issue
Yes, submit a ticket via the store reporting the issue including Steps to Repeat and affects version. Best regards, Marcel
Hey, no, there are currently no plans in the near future. I noted your request at the respective issue. Could you maybe explain to me what you are trying to do? Best regards, Marcel
Hello @saullipton, internally printf is used for most of the formatting. I did not find any flag to print out the number in the US style. Best regards, Marcel
Hello @saullipton, internally printf is used for most of the formatting. I did not find any way to print out the number in the US style. Best regards, Marcel
Hello @tvm, I think there is the INT Limit of visible cells, but I think I also saw Arrays with a size of DINT. Could you please attach an example project? Thx Best regards, Marcel
Hello @antonnl, no I have not seen or heard of this issue. I think it is the best you report this issue and also include the affects version and when it was as you expected. Best regards, Marcel
Hello @pekkallio, no this is currently not possible. There is however the possibility to move an element by Absolute and Relative Movement. Best regards, Marcel
Hello Rick, as far as I know this issue has not yet been reported. If you think, you found a bug, please report it via the CODESYS Store. Best regards, Marcel
Hey, the Depictor supports the following file formats: COLLADA (.dae) Waverfront (.obj) 3D Studio (.3ds) Polygon File Format(.ply) See https://help.codesys.com/webapp/depictor_editor;product=CODESYS_Depictor;version=1.1.1.0
There is no benefit in doing so. People will then ask which of the one or many versions is the correct one, the latest one, whats the difference between them etc etc. And it will create issues when a user e.g. used the latest version, used e.g. LDATE and then went back and just this version in a project with compiler version 3.5.15.0. There is no good solution for this and saving a file for every possible visu profile and compiler version on disk is not the solution!
The initial version is not relevant. It only affects Check All Pool Objects. Also always using the latest version would stop people from changing stuff, since they may fear they have to update their application to use the same compiler version/visu profile!