PC SDK problems with FileSystem.PutFile
Hi!
I have a PC SDK application communicating some data through files with a FP SDK application. This is normally working just fine except for some time delays. But once in a while my PC SDK application will stop at the Controller.FileSystem.PutFile command, and it will never move on. I find it strange that I don't get any exceptions or any help with the problem, the application just hangs there.
Does anyone know anything that could help me here? Is there anything I can't do at the same time PutFile copying the file?
/Micael
I have a PC SDK application communicating some data through files with a FP SDK application. This is normally working just fine except for some time delays. But once in a while my PC SDK application will stop at the Controller.FileSystem.PutFile command, and it will never move on. I find it strange that I don't get any exceptions or any help with the problem, the application just hangs there.
Does anyone know anything that could help me here? Is there anything I can't do at the same time PutFile copying the file?
/Micael
0
Comments
-
Some additional info. I believe that my problems occur if my PC SDK application is writing the file (putFile) and then the FP SDK app is trying to check if the file exists during the actual writing. And thats were the PC SDK app get stuck and can't finish writing the file.
Right now it feels like I need to crete an event from my PC SDK app to my FP SDK app without obtaining mastership (file writing is partly to avoid obtaining mastership). But I don't see any obvious way of doing this. Could maybe use RMQ but there would be a lot of code to add just to create the event (setting a rapid variable).
0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings