Search Project: *:*

 
<< < 1 .. 1975 1976 1977 1978 1979 .. 3647 > >> (Page 1977 of 3647)

Home (version 109) discussion co♻e: unittest framework for CODESYS home (Thread)
Home (version 109) discussion
Last updated: 2023-09-27

Home (version 32) discussion NetBaseServices Example home (Thread)
Home (version 32) discussion
Last updated: 2023-09-27

Home (version 21) discussion co♻e: unittest framework for CODESYS home (Thread)
Home (version 21) discussion
Last updated: 2023-09-27

Home (version 7) discussion SuDoKu home (Thread)
Home (version 7) discussion
Last updated: 2023-09-27

CfUnit v1.1.0.0 (version 49) discussion aliazzz wiki (Thread)
CfUnit v1.1.0.0 (version 49) discussion
Last updated: 2023-09-27

Home (version 1) discussion manigoldo3000 wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion joao wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

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

Home (version 7) discussion Visu Demo Overlay home (Thread)
Home (version 7) discussion
Last updated: 2023-09-27

Home (version 1) discussion vashellandia wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion stevensdk wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion trittonac wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion koppit wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion HTML5 home (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion alien wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 5) discussion VisuUserMgmtDialogs home (Thread)
Home (version 5) discussion
Last updated: 2023-09-27

Home (version 1) discussion VisuUserMgmtDialogs home (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

CfUnit v1.1.0.0 (version 40) discussion aliazzz wiki (Thread)
CfUnit v1.1.0.0 (version 40) discussion
Last updated: 2023-09-27

Home (version 1) discussion codesysuser wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion hschloemer wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion stepperiX home (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion bpalacio wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion tebalto wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 1) discussion dagi89 wiki (Thread)
Home (version 1) discussion
Last updated: 2023-09-27

Home (version 9) discussion Notepad++ Structured Text Plugin home (Thread)
Home (version 9) discussion
Last updated: 2023-09-27

<< < 1 .. 1975 1976 1977 1978 1979 .. 3647 > >> (Page 1977 of 3647)

Showing results of 91172

Sort by relevance or date