Hope someone can help me out. I'm new to CODESYS, but not new to programming PLC's, c++, c# etc.
All I want to do is use a OpenFile dialog to retrieve the path of a text file. I've downloaded the "Visu Dialog ST" example from the CODESYS store, specifically looking at the "IECOpenDialog" application, only to find it has multiple errors. If you look into the source of the errors you find that variables in the code are referencing types/functions/interfaces from the VisuElems library that don't exist in current version (3.5.11.0).
Suspecting that the root cause was that its calling these from a older library and maybe the library members had changed in the most up-to-date library I downloaded the package from the store of all the previous VisElems libraries. Using the Library Repository tool searched for these types/functions/interfaces but again they also don't appear in previous versions of the library?
So what am I missing? If you right click on a variable type such as 'Login_VISU_STRUCT' in this code snippet from "Visu Dialog ST" below and browse to its definition...
VARÂ Â dialogMan:VisuElems.IDialogManager;Â Â Â Â result:VisuElems.Visu_DialogResult;Â Â pLoginInfo:POINTERTOLogin_VISU_STRUCT;Â Â stPassword:STRING;Â Â stUsername:STRING;END_VAR
...and it references an item in a library its definition should be displayed in the Library Manager, right?
In this code snipped from the OpenDialog method of DialogManagerListener the IDE cannot find either reference for pClientData or itfDialog?
VAR_INPUT
  (*ApointertoaVisuStructClientDatastructureidentifyingtheclient, wherethedialogwasopened*)
  pClientData  : POINTERTOVisuElems.VisuStructClientData;
  (*Thedialogwhichwasopened*)
  itfDialog  : VisuElems.IVisualisationDialog;
  (*Ifitwasamodaldialog*)
  bModal  : BOOL;END_VAR
My running version of CODESYS is V3.5 SP11 + (32-bit).
Many Thanks
-Axel.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hope someone can help me out. I'm new to CODESYS, but not new to programming PLC's, c++, c# etc.
All I want to do is use a OpenFile dialog to retrieve the path of a text file. I've downloaded the "Visu Dialog ST" example from the CODESYS store, specifically looking at the "IECOpenDialog" application, only to find it has multiple errors. If you look into the source of the errors you find that variables in the code are referencing types/functions/interfaces from the VisuElems library that don't exist in current version (3.5.11.0).
Suspecting that the root cause was that its calling these from a older library and maybe the library members had changed in the most up-to-date library I downloaded the package from the store of all the previous VisElems libraries. Using the Library Repository tool searched for these types/functions/interfaces but again they also don't appear in previous versions of the library?
So what am I missing? If you right click on a variable type such as 'Login_VISU_STRUCT' in this code snippet from "Visu Dialog ST" below and browse to its definition...
...and it references an item in a library its definition should be displayed in the Library Manager, right?
In this code snipped from the OpenDialog method of DialogManagerListener the IDE cannot find either reference for pClientData or itfDialog?
My running version of CODESYS is V3.5 SP11 + (32-bit).
Many Thanks
-Axel.