VisuDialogs.FileOpenSave crashing visualization with VisuDialogs 4.3.0.0

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 :uk:: 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

I had to add VisuDialogs in the library manager. Here are the versions that work for me on FW26 with Edge Controller.

More info for others;
To save recipes to /rcp directory, use these settings.

ssh to device and mkdir rcp folder in root (./rcp)
edit permissions for codesys to access this folder by…
nano /etc/codesys3.d/RtsCore.cfg
Then add the line for /rcp.


Reboot the PLC to apply new permissions.

Then create a recipe definition like below called ‘RcpSaved’. This is what will be used to load
the file.

Then create two buttons for save / load. Below are properties for each.


Save button:

Load button:

1 Like