# VisuDialogs.FileOpenSave crashing visualization with VisuDialogs 4.3.0.0

**URL:** <https://www.wago.community/t/visudialogs-fileopensave-crashing-visualization-with-visudialogs-4-3-0-0/1409>\
**Category:** CODESYS\
**Tags:** edge-controller, codesys\
**Created:** [December 9, 2024, 4:24pm UTC](https://www.wago.community/t/visudialogs-fileopensave-crashing-visualization-with-visudialogs-4-3-0-0/1409 "2024-12-09T16:24:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![czek](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@czek](https://www.wago.community/u/czek)\
**Post date:** [December 9, 2024, 4:24pm UTC](https://www.wago.community/t/visudialogs-fileopensave-crashing-visualization-with-visudialogs-4-3-0-0/1409/1 "2024-12-09T16:24:45Z")

</div>

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](https://content.helpme-codesys.com/en/libs/VisuDialogs/Current/Visu_FbFileListProvider.html) 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](https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/) 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](https://forge.codesys.com/prj/codesys-example/visu-dialog-st/home/Home/) 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

---

<div class="post-metadata">

**Author:** ![WagoKurt](https://sea2.discourse-cdn.com/flex016/user_avatar/www.wago.community/wagokurt/32/11_2.png) [@WagoKurt](https://www.wago.community/u/WagoKurt)\
**Post date:** [December 9, 2024, 6:23pm UTC](https://www.wago.community/t/visudialogs-fileopensave-crashing-visualization-with-visudialogs-4-3-0-0/1409/2 "2024-12-09T18:23:26Z")

</div>

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

 ![visudialogs](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/9/95c67d054e85a28b6e447ab1adf3414dae913740.jpeg)

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

 ![rcpmgr](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/1/1353d7e9fc26db691fd64dde18ec3293f378435b.jpeg)

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.

 ![rtsconfig](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/e/e612bf4cb21f624a31dfe8526853384e79e06ed1.jpeg)  
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.

 ![rcps](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/4/4c1c165a3d2e4063a3a2744cfe134fe6313feff6.jpeg)

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

 ![buttons](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/5/5c93a601f220c5ea8f87b3460defc79432ad8065.jpeg)  
Save button:  
 ![save](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/0/09d711d16fa291d9fad51f92674ac0e7a44ba998.jpeg)  
Load button:  
 ![load](https://us1.discourse-cdn.com/flex016/uploads/wago/original/2X/d/daef2a372329e85e3c083e5704c8040d849eb26b.jpeg)
