Read elements from textlist for projects without Visualization Manager
CODESYS Forge
talk
(Thread)
Read elements from textlist for projects without Visualization Manager
Last updated: 2019-04-24
Webvisu UI elements display exceptions. Can you help me?
CODESYS Forge
talk
(Thread)
Webvisu UI elements display exceptions. Can you help me?
Last updated: 2019-09-05
[Error] Visualization elements disappearing when icons included
CODESYS Forge
talk
(Thread)
[Error] Visualization elements disappearing when icons included
Last updated: 2016-08-18
Creating reusable visualization elements / Frame configuration / VisuElement Toolkit
CODESYS Forge
talk
(Thread)
Creating reusable visualization elements / Frame configuration / VisuElement Toolkit
Last updated: 2023-08-16
How to use struct elements via index?
CODESYS Forge
talk
(Thread)
How to use struct elements via index?
Last updated: 2020-06-23
How to hide elements in the editor
CODESYS Forge
talk
(Thread)
How to hide elements in the editor
Last updated: 2023-07-03
Find how many elements filled inside an array
CODESYS Forge
talk
(Thread)
Find how many elements filled inside an array
Last updated: 2023-01-10
Version 2.5 SP18 -> Visualisation Elements missing Input Configuration Options
CODESYS Forge
talk
(Thread)
Version 2.5 SP18 -> Visualisation Elements missing Input Configuration Options
Last updated: 2024-09-12
Post by manuknecht on Opening a Dialog on a specific Client from ST
CODESYS Forge
talk
(Post)
I managed to find a solution that seems to work reliably. As the VU.Globals.CurrentClient-filter accesses the CURRENTCLIENTID or at least a similar, internal variable it can only be used if called from a certain client (e.g. from a button in a visualization). My solution works by implementing a new client filter that compares the client ID of all clients to the ID of the last client that was used. The variable containing the data of the last client is defined as: G_LastClient : VU.IVisualizationClient; // Copy of last client that detected click This last client is then updated every time a button is pressed using the Execute ST-Code input configuration of the button: G_LastClient := VU.PublicVariables.Clients.Current; Next, I created a function block that implements the client filter interface as so: FUNCTION_BLOCK FB_LastClientFilter IMPLEMENTS VU.IVisualizationClientFilter VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR END_VAR Then i added a method to the FB called IsAccepted which is used to filter out the client. When creating the method, it should automatically be filled with the according variable declaration, as it is defined in the interface: (* For every client can be desided, if it is accepted. ``TRUE``: Client is accepted*) METHOD IsAccepted : BOOL VAR_INPUT (* The client, to check*) itfClient : VU.IVisualizationClient; END_VAR Now the client can be compared to the last used client as such: // check if clientID corresponds to clientID of last recorderd client IF itfCLient.ClientId = G_LastClient.ClientId THEN IsAccepted := TRUE; ELSE IsAccepted := FALSE; END_IF To make use of this custom client filter, initialize a variable with the client filter: LastClient : FB_LastClientFilter; // Client filter to find last used client Then use this client filter when opening or closing a dialog from ST: fbOpenMyDialog(itfClientFilter:=LastClient,xExecute:=TRUE,sDialogName:='VIS_MyDialog_DLG');
Last updated: 2023-09-27
Codesys versioning support
CODESYS Forge
talk
(Thread)
Codesys versioning support
Last updated: 2019-11-12
Webserver with SSL support
CODESYS Forge
talk
(Thread)
Webserver with SSL support
Last updated: 2021-12-31
A+ support
CODESYS Forge
talk
(Thread)
A+ support
Last updated: 2015-12-13
MQTT Support
CODESYS Forge
talk
(Thread)
MQTT Support
Last updated: 2019-09-18
Vista support
CODESYS Forge
talk
(Thread)
Vista support
Last updated: 2008-03-18
Raspbian 64-Bit Support
CODESYS Forge
talk
(Thread)
Raspbian 64-Bit Support
Last updated: 2021-11-10
Webserver with mTLS support?
CODESYS Forge
talk
(Thread)
Webserver with mTLS support?
Last updated: 2023-02-13
GIT support
CODESYS Forge
talk
(Thread)
GIT support
Last updated: 2021-07-13
Codesys multicore support
CODESYS Forge
talk
(Thread)
Codesys multicore support
Last updated: 2010-09-20
RTE command line support
CODESYS Forge
talk
(Thread)
RTE command line support
Last updated: 2023-03-29
Raspberry Pi Zero support
CODESYS Forge
talk
(Thread)
Raspberry Pi Zero support
Last updated: 2017-06-28
Servos don't support SoftMotion
CODESYS Forge
talk
(Thread)
Servos don't support SoftMotion
Last updated: 2012-10-03
berghof-support:
CODESYS Forge
talk
(Thread)
berghof-support:
Last updated: 2023-08-08
Helfende Hand / Support
CODESYS Forge
talk
(Thread)
Helfende Hand / Support
Last updated: 2016-04-05
G68 support
CODESYS Forge
talk
(Thread)
G68 support
Last updated: 2018-06-13
RTAI support
CODESYS Forge
talk
(Thread)
RTAI support
Last updated: 2008-02-18
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.