Upon trying to use the Open Dialog VisuDialogs.FileOpenSave the Visualization would crash upon trying to open the dialog. I isolated this issue to the initialization of the Visu_fbFileListProvider object (Initialize method). When I set the bBrowseDirectory to False I was able to launch the dialog without crashing but the dialog did not properly display the files in the directory specified.
I tried changing the file permissions by adding the following lines to /etc/codesys3.d/CODESYSControl_User.cfg as mentioned in CODESYS Forge - CODESYS Forge / Talk / Engineering : SysFileOpen not working but that did not change the result.
[SysFile]
ForceIecFilePath=0
I was able to solve this by exporting VisuDialogs 3.5.16.20 from E!Cockpit and importing into Codesys, then creating a placeholder in the Library Manager for the older version.
Are there any examples of using the VisuDialogs.FileOpenSave with version 4.3.0.0? I was not able to find the changelogs for the library either. The only example I could find (Visu Dialog ST example) uses an older version of VisuDialogs.
Configuration:
CODESYS V3.5 SP19 Patch 7
WAGO Edge Controller 752-8303/8000-0002 FW27
VisuDialogs 4.3.0.0 → 3.5.16.20